public class FileDictionary extends java.lang.Object implements Dictionary
Constructor and Description |
---|
FileDictionary(java.io.InputStream dictFile) |
FileDictionary(java.io.Reader reader)
Creates a dictionary based on a reader.
|
Modifier and Type | Method and Description |
---|---|
TermFreqIterator |
getWordsIterator()
Return all words present in the dictionary
|
public FileDictionary(java.io.InputStream dictFile)
public FileDictionary(java.io.Reader reader)
public TermFreqIterator getWordsIterator()
Dictionary
getWordsIterator
in interface Dictionary
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.