INNER CODE UNIT · Rust
message
bminixhofer/nlprule · python/src/lib.rs:275
fn message(&self) -> &str {
self.suggestion.message()
}
}
impl From<Suggestion> for PySuggestion {
fn from(suggestion: Suggestion) -> Self {
PySuggestion { suggestion }
}
}
/// The tokenizer.
/// Does dictionary- and rule-based POS tagging, lemmatization and (depending on the language) chunking.
/// Can be created from a tokenizer binary:
/// ```python
/// tokenizer = Tokenizer("/path/to/tokenizer.bin")
/// ```
/// or from a language code: