You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>>> keyword_processor.remove_keywords_from_dict({"product management": ["PM"]})
>>> keyword_processor.remove_keywords_from_list(["java programing"])
>>> keyword_processor.extract_keywords('I am a product manager for a java_2e platform')
These all returns extracted words after the removal. But how to get the NEW sentence after the keywords are removed? It seems it doesn't modify the original text. How can I get the new sentence?
The text was updated successfully, but these errors were encountered:
>>> keyword_processor.add_keyword('New Delhi', 'NCR region')
>>> new_sentence = keyword_processor.replace_keywords('I love Big Apple and new delhi.')
>>> new_sentence
>>> # 'I love New York and NCR region.'
These all returns extracted words after the removal. But how to get the NEW sentence after the keywords are removed? It seems it doesn't modify the original text. How can I get the new sentence?
The text was updated successfully, but these errors were encountered: