NaturalLanguage iOS 12.4 to 13.0 API Differences
NLEmbedding.h
Added
NLDistanceType
Added
NLDistanceTypeCosine
Added
NLDistance
Added
NLEmbedding
Added
+[NLEmbedding wordEmbeddingForLanguage:]
Added
+[NLEmbedding wordEmbeddingForLanguage:revision:]
Added
+[NLEmbedding embeddingWithContentsOfURL:error:]
Added
-[NLEmbedding containsString:]
Added
-[NLEmbedding distanceBetweenString:andString:distanceType:]
Added
-[NLEmbedding enumerateNeighborsForString:maximumCount:distanceType:usingBlock:]
Added
-[NLEmbedding enumerateNeighborsForString:maximumCount:maximumDistance:distanceType:usingBlock:]
Added
-[NLEmbedding neighborsForString:maximumCount:distanceType:]
Added
-[NLEmbedding neighborsForString:maximumCount:maximumDistance:distanceType:]
Added
-[NLEmbedding vectorForString:]
Added
-[NLEmbedding getVector:forString:]
Added
-[NLEmbedding enumerateNeighborsForVector:maximumCount:distanceType:usingBlock:]
Added
-[NLEmbedding enumerateNeighborsForVector:maximumCount:maximumDistance:distanceType:usingBlock:]
Added
-[NLEmbedding neighborsForVector:maximumCount:distanceType:]
Added
-[NLEmbedding neighborsForVector:maximumCount:maximumDistance:distanceType:]
Added
NLEmbedding.dimension
Added
NLEmbedding.vocabularySize
Added
NLEmbedding.language
Added
NLEmbedding.revision
Added
+[NLEmbedding supportedRevisionsForLanguage:]
Added
+[NLEmbedding currentRevisionForLanguage:]
Added
+[NLEmbedding writeEmbeddingForDictionary:language:revision:toURL:error:]
NLGazetteer.h
Added
NLGazetteer
Added
+[NLGazetteer gazetteerWithContentsOfURL:error:]
Added
-[NLGazetteer initWithContentsOfURL:error:]
Added
-[NLGazetteer initWithData:error:]
Added
-[NLGazetteer initWithDictionary:language:error:]
Added
-[NLGazetteer labelForString:]
Added
NLGazetteer.language
Added
NLGazetteer.data
Added
+[NLGazetteer writeGazetteerForDictionary:language:toURL:error:]
NLTagger.h
Added
-[NLTagger setGazetteers:forTagScheme:]
Added
-[NLTagger gazetteersForTagScheme:]
Added
NLTaggerAssetsResult
Added
NLTaggerAssetsResultAvailable
Added
NLTaggerAssetsResultNotAvailable
Added
NLTaggerAssetsResultError
Added
+[NLTagger requestAssetsForLanguage:tagScheme:completionHandler:]
NLTagScheme.h
Added
NLTagSchemeSentimentScore