Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Descriptions = map[string]string{
"CC": "Coordinating conjunction",
"CD": "Cardinal number",
"DT": "Determiner",
"EX": "Existential there",
"FW": "Foreign word",
"IN": "Preposition or subordinating conjunction",
"JJ": "Adjective",
"JJR": "Adjective, comparative",
"JJS": "Adjective, superlative",
"LS": "List item marker",
"MD": "Modal",
"NN": "Noun, singular or mass",
"NNS": "Noun, plural",
"NNP": "Proper noun, singular",
"NNPS": "Proper noun, plural",
"PDT": "Predeterminer",
"POS": "Possessive ending",
"PRP": "Personal pronoun",
"PRP$": "Possessive pronoun",
"RB": "Adverb",
"RBR": "Adverb, comparative",
"RBS": "Adverb, superlative",
"RP": "Particle",
"SYM": "Symbol",
"TO": "to",
"UH": "Interjection",
"VB": "Verb, base form",
"VBD": "Verb, past tense",
"VBG": "Verb, gerund or present participle",
"VBN": "Verb, past participle",
"VBP": "Verb, non-3rd person singular present",
"VBZ": "Verb, 3rd person singular present",
"WDT": "Wh-determiner",
"WP": "Wh-pronoun",
"WP$": "Possessive wh-pronoun",
"WRB": "Wh-adverb",
}
Descriptions - word tags description https://www.ling.upenn.edu/courses/Fall_2003/ling001/penn_treebank_pos.html
Functions ¶
This section is empty.
Types ¶
type Tagger ¶
type Tagger struct {
// contains filtered or unexported fields
}
Tagger struct
func (*Tagger) SetEncoding ¶
SetEncoding - set outupt encoding (default: utf8)
func (*Tagger) SetJavaOpts ¶
SetJavaOpts - set java options (default: [mx300m])
func (*Tagger) SetJavaPath ¶
SetJavaPath - set path to java executable file
Click to show internal directories.
Click to hide internal directories.