Open chreman opened 9 years ago
Found the error, had to remove pre and post from the regex.xml
<compoundRegex title="dinosaurfood">
<regex weight="1.0" fields="food">([Ff]ood)</regex>
<regex weight="1.0" fields="sustentation">([Ss]ustentation)</regex>
</compoundRegex>
and add it with --context 50 50
Another aspect of testing/cleaning regex
The regex.xml looks like this (after the example here)
errors look like this: - groupList is len 6, fieldList is len 4