-
Hi,
I am using flashtext for searching 694 bad words in some documents for tagging them if they contain bad language or not. But i need the exact match case because some words contain bad words in …
-
`./venv/lib/python3.7/site-packages/flashtext/keyword.py:148: ResourceWarning: unclosed
current_dict = current_dict.setdefault(letter, {})
ResourceWarning: Enable tracemalloc to get the object al…
-
As Title suggested, Below code:
```go
keyword_processor := NewKeywordProcessor()
keyword_processor.AddKeywords("欢迎")
keyword_processor.AddKeywords("来")
keyword_processor.AddKeywords("北京")
re…
-
I do not know if this is an implementation issue or a feature.
Full sub-patterns are not matched if the text contains the pattern.
### Test code
```go
package main
import (
"fmt"…
-
```
phase `build' succeeded after 0.6 seconds
starting phase `check'
running "python setup.py" with command "test" and parameters ()
WARNING: sphinx not available, not building docs
running test
…
ghost updated
7 years ago
-
During my work on [this PR](https://github.com/wellcometrust/policytool/pull/252) I ran locally for the 70 documents in the latest MSF scrape, using:
```
python -m policytool.refparse.refparse \
…
-
Hello there,
first of all: thanks for the amazing algorithm, it's really useful!
It turns out you use only a very restrictive set of characters as `non_word_boundaries`. For many languages this …
-
## Description
_(Originally taken from: [Requirements google doc](https://docs.google.com/document/d/1s1hQCPL6LVYYTTEdT-L9tob9-SO7u0N8AykX4pR5-Fo/edit))_
Zulip Terminology Stream Text Mining Project…
-
### How I use motion
I'm using `scroll` to track scroll events. Based on the progress I receive from _motion_ some texts and graphics are changed.
---
### The problem
I'm using Vue.js and I ru…
-
from flashtext import KeywordProcessor
#text = "@苍月轶 再次核实:骆然5月8日持24小时核酸从宜昌回蓉,到成都24小时内核酸一次,9号回泸定,24小时内又做一次核酸,均阴性,健康码绿码。宜昌不是
AB区域。"
text = "成都到北京高铁3小时,郑州到成都2小时"
print(text)
kp = KeywordProces…