greyblake / whatlang-rs

Natural language detection library for Rust. Try demo online: https://whatlang.org/
https://whatlang.org/
MIT License
969 stars 109 forks source link

Add support for Latin #49

Closed xrmx closed 4 years ago

xrmx commented 4 years ago

Example test taken from Cicero: https://www.thelatinlibrary.com/cicero/sex.rosc.shtml

greyblake commented 4 years ago

Thanks! Will try to review this week (sorry, overloaded with regular work). Apart from that: where did you get the trigram profile from?

xrmx commented 4 years ago

I got the trigrams from Franc and generated the rest with the ruby script. Thanks!

greyblake commented 4 years ago

@xrmx Thanks for the PR! Out of curiosity: what a use case do you have for Latin?

xrmx commented 4 years ago

@greyblake use case is to recognize latin exercises from italian ones for a digital latin course, not common i guess :)

xrmx commented 4 years ago

BTW a release would be appreciated as we are probably going to revive the python bindings :)

greyblake commented 4 years ago

@xrmx Sorry, I've missed your message somehow. I just released 0.7.4. Thanks again!