common-words-all

Crates.iocommon-words-all
lib.rscommon-words-all
version0.0.2
sourcesrc
created_at2024-10-24 20:13:17.666062
updated_at2024-11-05 21:57:03.825047
descriptionMost common words sorted by ngram frequency.
homepage
repositoryhttps://github.com/developermindsetcom/common-words
max_upload_size
id1421715
size15,260,678
Eugene Hauptmann (eugenehp)

documentation

README

common-words-all

Most common words sorted by ngram frequency.

Available in the following languages:

  • Chinese
  • English
  • French
  • German
  • Hebrew
  • Italian
  • Russian
  • Spanish

Available ngram sizes:

  • 1
  • 2
  • 3
  • 4
  • 5

Usage

Get top 10 english ngrams:

let top = get_top(Language::English, 10, NgramSize::One);

Examples

Simple

You can specify features of language (english) and ngram size (one)

cargo run --example simple --no-default-features -F english -F one --release

Data

Dataset version 20200217 from Google Books

License

MIT

Copyright

© 2024, Eugene Hauptmann

Commit count: 9

cargo fmt