Skip to content

Commit

Permalink
neatEN (UniversalDependencies#333): validate and fix VERB+NNS -> NOUN…
Browse files Browse the repository at this point in the history
  • Loading branch information
rhdunn committed Oct 2, 2022
1 parent 0b54e63 commit 8d3776c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion en_ewt-ud-train.conllu
Original file line number Diff line number Diff line change
Expand Up @@ -183891,7 +183891,7 @@
7 it it PRON PRP Case=Nom|Gender=Neut|Number=Sing|Person=3|PronType=Prs 8 nsubj 8:nsubj _
8 gives give VERB VBZ Mood=Ind|Number=Sing|Person=3|Tense=Pres|VerbForm=Fin 0 root 0:root|14:csubj _
9 UV ultra-violet NOUN NN Abbr=Yes|Number=Sing 10 compound 10:compound _
10 rays ray VERB NNS Number=Plur 8 obj 8:obj SpaceAfter=No
10 rays ray NOUN NNS Number=Plur 8 obj 8:obj SpaceAfter=No
11 .. .. PUNCT , _ 10 punct 10:punct SpaceAfter=No
12 which which PRON WDT PronType=Rel 14 nsubj 8:ref _
13 is be AUX VBZ Mood=Ind|Number=Sing|Person=3|Tense=Pres|VerbForm=Fin 14 cop 14:cop _
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@
7 it it PRON PRP Case=Nom|Gender=Neut|Number=Sing|Person=3|PronType=Prs 8 nsubj 8:nsubj _
8 gives give VERB VBZ Mood=Ind|Number=Sing|Person=3|Tense=Pres|VerbForm=Fin 0 root 0:root|14:csubj _
9 UV ultra-violet NOUN NN Abbr=Yes|Number=Sing 10 compound 10:compound _
10 rays ray VERB NNS Number=Plur 8 obj 8:obj SpaceAfter=No
10 rays ray NOUN NNS Number=Plur 8 obj 8:obj SpaceAfter=No
11 .. .. PUNCT , _ 10 punct 10:punct SpaceAfter=No
12 which which PRON WDT PronType=Rel 14 nsubj 8:ref _
13 is be AUX VBZ Mood=Ind|Number=Sing|Person=3|Tense=Pres|VerbForm=Fin 14 cop 14:cop _
Expand Down
2 changes: 1 addition & 1 deletion not-to-release/tools/neaten.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def validate_annos(tree):
"PUNCT":[".",",",":","``","''","-LCB-","-RCB-","-LRB-","-RRB-","-LSB-","-RSB-","NFP","HYPH","GW","SYM"],
"SCONJ":["IN","WRB","VBN","VBG"],
"SYM":["$",",","SYM","NFP","NN","NNS","IN","HYPH"],
"VERB":["VB","VBD","VBG","VBN","VBP","VBZ","NNP","NNS"],
"VERB":["VB","VBD","VBG","VBN","VBP","VBZ","NNP"],
"X":["ADD","GW","FW","AFX","NN","NNP","VB","RB","JJ","WP","LS","IN","PRP","WRB"]
}

Expand Down

0 comments on commit 8d3776c

Please sign in to comment.