Wednesday, March 24, 2021

Using RAKE for keyphrase extractions

 

Use MULTI-RAKE for Hindi keyphrases.


RAKE-NLTK

RAKE-NLTK is a modified version that uses the natural language processing toolkit NLTK for some of the calculations.

Installation:

Import, Declare a RAKE-NLTK Object and Extract!
We again extract just the top 10 keywords.

Here’s the output for the same text passage using RAKE-NLTK. For the chosen passage, RAKE and RAKE-NLTK give the same output. But this isn’t always the case. Try it out for yourself on other passages!

No comments:

Post a Comment