csurfer / rake-nltk

Python implementation of the Rapid Automatic Keyword Extraction algorithm using NLTK.
https://csurfer.github.io/rake-nltk
MIT License
1.06k stars 150 forks source link

Modified Rake object #41

Closed calixo888 closed 5 years ago

calixo888 commented 5 years ago

Modified Rake Object

There are a lot of getters inside of the Rake object that don't need to be there. They only exist to return the already-accessible fields of the Rake object. I got rid of all of the getter methods and changed the names of some of the Rake fields. I also modified the input parameters of the Rake object to take in the target text to analyze, and added a setter method to change the text of the Rake object and update all corresponding fields.