flashtext
flashtext copied to clipboard
Extract Keywords from sentence or Replace keywords in sentences.
Scenario - Use Dictionary for multiple keywords and one keyword is present in more than one class/category, then, output is incorrect and shows only one class/category. Below mentioned is example...
Hi, Tried FlashText. Unfortunately, it picks up the wrong standardised name. For example, if I have two different **values** (**standardised name** ) for **unclean name** i.e **"able" and "unable"**. It...
Hi, I´m loading 4,6 million keywords + their replacements into flashtext. The raw data in a pandas dataframe consumes approx. 1 GB RAM, profiled with pd.DataFrame.memory_usage(True, True) and guppy). When...
Maybe I missed something, but I do not understand what the advantage of using the tie dictionary is over using a hashing dictionary is. Can you tell me what I...
Hi there, I think the only safe way to deal with issue #48 would be to test against the `\W` class [1]. Judging from the benchmarks linked on https://github.com/vi3k6i5/flashtext#why-not-regex this...
While searching for a `search` utility, I found FlashText . However, instead of returning only the keyword matches and the index span info, this PR focuses on returning the sentences...
BUG 1: import flashtext _extractor = flashtext.KeywordProcessor() _extractor.add_keyword('地中海贫血') True _extractor.extract_keywords('地中海贫血') ['地中海贫血'] _extractor.extract_keywords('地中海贫血2') [] BUG2: import flashtext _extractor = flashtext.KeywordProcessor() _extractor.add_keyword('头疼') _extractor.add_keyword('头晕') True _extractor.extract_keywords('头疼头晕') ['头疼']
Its desirable to have a clue what was replaced and where, and also if any replacement happend at all.