Class WordlistLoader
Loader for text files that represent a list of stopwords.
Inheritance
Namespace:
Assembly: Lucene.Net.NetCore.dll
Syntax
public class WordlistLoader : object
Methods
Name | Description |
---|---|
GetStemDict(IO.FileInfo) | Reads a stem dictionary. Each line contains:
|
GetWordSet(IO.FileInfo) | Loads a text file and adds every line as an entry to a HashSet (omitting leading and trailing whitespace). Every line of the file should contain only one word. The words need to be in lowercase if you make use of an Analyzer which uses LowerCaseFilter (like StandardAnalyzer). |
GetWordSet(IO.FileInfo, String) | Loads a text file and adds every non-comment line as an entry to a HashSet (omitting leading and trailing whitespace). Every line of the file should contain only one word. The words need to be in lowercase if you make use of an Analyzer which uses LowerCaseFilter (like StandardAnalyzer). |
GetWordSet(IO.TextReader) | Reads lines from a Reader and adds every line as an entry to a HashSet (omitting leading and trailing whitespace). Every line of the Reader should contain only one word. The words need to be in lowercase if you make use of an Analyzer which uses LowerCaseFilter (like StandardAnalyzer). |
GetWordSet(IO.TextReader, String) | Reads lines from a Reader and adds every non-comment line as an entry to a HashSet (omitting leading and trailing whitespace). Every line of the Reader should contain only one word. The words need to be in lowercase if you make use of an Analyzer which uses LowerCaseFilter (like StandardAnalyzer). |