Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsStopWord ¶ added in v0.9.0
IsStopWord returns true it the word is a stop word.
Hungarian stop word list prepared by Anna Tordai ¶
func Stem ¶
Stem an Hungarian word. This is the only exported function in this package.
This stemming algorithm removes the inflectional suffixes of nouns. Nouns are inflected for case, person/possession and number.
Letters in Hungarian include the following accented forms,
á é í ó ö ő ú ü ű
The following letters are vowels:
a á e é i í o ó ö ő u ú ü ű
The following letters are digraphs:
cs dz dzs gy ly ny ty zs
A double consonant is defined as:
bb cc ccs dd ff gg ggy jj kk ll lly mm nn nny pp rr ss ssz tt tty vv zz zzs
func StemSentence ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.