LDA++
|
#include <Document.hpp>
Public Member Functions | |
virtual const std::shared_ptr< const Corpus > | get_corpus () const =0 |
virtual const Eigen::VectorXi & | get_words () const =0 |
template<typename T > | |
const std::shared_ptr< const T > | get_corpus () const |
A Document is the minimal document needed for any type of LDA implementation.
It is meant to abstract away the source of the document data and the storage type etc.
|
pure virtual |
Implemented in ldaplusplus::corpus::ClassificationDecorator, and ldaplusplus::corpus::EigenDocument.
|
inline |
|
pure virtual |
Implemented in ldaplusplus::corpus::ClassificationDecorator, and ldaplusplus::corpus::EigenDocument.