You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This CAPHI rewrite rule seems to be broken. I changed to u'u\\_w-(\\+[^iau]+|$)' and fixed it by moving the \\+ to inside the optional group as it will generally be coming from a suffix and should be treated as optional. Tested the new regex on PATB and it is giving the required results.
The text was updated successfully, but these errors were encountered:
camel_tools/camel_tools/morphology/utils.py
Line 76 in b496501
Hello,
This CAPHI rewrite rule seems to be broken. I changed to
u'u\\_w-(\\+[^iau]+|$)'
and fixed it by moving the\\+
to inside the optional group as it will generally be coming from a suffix and should be treated as optional. Tested the new regex on PATB and it is giving the required results.The text was updated successfully, but these errors were encountered: