Documentation
¶
Overview ¶
Package nlpgo provides basic NLP defs used in sub-packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type POS ¶
type POS string
const ( PosNoun POS = "NOUN" PosAdj POS = "ADJ" PosVerb POS = "VERB" PosPron POS = "PRON" PosNum POS = "NUM" PosAdv POS = "ADV" PosNns POS = "NNS" PosJjr POS = "JJR" PosJjs POS = "JJS" PosRbr POS = "RBR" PosRbs POS = "RBS" PosVbd POS = "VBD" PosVbn POS = "VBN" PosVbg POS = "VBG" PosVbp POS = "VBP" PosVbz POS = "VBZ" )
type POSId ¶
type POSId uint8
A compact encoding of POS value
const ( PosIdNoun POSId = 2 PosIdAdj POSId = 3 PosIdVerb POSId = 4 PosIdPron POSId = 5 PosIdNum POSId = 6 PosIdAdv POSId = 7 PosIdNns POSId = 30 PosIdJjr POSId = 40 PosIdJjs POSId = 41 PosIdRbr POSId = 42 PosIdRbs POSId = 43 PosIdVbd POSId = 44 PosIdVbn POSId = 45 PosIdVbg POSId = 46 PosIdVbp POSId = 47 PosIdVbz POSId = 48 )
The POSId values are specified so that to be compatible with the ones in my other projects
Directories
¶
Path | Synopsis |
---|---|
Package en provides some data sets and morphology logic to process English.
|
Package en provides some data sets and morphology logic to process English. |
Package lm provides interfaces and base implementation of word lemmatization.
|
Package lm provides interfaces and base implementation of word lemmatization. |
Click to show internal directories.
Click to hide internal directories.