Improve English tag map. Re
@@ -16,7 +16,7 @@ TAG_MAP = {
":": {POS: PUNCT},
"$": {POS: SYM, "Other": {"SymType": "currency"}},
"#": {POS: SYM, "Other": {"SymType": "numbersign"}},
- "AFX": {POS: ADJ, "Hyph": "yes"},
+ "AFX": {POS: X, "Hyph": "yes"},
"CC": {POS: CCONJ, "ConjType": "coor"},
"CD": {POS: NUM, "NumType": "card"},
"DT": {POS: DET},
@@ -34,10 +34,10 @@ TAG_MAP = {
"NNP": {POS: PROPN, "NounType": "prop", "Number": "sing"},
"NNPS": {POS: PROPN, "NounType": "prop", "Number": "plur"},
"NNS": {POS: NOUN, "Number": "plur"},
- "PDT": {POS: ADJ, "AdjType": "pdt", "PronType": "prn"},
+ "PDT": {POS: DET, "AdjType": "pdt", "PronType": "prn"},
"POS": {POS: PART, "Poss": "yes"},
- "PRP": {POS: PRON, "PronType": "prs"},
- "PRP$": {POS: ADJ, "PronType": "prs", "Poss": "yes"},
+ "PRP": {POS: DET, "PronType": "prs"},
+ "PRP$": {POS: DET, "PronType": "prs", "Poss": "yes"},
"RB": {POS: ADV, "Degree": "pos"},
"RBR": {POS: ADV, "Degree": "comp"},
"RBS": {POS: ADV, "Degree": "sup"},
@@ -58,9 +58,9 @@ TAG_MAP = {
"Number": "sing",
"Person": 3,
},
- "WDT": {POS: ADJ, "PronType": "int|rel"},
- "WP": {POS: NOUN, "PronType": "int|rel"},
- "WP$": {POS: ADJ, "Poss": "yes", "PronType": "int|rel"},
+ "WDT": {POS: DET, "PronType": "int|rel"},
+ "WP": {POS: PRON, "PronType": "int|rel"},
+ "WP$": {POS: DET, "Poss": "yes", "PronType": "int|rel"},
"WRB": {POS: ADV, "PronType": "int|rel"},
"ADD": {POS: X},
"NFP": {POS: PUNCT},
