Open galaxnet opened 3 years ago
Research on this shows that a spell checker is the best way to deal such issues. I try not to have any external dependencies for LW besides python itself.
The only other approach I can think of is detection of attempts to pluralize via >s
but that has major implications for the text processing code. It would probably have to be rewritten altogether to work.
I'll continue to chew on this and see if I come up with a viable solution that doesn't entail a huge rewrite.
For versatility, many vocabs have singular nouns as entries and are pluralized in the main template through the addition of an "s". This leads to issues in pluralization like "patchs" instead of "patches". Please add a solution to correct these, other than replacements.txt which might work but could be cumbersome.