All Downloads are FREE. Search and download functionalities are using the official Maven repository.

water.bindings.pojos.SynonymV3 Maven / Gradle / Ivy

There is a newer version: 3.8.2.11
Show newest version
package water.bindings.pojos;

import com.google.gson.Gson;
public class SynonymV3 extends Schema {
    /** A word2vec model key. */
    public ModelKeyV3 key;

    /** The target string to find synonyms. */
    public String target;

    /** Find the top `cnt` synonyms of the target word. */
    public int cnt;

    /** The synonyms. */
    public String[] synonyms;

    /** The cosine similarities. */
    public float[] cos_sim;

    /** Return the contents of this object as a JSON String. */
    @Override
    public String toString() {
        return new Gson().toJson(this);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy