-
Notifications
You must be signed in to change notification settings - Fork 16
Node Parsing posid
Brooke M. Fujita edited this page Mar 28, 2015
·
2 revisions
When parsing nodes using the IPADIC dictionary, Natto::MeCabNode
will have a posid
value identifying the node's part-of-speech per the table below. The definitions come from the pos-id.def
file that comes with mecab-ipadic
.
POS, Sub-Class 1, Sub-Class 2, and Sub-Class 3 values refer to the part-of-speech classifications that you will see displayed in the MeCab's default output format as 品詞,品詞細分類1,品詞細分類2,品詞細分類3
.
POS | Sub-Class 1 | Sub-Class 2 | Sub-Class 3 | POS ID |
---|---|---|---|---|
other | interjection | * | * | 0 |
filler | * | * | * | 1 |
exclamation | * | * | * | 2 |
symbol | alphabetic | * | * | 3 |
symbol | miscellaneous | * | * | 4 |
symbol | left parenthesis | * | * | 5 |
symbol | right parenthesis | * | * | 6 |
symbol | comma | * | * | 7 |
symbol | space | * | * | 8 |
symbol | period | * | * | 9 |
adjective | main | * | * | 10 |
adjective | suffix | * | * | 11 |
adjective | aux | * | * | 12 |
particle | case | miscellaneous | * | 13 |
particle | case | quote | * | 14 |
particle | case | compound | * | 15 |
particle | dependency | * | * | 16 |
particle | final | * | * | 17 |
particle | conjunctive | * | * | 18 |
particle | special | * | * | 19 |
particle | adverbializer | * | * | 20 |
particle | adverbial | * | * | 21 |
particle | adverbial/conjunctive/final | * | * | 22 |
particle | coordinate | * | * | 23 |
particle | adnominalizer | * | * | 24 |
aux | * | * | * | 25 |
conjunction | * | * | * | 26 |
prefix | adjectival | * | * | 27 |
prefix | numerical | * | * | 28 |
prefix | verbal | * | * | 29 |
prefix | nominal | * | * | 30 |
verb | main | * | * | 31 |
verb | suffix | * | * | 32 |
verb | aux | * | * | 33 |
adverb | miscellaneous | * | * | 34 |
adverb | particle conjunction | * | * | 35 |
noun | verbal | * | * | 36 |
noun | nai adjective | * | * | 37 |
noun | common | * | * | 38 |
noun | quote | * | * | 39 |
noun | adjective | * | * | 40 |
noun | proper | miscellaneous | * | 41 |
noun | proper | person | miscellaneous | 42 |
noun | proper | person | surname | 43 |
noun | proper | person | given name | 44 |
noun | proper | organization | * | 45 |
noun | proper | place | miscellaneous | 46 |
noun | proper | place | country | 47 |
noun | numeral | * | * | 48 |
noun | suffix conjunctive | * | * | 49 |
noun | suffix | verbal | * | 50 |
noun | suffix | miscellaneous | * | 51 |
noun | suffix | adjective | * | 52 |
noun | suffix | classifier | * | 53 |
noun | suffix | aux | * | 54 |
noun | suffix | person | * | 55 |
noun | suffix | place | * | 56 |
noun | suffix | special | * | 57 |
noun | suffix | adverbal | * | 58 |
noun | pronoun | miscellaneous | * | 59 |
noun | pronoun | contraction | * | 60 |
noun | verbal aux | * | * | 61 |
noun | special | aux | * | 62 |
noun | affix | miscellaneous | * | 63 |
noun | affix | adjective | * | 64 |
noun | affix | aux | * | 65 |
noun | affix | adverbial | * | 66 |
noun | adverbial | * | * | 67 |
adnominal | * | * | * | 68 |
For further details, please refer to this resource on MeCab 品詞IDの定義, and also this page on IPA POS codes in Japanese and English.