public class SynonymV1 extends water.api.Schema<SynonymsHandler.Synonyms,SynonymV1>
| Modifier and Type | Field and Description |
|---|---|
int |
cnt |
float[] |
cos_sim |
water.Key |
key |
java.lang.String[] |
synonyms |
java.lang.String |
target |
| Constructor and Description |
|---|
SynonymV1() |
acceptsFrame, createAndFillImpl, createImpl, extractVersion, fillFromImpl, fillFromParms, fillImpl, getImplClass, getImplClass, markdown, markdown, register@API(help="A word2vec model key.") public water.Key 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