Skip to content

Commit

Permalink
Fix typo in per_children.rules
Browse files Browse the repository at this point in the history
  • Loading branch information
AngledLuffa committed Jan 31, 2023
1 parent 5a34b90 commit dbdb55b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/edu/stanford/nlp/kbp/en/semgrex/per_children.rules
Expand Up @@ -2,7 +2,7 @@
# (Stanford dependencies; conj is fixing common parse errors)
{ner:PERSON}=entity >/poss/ ( {lemma:/son|daughter|child/} >/appos|conj.*/ {ner:PERSON}=slot )
# (Universal dependencies; conj is fixing common parse errors)
{lemma:/son|daughter|child/} >/;mod:poss/ {ner:PERSON}=entity >/appos|conj.*/ {ner:PERSON}=slot
{lemma:/son|daughter|child/} >/nmod:poss/ {ner:PERSON}=entity >/appos|conj.*/ {ner:PERSON}=slot
{ner:PERSON}=entity >/poss/ ( {lemma:/son|daughter|child/} >/appos|conj.*/ {ner:PERSON}=slot )
# Among ENTITY's sons are SLOT.
{lemma:/be/} >/(prep_|nmod:|obl:).*/ ( {lemma:/son|daughter|child/} >/nmod:poss/ {ner:PERSON}=entity ) >/.subj/ {ner:PERSON}=slot
Expand Down

0 comments on commit dbdb55b

Please sign in to comment.