cfinke / Typo.js

A client-side JavaScript spellchecker that uses Hunspell-style dictionaries.
Other
501 stars 110 forks source link

German affixes not read correctly for "Stärke" #15

Open dbolton opened 13 years ago

dbolton commented 13 years ago
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

trych commented 8 years ago

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!

DavidSichau commented 8 years ago

With the dictionary from:

https://github.com/wooorm/dictionaries/tree/master/dictionaries

I do not see this error.