I am starting with nlp in spaCy. I am using the EntityRuler with a Spanish model and I would like to know if it is possible to create a pattern that allows to find the form of the verb and the Tense at the same time
In the spanish model the TAG attributes are something like:
AUX__Mood=Sub|Number=Sing|Person=3|Tense=Pres|VerbForm=End
I need a pattern to match Tense=Pres
and VerbForm=Fin
Based on this question I have tried to modify the regex:
matcher.add("MOOD_SUB", [[{"TAG": {"REGEX": ".*Tense=Pres|VerbForm=End.*"}}]])
but I have not been able to obtain the expected results. Any ideas?