contains(_:)
Requests a Boolean value that indicates whether the term is in the vocabulary.
Declaration
func contains(_ string: String) -> BoolParameters
- string:
The term to search for in the word embedding.
Return Value
true if the term is in the word embedding’s vocabulary, otherwise false.