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:
authorJohn Bauer <horatio@gmail.com>2022-09-10 19:48:50 +0300
committerJohn Bauer <horatio@gmail.com>2022-09-10 19:48:50 +0300
commit824bb780bba86cc0610346f538cf9eecd065fe33 (patch)
tree07909232d42452085f62670599de21082075ac85
parent528430c1b82d48ecbf9f06bd48496bb4c6e2f3d4 (diff)
Not sure why, but AnCora xpos tags are half-finished
-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