Interface OpenThesaurusNodeParameters

Source
interface OpenThesaurusNodeParameters {
    operation?: "getSynonyms";
    options?: {
        baseform?: boolean;
        similar?: boolean;
        startswith?: boolean;
        substring?: boolean;
        substringFromResults?: number;
        substringMaxResults?: number;
        subsynsets?: boolean;
        supersynsets?: boolean;
    };
    text?: string;
}

Properties§

Source§

readonly operation?: "getSynonyms"

Default: "getSynonyms"

Source§

readonly options?: {
    baseform?: boolean;
    similar?: boolean;
    startswith?: boolean;
    substring?: boolean;
    substringFromResults?: number;
    substringMaxResults?: number;
    subsynsets?: boolean;
    supersynsets?: boolean;
}

Default: {}

Source§

readonly text?: string

The word to get synonyms for