public class BuildCompiledTrie extends Object
| Constructor and Description |
|---|
BuildCompiledTrie() |
| Modifier and Type | Method and Description |
|---|---|
static io.bdrc.lucene.stemmer.Trie |
buildTrie(List<String> inputFiles) |
static io.bdrc.lucene.stemmer.Trie |
compileTrie() |
static io.bdrc.lucene.stemmer.Trie |
compileTrie(boolean optimize) |
static void |
main(String[] args) |
static void |
storeTrie(io.bdrc.lucene.stemmer.Trie trie,
String outFilename) |
public static void main(String[] args)
public static io.bdrc.lucene.stemmer.Trie compileTrie()
throws FileNotFoundException,
IOException
FileNotFoundExceptionIOExceptionpublic static io.bdrc.lucene.stemmer.Trie compileTrie(boolean optimize)
throws FileNotFoundException,
IOException
FileNotFoundExceptionIOExceptionpublic static io.bdrc.lucene.stemmer.Trie buildTrie(List<String> inputFiles) throws FileNotFoundException, IOException
inputFiles - the list of files to feed the Trie withFileNotFoundException - input file not foundIOException - could not write to the output filepublic static void storeTrie(io.bdrc.lucene.stemmer.Trie trie,
String outFilename)
throws FileNotFoundException,
IOException
trie - the trie to store in binary formatoutFilename - the path+filename of the output fileFileNotFoundException - output file not foundIOException - could not write to output fileCopyright © 2019. All rights reserved.