// 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