[package] name = "n_gram" version = "0.1.12" edition = "2021" authors = ["Georgiy Ozhegov "] description = "Simple library for training n-gram language models." readme = "README.md" repository = "https://github.com/georgiyozhegov/n_gram.git" license = "MIT" keywords = ["lm", "n-gram", "ngram", "simple"] [dependencies] rand = "0.8.5" serde = { version = "1.0.197", features = ["derive"], optional = true } serde_json = { version = "1.0.114", optional = true } [features] default = ["serde"] serde = ["dep:serde", "dep:serde_json"] corpus = []