Package com.yahoo.language.process
Class Embedder.Context
java.lang.Object
com.yahoo.language.process.Embedder.Context
- Enclosing interface:
- Embedder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
Returns the name of the recipient of this tensor.Return the embedder id or 'unknown' if not setReturns the language of the text, or UNKNOWN (default) to use a language independent embeddingsetDestination
(String destination) Sets the name of the recipient of this tensor.setEmbedderId
(String embedderId) Sets the embedder idsetLanguage
(Language language) Sets the language of the text, or UNKNOWN to use language independent embedding
-
Constructor Details
-
Context
-
-
Method Details
-
copy
-
getLanguage
Returns the language of the text, or UNKNOWN (default) to use a language independent embedding -
setLanguage
Sets the language of the text, or UNKNOWN to use language independent embedding -
getDestination
Returns the name of the recipient of this tensor. This is either a query feature name ("query(feature)"), or a schema and field name concatenated by a dot ("schema.field"). This cannot be null. -
setDestination
Sets the name of the recipient of this tensor. This is either a query feature name ("query(feature)"), or a schema and field name concatenated by a dot ("schema.field"). -
getEmbedderId
Return the embedder id or 'unknown' if not set -
setEmbedderId
Sets the embedder id
-