We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've found that lang := whatlanggo.Detect("wondering if this works").Lang fmt.Println(whatlanggo.LangToString(lang))
lang := whatlanggo.Detect("wondering if this works").Lang fmt.Println(whatlanggo.LangToString(lang))
prints "eng" about 75% of the time but it prints "nld" 25% of the time.
Maybe the randomness is introduced by using maps since in go, map keys are randomized.
The text was updated successfully, but these errors were encountered:
Generate trigrams with a consistent ordering
e7b4e92
This fixes abadojack/whatlanggo/abadojack#9
No branches or pull requests
I've found that
lang := whatlanggo.Detect("wondering if this works").Lang fmt.Println(whatlanggo.LangToString(lang))
prints "eng" about 75% of the time
but it prints "nld" 25% of the time.
Maybe the randomness is introduced by using maps since in go, map keys are randomized.
The text was updated successfully, but these errors were encountered: