write(_:language:revision:to:)
Exports the word embedding contained within a Core ML model file at the given URL.
Declaration
@nonobjc class func write(_ dictionary: [String : [Double]], language: NLLanguage?, revision: Int, to url: URL) throwsParameters
- dictionary:
A dictionary of terms, and their vectors, which are represented by an array of doubles.
- language:
The language of the text in the word embedding.
- revision:
The revision of the word embedding.
- url:
The location in the file system to write the file to.