public class SynonymV3 extends water.api.Schema<water.Iced,SynonymV3>
Modifier and Type | Field and Description |
---|---|
int |
cnt |
float[] |
cos_sim |
water.api.KeyV3.ModelKeyV3 |
key |
java.lang.String[] |
synonyms |
java.lang.String |
target |
Constructor and Description |
---|
SynonymV3() |
acceptsFrame, createAndFillImpl, createImpl, extractVersion, fillFromImpl, fillFromParms, fillImpl, getExperimentalVersion, getHighestSupportedVersion, getImplClass, getImplClass, getLatestVersion, getSchemaVersion, markdown, markdown, markdown, markdown, newInstance, register, registerAllSchemasIfNecessary, schema, schema, schema, schema, schema, schemaClass, schemaClass, schemaClass, schemaClass, schemas
@API(help="A word2vec model key.") public water.api.KeyV3.ModelKeyV3 key
@API(help="The target string to find synonyms.") public java.lang.String target
@API(help="Find the top `cnt` synonyms of the target word.") public int cnt
@API(help="The synonyms.", direction=OUTPUT) public java.lang.String[] synonyms
@API(help="The cosine similarities.", direction=OUTPUT) public float[] cos_sim