Find Similar Terms
openthesaurus.similar_terms
ActionBusiness appsconnection required
Calls the OpenThesaurus API with the connection's credentials.
Find German words spelled similarly to a term, with their edit distance.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- No auth
- Providers
- OpenThesaurus
- Secret shape
- no credential — OpenThesaurus' API is public; the connection is a contact and a host
- Config it needs
- contact, base_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
term The German word to look up, as a single term rather than a sentence. | string | Yes | — | — | Test |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"term": "Test"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
term The term that was looked up. | string | — |
found False when nothing is spelled close enough to the term; branch on this. | boolean | — |
matches The similar words, closest spelling first. | array | — |
matches[].term The similarly spelled word. | string | — |
matches[].distance The Levenshtein distance from the term, so 1 is a single-letter difference. | number | — |
count How many similar words were returned. | number | — |
meta.api_version The API version OpenThesaurus reported. | string | — |
meta.source The service the entries came from. | string | — |
meta.license The licence the returned entries are published under. | string | — |
meta.date When OpenThesaurus generated the response. | string | — |
{
"count": 0,
"found": false,
"matches": [
{
"distance": 0,
"term": ""
}
],
"meta": {
"api_version": "",
"date": "",
"license": "",
"source": ""
},
"term": ""
}Notes
- OpenThesaurus returns at most five similar words, which makes this a cheap spell-check before a synonym lookup that found nothing.
- OpenThesaurus is a German thesaurus; the term and every result are German.
- OpenThesaurus' API is public: the connection carries no credential and nothing is sent as authentication. It carries the contact address OpenThesaurus requires in the User-Agent header of every request.
- OpenThesaurus allows 60 requests per minute from one IP address and answers with an error beyond that; nothing here retries, so pace a loop that looks up many words.
Related OpenThesaurus nodes
See Find Similar Terms run in a workflow.
In a technical demo we add the OpenThesaurus connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.