From c98d3f5bec1f305d3f07b0f99a1c634d2f1f2bdf Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Tue, 22 Oct 2019 09:37:47 +0200 Subject: [PATCH] Update German tag_map Update German tag_map based on this conversion table: https://universaldependencies.org/tagset-conversion/de-stts-uposf.html --- spacy/lang/de/tag_map.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spacy/lang/de/tag_map.py b/spacy/lang/de/tag_map.py index 394478145..c169501a9 100644 --- a/spacy/lang/de/tag_map.py +++ b/spacy/lang/de/tag_map.py @@ -1,8 +1,8 @@ # coding: utf8 from __future__ import unicode_literals -from ...symbols import POS, PUNCT, ADJ, CONJ, SCONJ, NUM, DET, ADV, ADP, X, VERB -from ...symbols import NOUN, PROPN, PART, INTJ, SPACE, PRON, AUX +from ...symbols import POS, PUNCT, ADJ, CCONJ, SCONJ, NUM, DET, ADV, ADP, X +from ...symbols import NOUN, PROPN, PART, INTJ, SPACE, PRON, AUX, VERB TAG_MAP = { @@ -20,8 +20,8 @@ TAG_MAP = { "CARD": {POS: NUM, "NumType": "card"}, "FM": {POS: X, "Foreign": "yes"}, "ITJ": {POS: INTJ}, - "KOKOM": {POS: CONJ, "ConjType": "comp"}, - "KON": {POS: CONJ}, + "KOKOM": {POS: CCONJ, "ConjType": "comp"}, + "KON": {POS: CCONJ}, "KOUI": {POS: SCONJ}, "KOUS": {POS: SCONJ}, "NE": {POS: PROPN}, @@ -43,7 +43,7 @@ TAG_MAP = { "PTKA": {POS: PART}, "PTKANT": {POS: PART, "PartType": "res"}, "PTKNEG": {POS: PART, "Polarity": "neg"}, - "PTKVZ": {POS: PART, "PartType": "vbp"}, + "PTKVZ": {POS: ADP, "PartType": "vbp"}, "PTKZU": {POS: PART, "PartType": "inf"}, "PWAT": {POS: DET, "PronType": "int"}, "PWAV": {POS: ADV, "PronType": "int"},