mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-10 19:57:17 +03:00
added tag_map for indonesian
This commit is contained in:
parent
e64b241f9c
commit
3cc897102f
31
spacy/lang/id/tag_map.py
Normal file
31
spacy/lang/id/tag_map.py
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# coding: utf8
|
||||||
|
|
||||||
|
'''
|
||||||
|
POS explanations for indonesian available from https://www.aclweb.org/anthology/Y12-1014
|
||||||
|
'''
|
||||||
|
|
||||||
|
TAG_MAP = {
|
||||||
|
"NSD" : {POS: NOUN},
|
||||||
|
"Z–" : {POS: PUNCT},
|
||||||
|
"VSA" : {POS: VERB},
|
||||||
|
"CC-" : {POS: NUM},
|
||||||
|
"R–" : {POS: ADP},
|
||||||
|
"D–" : {POS: ADV},
|
||||||
|
"ASP": {POS: ADJ},
|
||||||
|
"S–" : {POS: SCONJ},
|
||||||
|
"VSP" : {POS: VERB},
|
||||||
|
"H–" : {POS: CCONJ},
|
||||||
|
"F–" : {POS: X},
|
||||||
|
"B–" : {POS: DET},
|
||||||
|
"CO-" : {POS: NUM},
|
||||||
|
"G–" : {POS: ADV},
|
||||||
|
"PS3" : {POS: PRON},
|
||||||
|
"W–" : {POS: ADV},
|
||||||
|
"O–" : {POS: AUX},
|
||||||
|
"PP1" : {POS: PRON},
|
||||||
|
"ASS" : {POS: ADJ},
|
||||||
|
"PS1" : {POS: PRON},
|
||||||
|
"APP" : {POS: ADJ},
|
||||||
|
"CD-" : {POS: NUM},
|
||||||
|
"VPA" : {POS: VERB},
|
||||||
|
"VPP" : {POS: VERB}}
|
Loading…
Reference in New Issue
Block a user