Closed JonasHablitzel closed 2 years ago
Hello,
i encountered a bug when searching for a substring inside a string. When the subword is at the end of the word, it wasn"t found. e.g.
text = "We want to identify a geman word combination Aussagekraft" doc = nlp(text) search = RegexSearcher(nlp.vocab) matches = search.match(doc,r'(kraft|Kraft)') # matches = []
The change should fix the Bug and i also added a Testcase.
Hello,
i encountered a bug when searching for a substring inside a string. When the subword is at the end of the word, it wasn"t found. e.g.
The change should fix the Bug and i also added a Testcase.