GateNLP / python-gatenlp

Python text processing, pattern matching, and NLP framework
https://gatenlp.github.io/python-gatenlp/
Apache License 2.0
63 stars 8 forks source link

Return same type of match objects for all gazetteers, return consolidated match data #148

Open johann-petrak opened 3 years ago

johann-petrak commented 3 years ago

Check if we could return the same match objects for all gazetteers (Token, String, Regex).

Also check if the match object could just contain the fields start, end, data, type, with data a list of feature dicts and type an equally long list of type names. This would make the find... methods much more useful to users using this for plain string matching.