cfinke / Typo.js

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

Spanish affixes not read correctly for "Heme" #16

Open dbolton opened 13 years ago

dbolton commented 13 years ago
var dictionary = new Typo("es_MX", affData, dicData);
var is_spelled_correctly = dictionary.check(Heme") //should be true, but returns false
// (The word "Heme" is a form of the word haber: see http://www.wordreference.com/es/en/translation.asp?spen=he "~me aquí here I am"  )

I used the Mexican Spanish dictionary and affix files listed on the OpenOffice.org website. You can obtain the files directly from: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/es_MX.zip

The dictionary line reads: haber/ÃÇDSÀÂÁÆÄÅ

dbolton commented 13 years ago

Similar problem with the word "mándanos" See http://www.wordreference.com/es/en/translation.asp?spen=m%C3%A1ndanos