Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-52567

count_words() counts a word containg a quotation mark as two words

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. As a teacher, add a new assignment with Online submission.
      2. As a student, type in a few words and add some arbitrary quotation marks to some of them. (Example: 'A syllabic abbreviation is an abbreviation formed from (usually) initial syllab"les of sever"al words.'), to try to emulate Hebrew word abbreviations.
      3. As a teacher view the submission word count and make sure the the words with quotation marks are not counted as two separate words.
      Show
      As a teacher, add a new assignment with Online submission. As a student, type in a few words and add some arbitrary quotation marks to some of them. (Example: 'A syllabic abbreviation is an abbreviation formed from (usually) initial syllab"les of sever"al words.'), to try to emulate Hebrew word abbreviations. As a teacher view the submission word count and make sure the the words with quotation marks are not counted as two separate words.
    • Affected Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-52567_master

      Description

      Hi,

      We're using Moodle Moodle 2.9.1+ (Build: 20150716) and we've noticed that the word count mechanism in Assignments (haven't checked other components with word count) counts words that have a quotation mark inside the word (i.e. shai"sh) as 2 words instead of one.

      In Hewbrew, we use quotation marks for abbreviating phrases. For example. instead of writing thw word school (which is two words in Hebrew) we would normally write a "shortcut" of the two words (i.e.: ביה"ס). I have no idea if other languages have something like that but for Hebrew speakers this is important...

      Thanks,

      Shai

        Attachments

        1. test.php
          0.2 kB
          Mark Nelson

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/Mar/16