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

"Лол" break LanguageDetector #53

Open
guo-yong-zhi opened this issue Aug 16, 2023 · 0 comments
Open

"Лол" break LanguageDetector #53

guo-yong-zhi opened this issue Aug 16, 2023 · 0 comments

Comments

@guo-yong-zhi
Copy link

import Languages: LanguageDetector
detector = LanguageDetector()
detector("Лол")

MethodError: no method matching from_code(::Nothing)
Closest candidates are:
from_code(!Matched::String)
@ Languages MYHOME.julia\packages\Languages\k5Bqf\src\types.jl:183
Stacktrace:
[1] (::LanguageDetector)(text::String, options::Languages.LangDetectOptions)
@ Languages [MYHOME.julia\packages\Languages\k5Bqf\src\whatlang.jl:349]
[2] (::LanguageDetector)(text::String)
@ Languages [MYHOME.julia\packages\Languages\k5Bqf\src\whatlang.jl:345]
[3] top-level scope
@ [...]

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