linguatools dictionary API

Overview

Translate API looks up a word in a dictionary and returns all translations ordered by frequency.

The API translates from and to German for the following languages:
English, Spanish, Dutch, Polish, Italian, and Czech.

Translate API allows to filter by word class and by minimum frequency.

How to use Linguatools Translate API

Connect to API

URL parameters:
GET /?langpair={lang1-lang2}&query={word}&wortart={wordclass}&min_freq={number}

 

parameter description parameter value
query any word (case insensitive) e.g. change
langpair One of the following combinations (case sensitive): de-en, de-es, de-nl, de-pl, de-it, de-cs,
en-de, es-de, nl-de, pl-de, it-de cs-de
wortart One of the following word classes (case sensitive, optional): NOMEN, ADJ, VERB, ADVERB
min_freq any number 1,2,3,75334 , etc.

Test the API

Test the test API with:

  • langpair: en-de
  • query: change
  • wortart: VERB (optional)

You can test the API and develop your own application – for free – after sign up in RapidAPI

Link to API on RapidApi: https://rapidapi.com/petapro/api/linguatools-translate

Pricing

The „BASIC“ plan on RapidAPI with 1.000 requests/month is free.

API response

l1_text: german word
l2_text: translation of the german word
wortart: word class (NOMEN (=noun), ADJ, VERB, ADVERB)
synonyme1: „Synonyms“ for the translation of the German word, created by collecting the alternative translations. For instance, the words car, auto, automobile, motor vehicle, motorcar are all translations of the German word Auto and thus can be regarded as „synonyms“.
synomyme2: „Synonyms“ for the German word, created by collecting alternative translations of the translation of the German word.
freq: The number specifies how often the translation was used in our database of translated documents. The higher the number the more common the translation.
Note: Since there is always noise in the dictionary sources as well as in the translated documents, in order to make sure that you only get correct translations you can set the query parameter min_freq (minimum frequency) to 1 to get only translations that have occurred at least once in our corpus. Compare the result of the two api calls with and without min_freq:

Without min_freq:
https://lt-translate-test.herokuapp.com/?langpair=en-de&query=change&wortart=VERB

With min_freq = 15000:
https://lt-translate-test.herokuapp.com/?langpair=en-de&query=change&wortart=VERB&min_freq=15000

http request & code snippets

RapidAPI provides programming examples for many programming languages like Node.js, Ruby, Java, JavaScript, Python etc. how to use the API.

Terms of Use

Link: Terms of Use

Pricing

The „BASIC“ plan on RapidAPI with 1.000 requests/month is free.

Dictionary sources

The dictionary is compiled from the following sources:

Number of translations in the complete dictionary database and Online Query

lanpair Online-Query Number of translations
de-en/en-de German-English Dict 900,000
de-es/es-de German-Spanish Dict

400,000

de-it/it-de German-Italian Dict 450,000
de-nl/nl-de German-Dutch Dict 400,000
de-pl/pl-de German-Polish Dict 62,000
de-cs/cs-de German-Czech Dict 94,000

 

Examples of use

Fluentwords dictionary: https://fluentwords.net/en/dictionary

linguatools context dictionaries:
German-Englisch, German-Spanish, German-Polish, German-Czech, German-Dutch, German-Italian


Other language APIs by linguatools: https://linguatools.org/language-apis/