public class German98Dictionary extends SimpleDictionary
Constructor and Description |
---|
German98Dictionary(File aDict,
File aAffix,
String aEncoding) |
German98Dictionary(InputStream aDictStream,
InputStream aAffixStream,
String aEncoding) |
Modifier and Type | Method and Description |
---|---|
protected List<String> |
buildWords(String aWord,
char[] aFlags)
Uses affixes to build new words
|
protected void |
readAffixFile(BufferedReader aReader)
Reads the affix file and processes the data
|
protected Set<String> |
readFileToSet(BufferedReader aReader)
Reads the dictionary to set
|
contains, getAll, setWords
public German98Dictionary(File aDict, File aAffix, String aEncoding) throws IOException
IOException
public German98Dictionary(InputStream aDictStream, InputStream aAffixStream, String aEncoding) throws IOException
IOException
protected Set<String> readFileToSet(BufferedReader aReader) throws IOException
SimpleDictionary
readFileToSet
in class SimpleDictionary
aReader
- a reader,IOException
- if an I/O error occurs.protected void readAffixFile(BufferedReader aReader)
aReader
- a reader.Copyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.