Client library for Word Associations API
npm install --save @datafire/wordassociations
let wordassociations = require('@datafire/wordassociations').create({
internalApiKey: ""
});
.then(data => {
console.log(data);
});
The Word Associations Network API allows developers to embed the ability to find associations for a word or phrase into their mobile apps or web services. Words are grouped by semantics, meaning, and psychological perception. The Word Associations Network API currently supports English, French, Spanish, German, Italian, Portuguese, and Russian vocabulary. Please register and subscribe to one of available tariff plans to get a valid API key.
Gets associations with the given word or phrase.
wordassociations.json.search.get({
"text": [],
"lang": ""
}, context)
object
array
: Word or phrase to find associations with.string
(values: de, en, es, fr, it, pt, ru): Query language. Use language code for the language of the text:string
(values: stimulus, response): Type of result.integer
: Maximum number of results to return.array
: Parts of speech to return.string
(values: yes, no): Indentation switch for pretty printing of JSON response.Gets associations with the given word or phrase.
wordassociations.json.search.post({
"text": [],
"lang": ""
}, context)
object
array
: Word or phrase to find associations with.string
(values: de, en, es, fr, it, pt, ru): Query language. Use language code for the language of the text:string
(values: stimulus, response): Type of result.integer
: Maximum number of results to return.array
: Parts of speech to return.string
(values: yes, no): Indentation switch for pretty printing of JSON response.object
string
string
number
object
string
string
integer
string
array
string
string
object
array
string
Version | Tag | Published |
---|---|---|
5.0.0 | latest | 2yrs ago |