public class LuceneAnalyser extends Object
Modifier and Type | Field and Description |
---|---|
private static org.apache.lucene.analysis.Analyzer |
analyzer |
Constructor and Description |
---|
LuceneAnalyser() |
Modifier and Type | Method and Description |
---|---|
static Collection<String> |
getTerms(String s,
Collection<String> elements)
add all words contained in toAnalyse into words collection.
|
public static Collection<String> getTerms(String s, Collection<String> elements)
toAnalyse
- : the string to be analysedwords
- : the collection to add extracted words(C) INRIA, UPMF & friends, 2008-2015