write(_:language:to:)
Creates a gazetteer from a set of labels for terms represented by a dictionary and saves the gazetteer to a file.
Declaration
class func write(_ dictionary: [String : [String]], language: NLLanguage?, to url: URL) throwsParameters
- dictionary:
The dictionary of labels and an array of terms for each label.
- language:
The language of the text in the dictionary.
- url:
The location in the file system to which the file should be written.