Expand description
Spanish morphological analyzer: the analyses of a word form (lemma, part of speech and Universal Dependencies features) and the forms of its lexeme. Word forms are kept in a finite state automaton, and analyses and forms are restored through paradigms
use esmorph::Dictionary;
let dictionary = Dictionary::bundled()?;
let analyses = dictionary.analyze("casas");
assert!(analyses.iter().any(|analysis| analysis.lemma == "casa"));Features: bundled (on by default) - the dictionary of esMorph from the crate
esmorph-dict-es, build - building dictionaries (Builder)
Structs§
- Analysis
- Analysis of a word form
- Builder
build - Builder of a dictionary from the forms of lexemes
- Dictionary
- Dictionary of word forms
- Entry
- Analysis of a word form in the dictionary: a form of an inflection table. The numbers are valid only for the dictionary that gave them: with another one they give other forms
- UdTag
- Part of speech, features and labels of Universal Dependencies