Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Differnets in word count between Moodle backend and plugin #10

Open
AviMoto opened this issue Feb 15, 2022 · 0 comments
Open

Differnets in word count between Moodle backend and plugin #10

AviMoto opened this issue Feb 15, 2022 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@AviMoto
Copy link
Contributor

AviMoto commented Feb 15, 2022

Issue Description:

Use the exmaple text below as answer to essay questoin:

<h1>מילת ספירה</h1>
<div></div>
<div>
    <div></div>
    <div></div>
    <div lang="he" dir="rtl" xml:lang="he">
        <div>
            <table>
                <tbody>
                <tr>
                    <td><a href="https://he.wikipedia.org/wiki/%D7%A7%D7%95%D7%91%D7%A5:Unicode4E2A.svg"
                           title="סינית מפושטת"><img alt="סינית מפושטת"
                                                     src="https://upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Unicode4E2A.svg/160px-Unicode4E2A.svg.png"
                                                     width="160" height="151"></a></td>
                    <td><a href="https://he.wikipedia.org/wiki/%D7%A7%D7%95%D7%91%D7%A5:Unicode500B.svg"
                           title="סינית מסורתית"><img alt="סינית מסורתית"
                                                      src="https://upload.wikimedia.org/wikipedia/commons/thumb/7/73/Unicode500B.svg/140px-Unicode500B.svg.png"
                                                      width="140" height="140"></a></td>
                </tr>
                <tr>
                    <td colspan="2">מילת הספירה הכללית 'gè'. ב<a
                            href="https://he.wikipedia.org/wiki/%D7%9E%D7%A0%D7%93%D7%A8%D7%99%D7%A0%D7%99%D7%AA"
                            title="מנדרינית">מנדרינית</a>, בכתב מפושט ובכתב מסורתי.
                    </td>
                </tr>
                </tbody>
            </table>
            <p><span><strong>מילות ספי</strong>רה</span>&nbsp;(<a
                    href="https://he.wikipedia.org/wiki/%D7%A1%D7%99%D7%A0%D7%99%D7%AA_%D7%9E%D7%A1%D7%95%D7%A8%D7%AA%D7%99%D7%AA"
                    title="סינית מסורתית">סינית מסורתית</a>&nbsp;- 量詞,&nbsp;<a
                    href="https://he.wikipedia.org/wiki/%D7%A1%D7%99%D7%A0%D7%99%D7%AA_%D7%9E%D7%A4%D7%95%D7%A9%D7%98%D7%AA"
                    title="סינית מפושטת">סינית מפושטת</a>&nbsp;- 量词, תעתיק&nbsp;<a
                    href="https://he.wikipedia.org/wiki/%D7%A4%D7%99%D7%9F-%D7%99%D7%99%D7%9F"
                    title="פין-יין">פין-יין</a>&nbsp;-
                liàngcí) הן מילים מיוחדות ב<a
                        href="https://he.wikipedia.org/wiki/%D7%A9%D7%A4%D7%95%D7%AA_%D7%A1%D7%99%D7%A0%D7%99%D7%95%D7%AA"
                        title="שפות סיניות">שפות הסיניות</a>&nbsp;הבאות לפני&nbsp;<a
                        href="https://he.wikipedia.org/wiki/%D7%A9%D7%9D_%D7%A2%D7%A6%D7%9D" title="שם עצם">שם
                    עצם</a>&nbsp;במשפט ומשמשות כמגדיר (דטרמינטור) להשתייכותו של שם העצם לקטגורית עצמים מסוימת
                ולכמותו. מילות הספירה התפתחו מיחידות מידה שונות ושמות עצם כלליים ב<a
                        href="https://he.wikipedia.org/wiki/%D7%A1%D7%99%D7%A0%D7%99%D7%AA_%D7%A7%D7%9C%D7%90%D7%A1%D7%99%D7%AA"
                        title="סינית קלאסית">סינית הקלאסית</a>&nbsp;העתיקה, ומשמעותן כיום היא לספירה כמותית של עצמים
                (כמו יחידות&nbsp;<a href="https://he.wikipedia.org/wiki/%D7%9E%D7%98%D7%A8" title="מטר">מטריות</a>&nbsp;לספירת
                מידות), כשלכל קט<strong>גור</strong>יית עצמים מסוימת - מילת ספירה לעצמה. כך למשל במשפט 三把椅子 (שלושה
                כיסאות) המילה 把 (שמשמעותה המקורית היא 'ידית') משמשת כמילת ספירה לקטגוריית העצמים בעלי ידית (אליה
                משתייכים גם כיסאות). לכן תרגום של כל&nbsp;<a
                        href="https://he.wikipedia.org/wiki/%D7%9E%D7%95%D7%A8%D7%A4%D7%9E%D7%94"
                        title="מורפמה">מורפמה</a>&nbsp;כשלעצמה
                (אך לא תרגום מילולי) יהיה 'שלוש ידיות - כיסאות'. מאחר שכללי הדקדוק הסיני דורשים התייחסות כמותית גם
                לעצם יחיד (השוה a chair ב<a
                        href="https://he.wikipedia.org/wiki/%D7%90%D7%A0%D7%92%D7%9C%D7%99%D7%AA"
                        title="אנגלית">אנגלית</a>)
                הרי שמילות ספירה לעצם - יחיד יכולות להחשב אף כצורה מסוימת של&nbsp;<a
                        href="https://he.wikipedia.org/wiki/%D7%99%D7%99%D7%93%D7%95%D7%A2" title="יידוע">יידוע</a>.<br>לעצמים
                שאינם משתייכים דקדוקית לאף אחת מקטגוריות מילות הספירה משמשת מילת הספירה הכללית 个 (בכתב מסורתי - 個)
                הנהגית כ-'גִה' ב<a
                        href="https://he.wikipedia.org/wiki/%D7%9E%D7%A0%D7%93%D7%A8%D7%99%D7%A0%D7%99%D7%AA_%D7%AA%D7%A7%D7%A0%D7%99%D7%AA"
                        title="מנדרינית תקנית">מנדרינית</a>. בנוסף, יכולה מילת ספירה זו לשמש במקומה של כל מילת ספירה
                אחרת, אך במקרים מסוימים הפיכה מסוג זה אינה מקובלת תרבותית.</p></div>
    </div>
</div>
<p></p>

will show count of 184 words , while in the backend the calc will show 185

@AviMoto AviMoto self-assigned this Feb 15, 2022
@AviMoto AviMoto added the bug Something isn't working label Feb 15, 2022
@AviMoto AviMoto added this to the 1.1.1 milestone Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant