0.5.0
Features
-
Added
PREFIX
macro which allows to attach word in front of list items or words
#47 -
Allow to pass variables directly when doing
compile
andcompile_string
#51 -
Allow to compile (and later load) rules using rita CLI while using standalone engine (spacy is already supported)
#53 -
Added ability to import rule files into rule file. Recursive import is supported as well.
#55 -
Added possibility to define pattern as a variable and reuse it in other patterns:
Example:
ComplexNumber = {NUM+, WORD("/")?, NUM?}
{PATTERN(ComplexNumber), WORD("inches"), WORD("Height")}->MARK("HEIGHT")
{PATTERN(ComplexNumber), WORD("inches"), WORD("Width")}->MARK("WIDTH")