Auto-format

This commit is contained in:
Ines Montani 2019-04-01 11:45:43 +02:00
parent 6567f27849
commit 8d6b544632

View File

@ -1,5 +1,4 @@
# coding: utf8 # coding: utf8
from __future__ import unicode_literals from __future__ import unicode_literals
from ...symbols import POS, PUNCT, SYM, ADJ, CCONJ, NUM, DET, ADV, ADP, X, VERB from ...symbols import POS, PUNCT, SYM, ADJ, CCONJ, NUM, DET, ADV, ADP, X, VERB
@ -7,31 +6,29 @@ from ...symbols import NOUN, PROPN, PART, INTJ, SPACE, PRON, AUX, SCONJ
# POS explanations for indonesian available from https://www.aclweb.org/anthology/Y12-1014 # POS explanations for indonesian available from https://www.aclweb.org/anthology/Y12-1014
TAG_MAP = { TAG_MAP = {
"NSD" : {POS: NOUN}, "NSD": {POS: NOUN},
"Z" : {POS: PUNCT}, "Z": {POS: PUNCT},
"VSA" : {POS: VERB}, "VSA": {POS: VERB},
"CC-" : {POS: NUM}, "CC-": {POS: NUM},
"R" : {POS: ADP}, "R": {POS: ADP},
"D" : {POS: ADV}, "D": {POS: ADV},
"ASP": {POS: ADJ}, "ASP": {POS: ADJ},
"S" : {POS: SCONJ}, "S": {POS: SCONJ},
"VSP" : {POS: VERB}, "VSP": {POS: VERB},
"H" : {POS: CCONJ}, "H": {POS: CCONJ},
"F" : {POS: X}, "F": {POS: X},
"B" : {POS: DET}, "B": {POS: DET},
"CO-" : {POS: NUM}, "CO-": {POS: NUM},
"G" : {POS: ADV}, "G": {POS: ADV},
"PS3" : {POS: PRON}, "PS3": {POS: PRON},
"W" : {POS: ADV}, "W": {POS: ADV},
"O" : {POS: AUX}, "O": {POS: AUX},
"PP1" : {POS: PRON}, "PP1": {POS: PRON},
"ASS" : {POS: ADJ}, "ASS": {POS: ADJ},
"PS1" : {POS: PRON}, "PS1": {POS: PRON},
"APP" : {POS: ADJ}, "APP": {POS: ADJ},
"CD-" : {POS: NUM}, "CD-": {POS: NUM},
"VPA" : {POS: VERB}, "VPA": {POS: VERB},
"VPP" : {POS: VERB}, "VPP": {POS: VERB},
} }