Package kea.stopwords

Examples of kea.stopwords.StopwordsEnglish


    // Stemmer -- adjust if you use a different language than English or want to alterate results
    // (We have obtained better results for Spanish and French with NoStemmer)
    ke.setStemmer(new PorterStemmer());
   
    // Stopwords
    ke.setStopwords(new StopwordsEnglish());

    // Number of Keyphrases to extract
    ke.setNumPhrases(5);
   
    // Set to true, if you want to compute global dictionaries from the test collection
View Full Code Here

TOP

Related Classes of kea.stopwords.StopwordsEnglish

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.