extract-topics

Use LDA (Latent Dirichlet Allocation) to extract topics from text

An npm package that uses Latent Dirichlet Allocation (LDA) for topic modeling on text inputs. The main extractTopics(text, options) function analyzes input text and returns a Promise resolving to the LDA result, with options for the number of topics to extract and the number of terms per topic. LDA is an unsupervised learning method that discovers topics in documents, viewing each document as a random mixture over latent topics where every topic is characterized by a distribution over words.

Install

Install dependencies:

npm install extractTopics