Skip to content

Commit

Permalink
Add an empty list of features for upos of SYM
Browse files Browse the repository at this point in the history
  • Loading branch information
AngledLuffa committed Dec 6, 2024
1 parent fb2396d commit a4802fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion not-to-release/scripts/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from stanza.utils.conll import CoNLL

ALLOWED_UPOS = { "ADJ", "ADP", "ADV", "AUX", "CCONJ", "DET", "INTJ", "NOUN", "NUM", "PART", "PRON", "PROPN", "PUNCT", "SCONJ", "VERB"}
ALLOWED_UPOS = { "ADJ", "ADP", "ADV", "AUX", "CCONJ", "DET", "INTJ", "NOUN", "NUM", "PART", "PRON", "PROPN", "PUNCT", "SCONJ", "SYM", "VERB"}

ALLOWED_UPOS_TO_XPOS = {
"NOUN": ["NN", "NNX"],
Expand Down Expand Up @@ -40,6 +40,7 @@
"PROPN": ['Case=Abl', 'Case=Nom', 'Case=Acc', 'Gend=Fem', 'Gend=Masc', 'Number=Sing'],
"PUNCT": [],
"SCONJ": [],
"SYM": [],
"VERB": ['Aspect=Con', 'Aspect=Imp', 'Aspect=Perf',
'Case=Nom', 'Case=Acc',
'Gend=Fem', 'Gend=Masc', 'Gend[Obj]=Masc', 'Gend[Subj]=Fem', 'Gend[Subj]=Masc',
Expand Down

0 comments on commit a4802fb

Please sign in to comment.