Package kea.stemmers

Examples of kea.stemmers.PorterStemmer


    //    or other languages as specified in your "skos" vocabulary
    ke.setDocumentLanguage("en"); // es for Spanish, fr for French
   
    // 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
View Full Code Here

TOP

Related Classes of kea.stemmers.PorterStemmer

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.