.getFile("DictionaryBuilderTests/MultiWordsSpecialMultiWordSeparator.xml");
InputStream stream = new BufferedInputStream(
new FileInputStream(dictFile));
// create dictionary
HashMapDictionaryBuilder dictBuilder = new HashMapDictionaryBuilder();
// create dictionary file parser
DictionaryFileParser fileParser = new DictionaryFileParserImpl();
fileParser.parseDictionaryFile(dictFile.getAbsolutePath(), stream,
dictBuilder);
HashMapDictionary dict = (HashMapDictionary) dictBuilder.getDictionary();
// read dictionary entries
ArrayList<String> entries = getDictionaryEntries(dictFile);
for (int i = 0; i < entries.size(); i++) {
StringTokenizer tokenizer = new StringTokenizer(entries.get(i),
dictBuilder.getMultiWordSeparator());
ArrayList<String> list = new ArrayList<String>();
while (tokenizer.hasMoreTokens()) {
list.add(tokenizer.nextToken());
}