init(dictionary:language:)
Creates a gazetteer from a set of labels for terms represented by a dictionary.
Declaration
init(dictionary: [String : [String]], language: NLLanguage?) throwsParameters
- dictionary:
The dictionary of labels and an array of terms for each label.
- language:
The language of the text in the dictionary.