Closed luangtatipsy closed 7 years ago
Hi, Here is my example
from rake_nltk import Rake r = Rake() r.extract_keywords_from_text("foo is a foo. but bar is not foo") r.get_word_frequency_distribution()
from rake_nltk import Rake
r = Rake()
r.extract_keywords_from_text("foo is a foo. but bar is not foo")
r.get_word_frequency_distribution()
Here is my output
{'bar': 1, 'foo': 1}
Why frequency of "foo" is 1? Thank advance.
Ps. My English skill is not good. Sorry :(
Hi, Here is my example
from rake_nltk import Rake
r = Rake()
r.extract_keywords_from_text("foo is a foo. but bar is not foo")
r.get_word_frequency_distribution()
Here is my output
Why frequency of "foo" is 1? Thank advance.
Ps. My English skill is not good. Sorry :(