Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

accent encoding / expected charcodes are wrong #2

Open
drzraf opened this issue Apr 28, 2017 · 0 comments
Open

accent encoding / expected charcodes are wrong #2

drzraf opened this issue Apr 28, 2017 · 0 comments

Comments

@drzraf
Copy link

drzraf commented Apr 28, 2017

Most character are using the "\uXXXX" notation, but the values for XXXX are taken from the ISO version of the snowball files.
The FrenchStemmer r_un_accent function endup using things like:
if (!sbp.e_s_b(1, "\u00E9"))
instead if
if (!sbp.e_s_b(1, "\uC3A9"))

That's an issue for program like https://github.com/MihaiValentin/lunr-languages which intend to use this stemmer for client-side full-text search purposes.

@drzraf drzraf changed the title accent are wrong accent encoding / expected charcodes are wrong Apr 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant