A Java interface to the Datamuse API, written by Thomas Winters
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.
DatamuseCaller caller = new DatamuseCaller();
DatamuseQuery query = (new DatamuseQuery())
.relatedAdjectiveFor("water")
.withinTopicHint("ocean","temperature")
.startingWith("s");
List<DatamuseWord> words = caller.call(query);