-
Notifications
You must be signed in to change notification settings - Fork 25
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
How to use your library? #4
Comments
How to detect unsupported languages text as unknown, not to another language. |
I don't understand the problem from the description. If your code works correctly, then |
@mohammad-khoddami , you can assess how confident NTextCat is with the language tag. var factory = new RankedLanguageIdentifierFactory();
var identifier = factory.Load("Core14.profile.xml");
var languages = identifier.Identify("some text");
var mostCertainLanguage = languages.FirstOrDefault();
var languageCode = mostCertainLanguage.Item1.Iso639_3;
var confidenceLevel = mostCertainLanguage.Item2; |
How is the confidence level measured? But I get values like 3924.144 for text in Czech which is incorrectly detected as English
or 3928.28 for text in Bulgarian which is incorrectly detected as Russian
I suppose the models are not too accurate? I've tried with One thing I've noticed is that the detected language ISO code is not correct. With |
I suppose this library is abandoned. Any luck @andreyka26-git ? |
Could you give a small example of using your library?
win 7x64
vs - 2017
Installed "ntextcat" through "nuget"
I need to determine the language of the text that is entered in "textBox2.Text".
Result output in "textBox1.Text"
It is supposed to enter the text: European languages, languages with hieroglyphs (Chinese, Japanese) and others
Found sample code.
I get a string error
var identifier = factory.Load("NTextCat 0.2.1.1\\LanguageModels\\Core14.profile.xml");
cod
How to solve the problem?
The text was updated successfully, but these errors were encountered: