Closed dbolton closed 13 years ago
var dictionary = new Typo("la", affData, dicData); var is_spelled_correctly = dictionary.check("fideles") //should be true, but returns false // (The word "fideles" is the plural form of "fidelis")
I used the Latin dictionary and affix files provided by OpenOffice.org http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/la-pack.zip
In case it is helpful, below is the fragment of Latin that I was proofing. All the words pass spell check in Thunderbird using https://addons.mozilla.org/en-US/thunderbird/addon/latin-dictionary/
"1. Adeste, fideles, Laeti triumphantes
Defect confirmed; looks like the Latin affix file uses a slightly different format than the English affix file I based the parser on.
Fixed in commit f56e2b1e1c4294318d4f62f6186842b1540dc34e.
I used the Latin dictionary and affix files provided by OpenOffice.org http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/la-pack.zip
In case it is helpful, below is the fragment of Latin that I was proofing. All the words pass spell check in Thunderbird using https://addons.mozilla.org/en-US/thunderbird/addon/latin-dictionary/
"1. Adeste, fideles, Laeti triumphantes