ivanakcheurov / ntextcat

MIT License
100 stars 24 forks source link

its appear to not recognize hebrew right #16

Open oshere1111 opened 3 years ago

oshere1111 commented 3 years ago

so i used your package here and i copy-pasted your code and added the xml and the txt and lm files from those folders into my app and its appears to recognize hebrew as danish for some reason you can try this to check it yourself: var languages = identifier.Identify("קדימה"); and when i checked xml hebrew is apparent there

coultonluke commented 2 years ago

In my experience of using the library, it works better with more text than you are putting in there. I realise that's not an ideal answer to the question as it should probably be improved, but even single words in English don't necessarily work in my experience using the library today, however it seems pretty accurate with more text.