Documentation
¶
Overview ¶
Package morph provides a simple morphological analyzer for Russian language, using the compiled dictionaries from pymorphy2.
Example ¶
words, norms, tags := Parse("криком")
for i := range words {
fmt.Println(words[i], norms[i], tags[i])
}
Output: криком крик NOUN,inan,masc sing,ablt
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Parse ¶
Parse analyzes the word and returns three slices of the same length. Each triple (words[i], norms[i], tags[i]) represents an analysis, where: - words[i] is the word with the letter ё fixed; - norms[i] is the normal form of the word; - tags[i] is the grammatical tag, consisting of the word's grammemes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.
