Typo.js
Typo.js copied to clipboard
German affixes not read correctly for "Stärke"
var dictionary = new Typo("de_DE", affData, dicData);
var is_spelled_correctly = dictionary.check("Stärke") //should be true, but returns false
// (The word "Stärke" is actually the root word found in the dictionary file )
I used the German dictionary and affix files listed on the OpenOffice.org website. You can obtain the files directly from: http://extensions.services.openoffice.org/project/dict-de_DE_frami
The dictionary line reads: Stärke/m
I have the same issue. First I thought it might be an encoding issue, but I tried a few alternatives, none of them worked. Does anybody know, how to get this to work? Would be great!
With the dictionary from:
https://github.com/wooorm/dictionaries/tree/master/dictionaries
I do not see this error.