gr.demokritos.iit.jinsect.documentModel
Interface ITextPrint

All Known Subinterfaces:
ILoadableTextPrint
All Known Implementing Classes:
NGramCategory, NGramDistroDocument, NGramDocument, NGramGaussNormDocument, NGramGaussNormSymWinDocument, NGramHistoDocument, NGramSymWinDocument, SimpleTextCategory, SimpleTextDistroDocument, SimpleTextDocument, SimpleTextHistoDocument, TextPrintImpl

public interface ITextPrint

Describes a text representation that is based on a DocumentNGramHistogram and a DocumentNGramGraph.


Method Summary
 DocumentNGramGraph getDocumentGraph()
          Should return the graph corresponding to the text representation.
 DocumentNGramHistogram getDocumentHistogram()
          Should return the histogram corresponding to the text representation.
 void setDocumentGraph(DocumentNGramGraph idgNew)
          Should set the histogram corresponding to the text representation.
 void setDocumentHistogram(DocumentNGramHistogram idnNew)
          Should set the histogram corresponding to the text representation.
 

Method Detail

getDocumentHistogram

DocumentNGramHistogram getDocumentHistogram()
Should return the histogram corresponding to the text representation.

Returns:
An n-gram histogram representing a text.

setDocumentHistogram

void setDocumentHistogram(DocumentNGramHistogram idnNew)
Should set the histogram corresponding to the text representation.

Parameters:
idnNew - The n-gram histogram to replace the existing one.

getDocumentGraph

DocumentNGramGraph getDocumentGraph()
Should return the graph corresponding to the text representation.

Returns:
A document n-gram graph representing a text.

setDocumentGraph

void setDocumentGraph(DocumentNGramGraph idgNew)
Should set the histogram corresponding to the text representation.

Parameters:
idgNew - The n-gram graph to replace the existing one.