Instance Property

revision

The revision of the word embedding.

Declaration

@property(readonly) NSUInteger revision;

See Also

Inspecting the Vocabulary of an Embedding

dimension

The number of dimensions in the vocabulary’s vector space.

vocabularySize

The number of words in the vocabulary.

language

The language of the text in the word embedding.

- containsString:

Requests a Boolean value that indicates whether the term is in the vocabulary.

- vectorForString:

Requests the vector for the given term.

- getVector:forString:

Copies a vector into the given a pointer to a float array.