graphANNIS
graphANNIS copied to clipboard
Regex in anno names and namespaces?
I got a question from Jena about Regex in annotation names and namespaces. Not sure if we want to realize this, we thought about it once for Falko - the DB can probably handle it but the AQL grammar would need an adjustment. I could imagine this syntax:
/namesp.ce/:/an{2}o/="value"
So the slashes tell the parser that the anno name or namespace is a regular expression. Let's discuss this before deciding if we should implement this request.
Imported from Launchpad using lp2gh.
- date created: 2011-10-28T08:10:00Z
- owner: amir-zeldes
- the launchpad url was https://bugs.launchpad.net/bugs/882966
I would also like this feature, so that the annolevel can be underspecified. A related thing is an "or" operator, e.g.:
pos="ART" | tok=/di[st]/ &
pos="NN" &
korpling/ANNIS#1 . korpling/ANNIS#2
in the case that the tagger did not recognize Standard Berlin articles and you want all article noun combinations.