grammaregex icon indicating copy to clipboard operation
grammaregex copied to clipboard

Regex like pattern tree matching but on sentence's tree instead of Strings

Results 4 grammaregex issues
Sort by recently updated
recently updated
newest added

It's often interesting to know not only the leaf token as selected by a pattern, but also some of the intermediate steps. Python's re package even provides functionality-- named groups--...

Example: >>> grammaregex.verify_pattern("[VERB,**]/*") True >>> grammaregex.verify_pattern("[VERB,*]/*") True This happens because the full __verify_pattern__ function is called on each list element, meaning each list element gets matched against a regex for...

A detailed description of what forms a valid pattern will help the user.

Traceback (most recent call last): from textpipeliner import PipelineEngine, Context File "/Library/Python/2.7/site-packages/textpipeliner/__init__.py", line 3, in from .pipes import * File "/Library/Python/2.7/site-packages/textpipeliner/pipes/__init__.py", line 1, in from .pipe import Pipe, \ File...