greyblake / whatlang-rs

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

Make Alphabet Score calculation generic over Script #111

Closed greyblake closed 1 year ago

greyblake commented 2 years ago

Make the alphabet score calculation implemented in https://github.com/greyblake/whatlang-rs/pull/108 generic and reuse same implementation for Cyrillic. Ensure there is sufficient unit test coverage first.

greyblake commented 1 year ago

Was addressed a while ago in https://github.com/greyblake/whatlang-rs/pull/116