File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
data/edu/stanford/nlp/kbp/en/semgrex Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 2
2
# (Stanford dependencies; conj is fixing common parse errors)
3
3
{ner:PERSON}=entity >/poss/ ( {lemma:/son|daughter|child/} >/appos|conj.*/ {ner:PERSON}=slot )
4
4
# (Universal dependencies; conj is fixing common parse errors)
5
- {lemma:/son|daughter|child/} >/;mod :poss/ {ner:PERSON}=entity >/appos|conj.*/ {ner:PERSON}=slot
5
+ {lemma:/son|daughter|child/} >/nmod :poss/ {ner:PERSON}=entity >/appos|conj.*/ {ner:PERSON}=slot
6
6
{ner:PERSON}=entity >/poss/ ( {lemma:/son|daughter|child/} >/appos|conj.*/ {ner:PERSON}=slot )
7
7
# Among ENTITY's sons are SLOT.
8
8
{lemma:/be/} >/(prep_|nmod:|obl:).*/ ( {lemma:/son|daughter|child/} >/nmod:poss/ {ner:PERSON}=entity ) >/.subj/ {ner:PERSON}=slot
You can’t perform that action at this time.
0 commit comments