WordClass {Microsoft.VisualBasic.Data.Trinity.NLP} | .NET clr documentation |
单词的词性分类
# namespace Microsoft.VisualBasic.Data.Trinity.NLP
export class WordClass extends Enum {
# 未知的词性
NA: WordClass = 0;
# 名词:to describe a person or thing
[@desc "n."]
noun: WordClass = 1;
[@desc "na."]
name: WordClass = 2;
# 可数名词
[@desc "c."]
countable_noun: WordClass = 3;
# 动词
[@desc "v."]
verb: WordClass = 4;
# 形容词
[@desc "adj."]
adjective: WordClass = 5;
# 副词
[@desc "adv."]
adverb: WordClass = 6;
# 代词
[@desc "pron."]
pronoun: WordClass = 7;
# 介词
[@desc "prep."]
preposition: WordClass = 8;
# 数词
[@desc "num."]
numeral: WordClass = 9;
# 连词
[@desc "conj."]
conjunction: WordClass = 10;
# 冠词
[@desc "art."]
article: WordClass = 11;
# 感叹词
[@desc "int."]
interjection: WordClass = 12;
}
NA
: WordClassnoun
: WordClassname
: WordClasscountable_noun
: WordClassverb
: WordClassadjective
: WordClassadverb
: WordClasspronoun
: WordClasspreposition
: WordClassnumeral
: WordClassconjunction
: WordClassarticle
: WordClassinterjection
: WordClass