} else {
// set valid word
entry.setComplete();
// update entry meta data
this.idCounter++;
EntryMetaData metaData = new EntryMetaDataImpl(this.idCounter);
entry.setEntryMetaData(metaData);
return this.idCounter;
}
}
// increase ID counter
this.idCounter++;
// create new entry meta data object and add ID
EntryMetaData metaData = new EntryMetaDataImpl(this.idCounter);
HashMap<String, DictionaryEntry> currentMap = this.dictionary;
// iterate over all multi-word tokens and add them to the dictionary
for (int i = 0; i < multiWord.length; i++) {