s-herrera / grammar-rules-extraction

2 stars 0 forks source link

pattern P3 #10

Closed perrier54 closed 2 years ago

perrier54 commented 2 years ago

I use the corpus fr_gsd-sud-train_sud.txt I apply the following patterns: P1: pattern{G[upos=PROPN]; D[upos=ADJ]} P2: pattern{G -[mod]-> D} P3: without{L[upos=PROPN]; L << G; L -[flat@name]-> G} without{L[upos=NOUN]; L << G; L -[appos|mod]-> G}

At the first run, the system returns the following error message : PatternError: The Grew commands (pattern, without, global) or the key patterns (e.g. X.upos) are not acceptable If I remove the second without, the system returns a result.

s-herrera commented 2 years ago

Fixed!