Closed SHxKM closed 9 months ago
Doesn't seem to be exclusive to regex:
{
"LOWER": "4k"
}
Doesn't work either.
This SO answer is what I was after:
In Spacy 2.3.2, 1 1/2-inch is tokenized as ('1', 'NUM'), ('1/2-inch', 'NUM'), so there will be no match with your current patterns if you do not introduce a new, specific pattern.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
How to reproduce the behaviour
Taken and adjusted right from the docs:
However if I add a
D
after4K
in both strings, a match is found. Is there a minimal length restriction?Your Environment