public class Dictionary extends Object
| Constructor and Description |
|---|
Dictionary(InputStream affix,
InputStream dictionary)
Creates a new Dictionary containing the information read from the provided InputStreams to hunspell affix
and dictionary files.
|
Dictionary(InputStream affix,
List<InputStream> dictionaries,
boolean ignoreCase)
Creates a new Dictionary containing the information read from the provided InputStreams to hunspell affix
and dictionary files.
|
public Dictionary(InputStream affix, InputStream dictionary) throws IOException, ParseException
affix - InputStream for reading the hunspell affix file (won't be closed).dictionary - InputStream for reading the hunspell dictionary file (won't be closed).IOException - Can be thrown while reading from the InputStreamsParseException - Can be thrown if the content of the files does not meet expected formatspublic Dictionary(InputStream affix, List<InputStream> dictionaries, boolean ignoreCase) throws IOException, ParseException
affix - InputStream for reading the hunspell affix file (won't be closed).dictionaries - InputStream for reading the hunspell dictionary files (won't be closed).IOException - Can be thrown while reading from the InputStreamsParseException - Can be thrown if the content of the files does not meet expected formatsCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.