array of strings get_thesaurus_keyphrases(
string id,
array of strings keyphrases,
boolean include_plurals,
string adult_filter,
integer depth,
integer max)
The adult filter has four levels which can be set with the following flags:
The following flags have been deprecated: 'include_adult' and 'exclude_adult'.
This filter is applied to the results before they are returned to you.
Enter a seed keyphrase and Wordtracker will generate an array of related terms. In order to generate the largest choice of suggestions the search includes synonyms, antonyms, hypernyms, hyponyms and meronyms. Currently single words work best as there is only a very limited database of phrases.
If include_plurals is true, then all search terms will also generate additional plural search forms before submission to the databasees. For example, the search term foot will also include a search for feet.
There are three ways to deal with adult terms. You may exclude them completely with 'exclude_adult'; include them as well with 'include_adult'; or fetch adult terms by themselves with 'adult_only'.
If depth is set to 1, then immediate synonyms, meronyms, antonyms, hypernym, hoonym, and sister terms are returned. If set higher, then more distant word forms are returned. A reasonable value is '3'.
The returned results are in the form of an XML-RPC struct. The keys are the original keyphrases and the values are the variations (including the original) of each keyphrase as a list. E.g. If we query with 'table' and 'fish' you will get back something like...
| Keyphrase | Variations |
|---|---|
| table | table, board, furniture, ... |
| fish | fish, aquatic vertebrate, Pisces, ... |