Improved orthographic rules for suffixes
More sophisticated spelling rules are needed for when to delete vowels at the ends of words, when to double consonants at the ends of words, and when to change "y" to "i", before adding suffixes. It's not yet certain whether a set of reliable rules exist to determine this or whether it will require checking against an exhaustive whitelist of acceptable inflected forms. For example, Plover needs to know that adding "ed" to "deter" will result in "deterred", but adding "ed" to "meter" will result in "metered".
As an intermediate step to either hard-coding more reliable spelling rules or instituting a whitelist of correct spellings, a spelling stopgap stroke could be created, which copies the last translated stroke into a misspelling log (for later uploading to devs working on the orthography problem) and then retranslates the previous stroke without spelling rules applied. E.g., if "meterred" appears, user could invoke the stopgap command, which would retranslate it simply as root stroke + suffix, without invoking the consonant doubling rule.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Some examples of recent spelling errors made by Plover:
Lack of vowel deletion:
generalizeability.
reproduceible
gradeations
urineary
achieveable
polarizeation
doneor
analyzeed
narrateing
believeable
animateors
discontinueuation
innovateive
futureists
illustrateor
emergeent
Lack of Y to I:
metallurgyist
lonelyness
Lack of c + to ly -> cally
artisticly
cosmeticly
Incorrect doubling of consonants before suffix:
alterred
interpretting
wonderring
targetting
limitter
maneuverring
monitorring
colorring
fixxed
inhibitting
masterred
alterred
Lack of consonant doubling before suffix:
crapy (should be crappy)
penies (should be pennies)
Lack of -es when adding -s suffix
establishs