Whatlang Rs Versions Save

Natural language detection library for Rust. Try demo online: https://whatlang.org/

v0.16.2

1 year ago

Changes:

v0.7.0

5 years ago

A new version of Whatlang (library for natural language recognition in rust) released.

Changes

  • Support Afrikaans language (afr)
  • Get rid of build dependencies: installation is much faster now

v0.5.0

5 years ago
  • (breaking) Rename Lang::to_code(&self) to Lang::code(&self)
  • (fix) Fix bug with zero division in confidence calculation
  • (fix) Confidence can not exceed 1.0
  • Implement Lang::eng_name(&self) -> &str function
  • Implement Lang::name(&self) -> &str function
  • Implement Script::name(&self) -> &str function
  • Implement trait Dislpay for Script
  • Implement Display trait for Lang

v0.6.0

5 years ago
  • Use hashbrown instead of fnv (detect() is 30% faster)
  • Use array on stack instead of vector for detect_script (1-2% faster)
  • Use build.rs to generate lang.rs file
  • Add property based testing