We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a34b90 commit dbdb55bCopy full SHA for dbdb55b
data/edu/stanford/nlp/kbp/en/semgrex/per_children.rules
@@ -2,7 +2,7 @@
2
# (Stanford dependencies; conj is fixing common parse errors)
3
{ner:PERSON}=entity >/poss/ ( {lemma:/son|daughter|child/} >/appos|conj.*/ {ner:PERSON}=slot )
4
# (Universal dependencies; conj is fixing common parse errors)
5
-{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
6
7
# Among ENTITY's sons are SLOT.
8
{lemma:/be/} >/(prep_|nmod:|obl:).*/ ( {lemma:/son|daughter|child/} >/nmod:poss/ {ner:PERSON}=entity ) >/.subj/ {ner:PERSON}=slot
0 commit comments