Uh oh!
There was an error while loading. Please reload this page.
Dict: More words - #1688
Conversation
sebweb3r
commented
Sep 23, 2020
@lurch see. it is strange. |
sebweb3r
commented
Sep 23, 2020
@peternewman The words are in aspell [1] but not shown if you look for US [2] while other words are found. Jenkins doesn't like it too. [1] http://app.aspell.net/lookup?dict=en_GB-ise&words=program%0D%0Aprogramme%0D%0Aprogrammes |
peternewman
commented
Sep 23, 2020
That's because my naive dictionary implementation only uses one dictionary (in this case en_US), which it seems some GB words (like colour) are in, but not others. The fix will be to have two aspell instances and use the appropriate one for each dictionary, which probably means tracking what language it's in. That would also be problematic for typos for GB words when we start getting stricter about them being in the dictionary. Or the large one might fix it. 🤞 |
sebweb3r
commented
Sep 23, 2020
Ok, that sound like a stupid implementation in aspell. To cite the description of aspell-en in debian "American, British, Canadian and Australian spellings are included." :-D |
This reverts commit 7d135b6.
peternewman
commented
Sep 23, 2020
Or it might be my usage of it, perhaps we can/need to pass in multiple languages at once. |
Uh oh!
There was an error while loading. Please reload this page.
sebweb3r
commented
Sep 23, 2020
I added #1690 to simply add enGB-ise to the tests. |
lurch
commented
Sep 23, 2020
The way the aspell lookup works seems a bit weird... http://app.aspell.net/lookup?dict=en_US&words=program%0D%0Aprogramme%0D%0Acolor%0D%0Acolour says that http://app.aspell.net/lookup?dict=en_GB-ise&words=program%0D%0Aprogramme%0D%0Acolor%0D%0Acolour says that |
No description provided.