Expand description
Topic Model Extractor — production-quality collapsed Gibbs sampling LDA.
Implements Latent Dirichlet Allocation (LDA) via collapsed Gibbs sampling for
unsupervised topic discovery over text corpora. All randomness is driven by
an xorshift64 PRNG so the implementation is 100 % pure-Rust with no rand
dependency.
Structs§
- Extractor
Config - Configuration for
TopicModelExtractor. - Extractor
Document Topics - Per-document topic distribution produced by the extractor.
- Extractor
Topic - A single latent topic produced by the extractor.
- Extractor
Topic Word - A word and its probability / raw count within a topic.
- Model
Stats - Aggregate model statistics.
- Topic
Model Extractor - Production-quality collapsed Gibbs sampling LDA topic extractor.
Enums§
- Extractor
Error - Errors that can be returned by
TopicModelExtractor.
Type Aliases§
- TmeDocument
Topics - Type alias for
ExtractorDocumentTopics— avoids collision withDocumentTopicsfromtopic_modeler. - TmeError
- Type alias for
ExtractorError— convenience alias. - TmeTopic
- Type alias for
ExtractorTopic— convenience alias. - TmeTopic
Word - Type alias for
ExtractorTopicWord— avoids collision withTopicWordfromtopic_modeler.