Yomguithereal / talisman

Straightforward fuzzy matching, information retrieval and NLP building blocks for JavaScript.
https://yomguithereal.github.io/talisman/
MIT License
704 stars 47 forks source link

phonetics/french/sonnex: fix -us case #144 #167

Closed tuzepoito closed 4 years ago

tuzepoito commented 4 years ago

Fix proposal for issue #144

Yomguithereal commented 4 years ago

Hello @tuzepoito. Looks good to me. Ready to merge and release after you add the comment. Also, note that if you need a way better phonetic algorithm for French I designed one here. It's all undocumented though.

tuzepoito commented 4 years ago

Thanks for merging @Yomguithereal . I think a good phonetics algorithm for the French language would be welcome, while the Soundex algorithms for French appear quite old. Sonnex seemed to be a step in the good direction, but it still needed improvement and it appears to be abandoned by its author. I'll take a look to your project.

Yomguithereal commented 4 years ago

@tuzepoito you can test my algorithm online here if you need: https://yomguithereal.github.io/phonogram/

Just know that only the French & Spanish version are somewhat usable.