flashtext icon indicating copy to clipboard operation
flashtext copied to clipboard

Extract Keywords from sentence or Replace keywords in sentences.

Results 70 flashtext issues
Sort by recently updated
recently updated
newest added

when i try the word "通信", the code can‘t give me the correct result

keyword_processor = KeywordProcessor() keyword_processor.add_keyword('Big Apple','Big_Apple') keyword_processor.add_keyword('Apple and','Apple_and') keyword_processor.replace_keywords(u'I love Big Apple and Bay Area.') result: u'I love Big_Apple and Bay Area.' but i want the result is :u'I love Big_Apple_and...

it makes me confused.x axis is the number of pattern strings ? y axis is match one sentence need times?if i just want check wheather one sentence exist any keywords...

Is it possible to find and replace a sentence without word boundary markers? This kind of problem is very common in many East Asian languages such as Thai, Chinese and...

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...

is there a way to add keywords with extra information from a list efficiently? I am currently looping and adding each of the keyword with the "add_keyword", but loading the...

question

Adds a section to the README for "Adopters". Adds link to NLPre. Closes #36.

``` 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 ============================= test...

How do you recommend dealing with multiple (optional) tokens? Let's say we want to extract `abc` or a subset of it; the regex would be: `(a)?(b)?(c)?` This will allow matching...