keyword-extractor
Version:
Module for creating a keyword array from a string and excluding stop words.
13 lines (10 loc) • 398 B
TypeScript
import {ExtractionOptions, GetStopwordsOptions} from "./lib/keyword_extractor";
/**
* Tools for extracting keywords from a string by removing stopwords.
*/
declare const keyword_extractor: {
extract: (str: string, options?: ExtractionOptions) => string[];
getStopwords: (options?: GetStopwordsOptions) => string[];
supported_language_codes: string[];
};
export default keyword_extractor;