Package cc.mallet.topics
Class AbstractTopicReports
- java.lang.Object
-
- cc.mallet.topics.AbstractTopicReports
-
- All Implemented Interfaces:
TopicReports
- Direct Known Subclasses:
JSONTopicReports
public abstract class AbstractTopicReports extends java.lang.Object implements TopicReports
-
-
Constructor Summary
Constructors Constructor Description AbstractTopicReports(ParallelTopicModel model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
printDenseDocumentTopics(java.io.File file)
void
printDenseDocumentTopics(java.io.PrintWriter out)
void
printDocumentTopics(java.io.File file, double threshold, int max)
void
printDocumentTopics(java.io.PrintWriter out, double threshold, int max)
void
printSamplingState(java.io.File file)
void
printSamplingState(java.io.PrintWriter out)
void
printSummary(java.io.File file, int numWords)
void
printSummary(java.io.PrintWriter out, int numWords)
void
printTopicDocuments(java.io.File file, int max)
void
printTopicDocuments(java.io.PrintWriter out, int max)
void
printTopicPhrases(java.io.File file, int numWords)
void
printTopicPhrases(java.io.PrintWriter out, int numWords)
void
printTopicWordWeights(java.io.File file)
void
printTopicWordWeights(java.io.PrintWriter out)
void
printTypeTopicCounts(java.io.File file)
void
printTypeTopicCounts(java.io.PrintWriter out)
-
-
-
Constructor Detail
-
AbstractTopicReports
public AbstractTopicReports(ParallelTopicModel model)
-
-
Method Detail
-
printSamplingState
public void printSamplingState(java.io.PrintWriter out) throws java.io.IOException
- Specified by:
printSamplingState
in interfaceTopicReports
- Throws:
java.io.IOException
-
printTopicDocuments
public void printTopicDocuments(java.io.PrintWriter out, int max) throws java.io.IOException
- Specified by:
printTopicDocuments
in interfaceTopicReports
- Throws:
java.io.IOException
-
printDocumentTopics
public void printDocumentTopics(java.io.PrintWriter out, double threshold, int max) throws java.io.IOException
- Specified by:
printDocumentTopics
in interfaceTopicReports
- Throws:
java.io.IOException
-
printDenseDocumentTopics
public void printDenseDocumentTopics(java.io.PrintWriter out) throws java.io.IOException
- Specified by:
printDenseDocumentTopics
in interfaceTopicReports
- Throws:
java.io.IOException
-
printTopicWordWeights
public void printTopicWordWeights(java.io.PrintWriter out) throws java.io.IOException
- Specified by:
printTopicWordWeights
in interfaceTopicReports
- Throws:
java.io.IOException
-
printTypeTopicCounts
public void printTypeTopicCounts(java.io.PrintWriter out) throws java.io.IOException
- Specified by:
printTypeTopicCounts
in interfaceTopicReports
- Throws:
java.io.IOException
-
printTopicPhrases
public void printTopicPhrases(java.io.PrintWriter out, int numWords) throws java.io.IOException
- Specified by:
printTopicPhrases
in interfaceTopicReports
- Throws:
java.io.IOException
-
printSummary
public void printSummary(java.io.PrintWriter out, int numWords) throws java.io.IOException
- Specified by:
printSummary
in interfaceTopicReports
- Throws:
java.io.IOException
-
printSamplingState
public void printSamplingState(java.io.File file) throws java.io.IOException
- Specified by:
printSamplingState
in interfaceTopicReports
- Throws:
java.io.IOException
-
printTopicDocuments
public void printTopicDocuments(java.io.File file, int max) throws java.io.IOException
- Specified by:
printTopicDocuments
in interfaceTopicReports
- Throws:
java.io.IOException
-
printDocumentTopics
public void printDocumentTopics(java.io.File file, double threshold, int max) throws java.io.IOException
- Specified by:
printDocumentTopics
in interfaceTopicReports
- Throws:
java.io.IOException
-
printDenseDocumentTopics
public void printDenseDocumentTopics(java.io.File file) throws java.io.IOException
- Specified by:
printDenseDocumentTopics
in interfaceTopicReports
- Throws:
java.io.IOException
-
printTopicWordWeights
public void printTopicWordWeights(java.io.File file) throws java.io.IOException
- Specified by:
printTopicWordWeights
in interfaceTopicReports
- Throws:
java.io.IOException
-
printTypeTopicCounts
public void printTypeTopicCounts(java.io.File file) throws java.io.IOException
- Specified by:
printTypeTopicCounts
in interfaceTopicReports
- Throws:
java.io.IOException
-
printTopicPhrases
public void printTopicPhrases(java.io.File file, int numWords) throws java.io.IOException
- Specified by:
printTopicPhrases
in interfaceTopicReports
- Throws:
java.io.IOException
-
printSummary
public void printSummary(java.io.File file, int numWords) throws java.io.IOException
- Specified by:
printSummary
in interfaceTopicReports
- Throws:
java.io.IOException
-
-