|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttml.corpus.Corpus
tml.corpus.SentenceCorpus
public class SentenceCorpus
Class representing a corpus formed with the sentences of a document
Nested Class Summary |
---|
Nested classes/interfaces inherited from class tml.corpus.Corpus |
---|
Corpus.PassageFreqs |
Constructor Summary | |
---|---|
SentenceCorpus(TextDocument document)
|
Method Summary | |
---|---|
void |
load(Repository storage)
Loads the content of the documents in the query and creates the term-doc matrix |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SentenceCorpus(TextDocument document) throws java.lang.Exception
document
- the document to which the sentences belong
java.lang.Exception
- if the document is nullMethod Detail |
---|
public void load(Repository storage) throws NotEnoughTermsInCorpusException, java.io.IOException, NoDocumentsInCorpusException, TermWeightingException
Corpus
load
in class Corpus
NotEnoughTermsInCorpusException
java.io.IOException
NoDocumentsInCorpusException
TermWeightingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |