flashtext
flashtext copied to clipboard
Extract Keywords from sentence or Replace keywords in sentences.
This is probably an easy question that is already been answered but unfortunately, I can't figure this out or find someone that did already. How can I use FlashText for...
in python 2.7: `from flashtext import KeywordProcessor` `keyword_processor = KeywordProcessor()` `keyword_processor.add_keyword(u'北京')` `keyword_processor.add_keyword(u'欢迎')` `keyword_processor.add_keyword(u'你')` `keyword_processor.extract_keywords(u'北京欢迎你')` return [u'北京', u'你'],missing u'欢迎' ?
There has been a commit to add support for fuzzy matching using the "max_cost" argument in extract_keywords, however there seems to be no reference to it in the README and...
Hi. First of all, I would like to thank you for creating such a wonderful library. Really helps me a lot. I am trying to use this for **Devanagri** (the...
This fixes issue: #81 Lowering a sentence with combined unicode chars changes the length of a sentence. ```python s = 'İ love Big Apple and Bay Area.' len(s) # 30...
The current version in PyPi is `flashtext 2.7`, which was Released: Feb 16, 2018 There has been quite a few improvements and fixes since then, are you planning on releasing...
bug
```python len("İ") # 1 ``` ```python len("İ".lower()) # 2 ``` this will cause string index out of range flashtext.
Hi all, first thanks a lot for the great library you created, I really appreciate it! When working with non-ascii characters I found a case, where the span returned by...