Hi all and thanks for the good job on TextMarker.
I would like to write a rule using a disjunction on the type match rather than 
annotation within a given type.

For example, I would like to factorise two rules like :
Token{REGEXP("human")} Lemma{FEATURE("lemma","body")};
Lemma{FEATURE("lemma","human")} Lemma{FEATURE("lemma","body")};

in just one rule like :
( Token{REGEXP("human")} OR Lemma{FEATURE("lemma","human") ) 
Lemma{FEATURE("lemma","body")};

I could't find the way to do that with TextMarker language. Is it impossible ?

Reply via email to