description:'Get synonyms for a German word in German',
},
],
default:'getSynonyms',
description:'The operation to perform.',
},
{
displayName:'Text',
name:'text',
type:'string',
default:'',
description:'The word to get synonyms for',
required: true,
displayOptions:{
show:{
operation:[
'getSynonyms',
],
},
},
},
{
displayName:'Options',
name:'options',
type:'collection',
placeholder:'Add Options',
displayOptions:{
show:{
operation:[
'getSynonyms',
],
},
},
default:{},
options:[
{
displayName:'Baseform',
name:'baseform',
type:'boolean',
default:false,
description:'Specifies the basic form for the search term if it is not already a basic form.',
},
{
displayName:'Similar',
name:'similar',
type:'boolean',
default:false,
description:'This also returns up to five similarly written words for each answer.</br> This is useful to be able to make a suggestion to the user in the event of a possible typing error.',
},
{
displayName:'Starts With',
name:'startswith',
type:'boolean',
default:false,
description:'Like substring = true, but only finds words that begin with the specified search term.',
},
{
displayName:'Substring',
name:'substring',
type:'boolean',
default:false,
description:'With this, up to ten words are returned for each answer that only contain the search term as a partial word.',
},
{
displayName:'Substring From Results',
name:'substringFromResults',
type:'number',
default:0,
description:'Specifies from which entry the partial word hits are to be returned.</br> Only works together with substring = true.',
},
{
displayName:'Substring Max Results',
name:'substringMaxResults',
type:'number',
typeOptions:{
maxValue: 250,
},
default:10,
description:'Specifies how many partial word hits should be returned in total.</br> Only works together with substring = true.',
},
{
displayName:'Subsynsets',
name:'subsynsets',
type:'boolean',
default:false,
description:'Indicates that each synonym group has its (optional) sub-terms supplied.',
},
{
displayName:'Supersynsets',
name:'supersynsets',
type:'boolean',
default:false,
description:'Indicates that each synonym group is supplied with its (optional) generic terms.',