public final class LanguageDictionaryParser extends Object
During parsing, all state is kept in the DictionaryLoaderData object, which annotates the LanguageDictionary with alias information
| Constructor and Description |
|---|
LanguageDictionaryParser(LanguageLabelSetDescriptor.GrammaticalLabelSetDescriptor dictDesc,
HumanLanguage language,
GrammaticalLabelSetProvider parentProvider)
Parse and load the dictionary for the descriptor with the given language
|
| Modifier and Type | Method and Description |
|---|---|
LanguageDictionary |
getDictionary() |
public LanguageDictionaryParser(LanguageLabelSetDescriptor.GrammaticalLabelSetDescriptor dictDesc, HumanLanguage language, GrammaticalLabelSetProvider parentProvider) throws IOException
dictDesc - the description of the location of the grammatical labellanguage - the dictionary to stat withIOExceptionpublic LanguageDictionary getDictionary()
Copyright (c) 2016-2017, Salesforce.com, Inc. All rights reserved. Licensed under the BSD 3-Clause license. For full license text, see the LICENSE.txt file in the repository.