Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stanfordnlp/stanza.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stanza/utils/training/run_constituency.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/stanza/utils/training/run_constituency.py b/stanza/utils/training/run_constituency.py
index 6a20df53..6d775151 100644
--- a/stanza/utils/training/run_constituency.py
+++ b/stanza/utils/training/run_constituency.py
@@ -20,6 +20,7 @@ logger = logging.getLogger('stanza')
# so instead we use upos to avoid unknown tag errors
RETAG_METHOD = {
"da": "upos", # the DDT has no xpos tags anyway
+ "es": "upos", # AnCora has half-finished xpos tags
"it": "upos",
"vi": "upos",
"pt": "upos", # default PT model has no xpos either