UNPKG

synonym-optimizer

Version:

Finds the text which has the least number of repetitions

16 lines (15 loc) 401 B
/** * @license * Copyright 2019 Ludan Stoecklé * SPDX-License-Identifier: Apache-2.0 */ export interface Stemmer { stemWord: (arg0: string) => string; } export declare abstract class LanguageSyn { iso2: string; stemmer: Stemmer | null; constructor(iso2: string, stemmer: Stemmer | null); abstract getStandardStopWords(): string[]; extractWords(input: string): string[]; }