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

Non-ASCII symbol causes error #10

Open
trinker opened this issue Jun 14, 2018 · 0 comments
Open

Non-ASCII symbol causes error #10

trinker opened this issue Jun 14, 2018 · 0 comments

Comments

@trinker
Copy link
Owner

trinker commented Jun 14, 2018

A copy from an email from Florian.Schwendinger@wu.ac.at

I was trying your hunspell package and i recognized,
that if there is a EURO symbol in the text
make_lemma_dictionary gives an error.

make_lemma_dictionary("some text with € symbol", 
                      engine = "hunspell", lang = "de_AT")
## Error in R_hunspell_stem(dictionary, words) : 
##   basic_string::_M_construct null not valid

I found the same behavior for

c("€", "…", "“", "„")

I am not sure if this is the intended behavior,
but if not it would be maybe the easiest if
you run intToUtf8 for some reasonable sequence
and exclude all the symbols which cause trouble.

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