UNPKG

360 BTypeScriptView Raw
1import {ExtractionOptions, GetStopwordsOptions} from "./lib/keyword_extractor";
2
3/**
4 * Tools for extracting keywords from a string by removing stopwords.
5 */
6declare const keyword_extractor: {
7 extract: (str: string, options?: ExtractionOptions) => string[];
8 getStopwords: (options?: GetStopwordsOptions) => string[];
9};
10
11export default keyword_extractor;