tml.corpus
Class ParagraphCorpus

java.lang.Object
  extended by tml.corpus.Corpus
      extended by tml.corpus.ParagraphCorpus
All Implemented Interfaces:
java.lang.Cloneable

public class ParagraphCorpus
extends Corpus

Corpus that represents the paragraphs of a TextDocument

Author:
Jorge Villalon

Nested Class Summary
 
Nested classes/interfaces inherited from class tml.corpus.Corpus
Corpus.PassageFreqs
 
Constructor Summary
ParagraphCorpus(TextDocument document)
           
 
Method Summary
 
Methods inherited from class tml.corpus.Corpus
getDimensions, getDocStats, getFilename, getIndexOfTerm, getLuceneQuery, getName, getNonzeros, getParameters, getPassageFrequencies, getPassages, getPassagesLuceneIds, getProcessingTime, getRepository, getSemanticSpace, getTermDocMatrix, getTermEntropies, getTerms, getTermStats, isDbAnnotations, isProjection, load, parametersSummary, printFrequencies, projectCorpus, setDbAnnotations, setDocStats, setName, setParameters, setProjection, setTermEntropies, setTermStats, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParagraphCorpus

public ParagraphCorpus(TextDocument document)
                throws java.lang.Exception
Parameters:
document - the TextDocument to which the paragraphs belong
Throws:
java.lang.Exception - if the document is null