/datamuse-java

🖧📚 A Java interface to the Datamuse API, for finding related words within given constraints.

Primary LanguageJava

Datamuse-Java

A Java interface to the Datamuse API, written by Thomas Winters

Requirements

You need to use Gradle in order to get this project to compile, as it automatically downloads the required dependencies. This tool is usually already installed when using IntellIJ.

Example usage

DatamuseCaller caller = new DatamuseCaller();
DatamuseQuery query = (new DatamuseQuery())
        .relatedAdjectiveFor("water")
        .withinTopicHint("ocean","temperature")
        .startingWith("s");
List<DatamuseWord> words = caller.call(query);