wor
@datafire/wordassociations
npm i @datafire/wordassociations
wor

@datafire/wordassociations

Integration registry for DataFire

by DataFire

5.0.0 (see all)License:MITTypeScript:Not Found
npm i @datafire/wordassociations
Readme

@datafire/wordassociations

Client library for Word Associations API

Installation and Usage

npm install --save @datafire/wordassociations
let wordassociations = require('@datafire/wordassociations').create({
  internalApiKey: ""
});

.then(data => {
  console.log(data);
});

Description

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.

Actions

json.search.get

Gets associations with the given word or phrase.

wordassociations.json.search.get({
  "text": [],
  "lang": ""
}, context)

Input

  • input object
    • text required array: Word or phrase to find associations with.
    • lang required string (values: de, en, es, fr, it, pt, ru): Query language. Use language code for the language of the text:
    • type string (values: stimulus, response): Type of result.
    • limit integer: Maximum number of results to return.
    • pos array: Parts of speech to return.
    • indent string (values: yes, no): Indentation switch for pretty printing of JSON response.

Output

json.search.post

Gets associations with the given word or phrase.

wordassociations.json.search.post({
  "text": [],
  "lang": ""
}, context)

Input

  • input object
    • text required array: Word or phrase to find associations with.
    • lang required string (values: de, en, es, fr, it, pt, ru): Query language. Use language code for the language of the text:
    • type string (values: stimulus, response): Type of result.
    • limit integer: Maximum number of results to return.
    • pos array: Parts of speech to return.
    • indent string (values: yes, no): Indentation switch for pretty printing of JSON response.

Output

Definitions

Body

  • Body object
    • code integer
    • request Request
    • response array
    • version string

Item

  • Item object
    • item string
    • pos string
    • weight number

Request

  • Request object
    • indent string
    • lang string
    • limit integer
    • pos string
    • text array
      • items string
    • type string

Response

  • Response object
    • items array
    • text string

Downloads/wk

1

GitHub Stars

129

LAST COMMIT

2yrs ago

MAINTAINERS

1

CONTRIBUTORS

10

OPEN ISSUES

12

OPEN PRs

16
VersionTagPublished
5.0.0
latest
2yrs ago
No alternatives found
No tutorials found
Add a tutorial