fast-topics
Version:
Unsupervised topic extraction from text using Latent Dirichlet Allocation in WebAssembly
12 lines (11 loc) • 385 B
TypeScript
/**
* Options for getTopics, such as how many topics to extract.
*/
export interface GetTopicsOptions {
/** the number of topics to extract */
numberOfTopics: number;
/** the minimum rank for a word to be included in a topic */
topicsMinWordRank: number;
/** the minimum rank for a document to be tagged with a topic */
docsMinTopicRank: number;
}