diff --git a/data/edu/stanford/nlp/kbp/en/semgrex/per_children.rules b/data/edu/stanford/nlp/kbp/en/semgrex/per_children.rules index c667ee0894..664cd315e4 100644 --- a/data/edu/stanford/nlp/kbp/en/semgrex/per_children.rules +++ b/data/edu/stanford/nlp/kbp/en/semgrex/per_children.rules @@ -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