openThesaurus.json•3.85 kB
{
"nodeType": "n8n-nodes-base.openThesaurus",
"displayName": "OpenThesaurus",
"description": "Get synonmns for German words using the OpenThesaurus API",
"version": 1,
"properties": [
{
"name": "operation",
"displayName": "Operation",
"type": "options",
"default": "getSynonyms",
"description": "Get synonyms for a German word in German",
"options": [
{
"name": "Get Synonyms",
"value": "getSynonyms",
"description": "Get synonyms for a German word in German"
}
]
},
{
"name": "text",
"displayName": "Text",
"type": "string",
"default": "",
"description": "The word to get synonyms for",
"required": true,
"displayOptions": {
"show": {
"operation": [
"getSynonyms"
]
}
}
},
{
"name": "options",
"displayName": "Options",
"type": "collection",
"default": {},
"description": "Specifies the basic form for the search term if it is not already a basic form",
"placeholder": "Add option",
"options": [
{
"name": "baseform",
"displayName": "Baseform",
"type": "boolean",
"default": false,
"description": "Specifies the basic form for the search term if it is not already a basic form"
},
{
"name": "similar",
"displayName": "Similar",
"type": "boolean",
"default": false,
"description": "This also returns up to five similarly written words for each answer. This is useful to be able to make a suggestion to the user in the event of a possible typing error."
},
{
"name": "startswith",
"displayName": "Starts With",
"type": "boolean",
"default": false,
"description": "Like substring = true, but only finds words that begin with the specified search term"
},
{
"name": "substring",
"displayName": "Substring",
"type": "boolean",
"default": false,
"description": "Whether up to ten words are returned for each answer that only contain the search term as a partial word"
},
{
"name": "substringFromResults",
"displayName": "Substring From Results",
"type": "number",
"default": 0,
"description": "Specifies from which entry the partial word hits are to be returned. Only works together with substring = true."
},
{
"name": "substringMaxResults",
"displayName": "Substring Max Results",
"type": "number",
"default": 10,
"description": "Specifies how many partial word hits should be returned in total. Only works together with substring = true."
},
{
"name": "subsynsets",
"displayName": "Subsynsets",
"type": "boolean",
"default": false,
"description": "Whether each synonym group has its (optional) sub-terms supplied"
},
{
"name": "supersynsets",
"displayName": "Supersynsets",
"type": "boolean",
"default": false,
"description": "Whether each synonym group is supplied with its (optional) generic terms"
}
],
"typeOptions": {
"maxValue": 250
},
"displayOptions": {
"show": {
"operation": [
"getSynonyms"
]
}
}
}
],
"credentialsConfig": [],
"io": {
"inputs": [],
"outputs": [],
"outputNames": [],
"hints": {}
},
"wiring": {
"role": "generic",
"requires": [],
"optional": [],
"consumedBy": [],
"consumes": [],
"produces": []
}
}