gr.demokritos.iit.jinsect.documentModel.representations
Class DocumentWordGraph
java.lang.Object
gr.demokritos.iit.jinsect.documentModel.representations.DocumentNGramGraph
gr.demokritos.iit.jinsect.documentModel.representations.DocumentWordGraph
- All Implemented Interfaces:
- IMergeable<DocumentNGramGraph>, java.io.Serializable, java.lang.Cloneable
public class DocumentWordGraph
- extends DocumentNGramGraph
- See Also:
- Serialized Form
Method Summary |
void |
createGraphs()
Creates the graph of n-grams, for all the levels specified in the MinSize, MaxSize range. |
void |
deleteItem(java.lang.String sItem)
Removes an item (node) from all graphs. |
Methods inherited from class gr.demokritos.iit.jinsect.documentModel.representations.DocumentNGramGraph |
allNotIn, calcCoexistenceImportance, calcCoexistenceImportance, clone, createEdgesConnecting, createWeightedEdgesConnecting, degrade, degredationDegree, getAllNodes, getDataString, getGraphLevel, getGraphLevelByNGramSize, getMaxSize, getMinSize, getWindowSize, InitGraphs, intersectGraph, inverseIntersectGraph, isEmpty, length, loadDataStringFromFile, main, merge, mergeGraph, nullify, prune, setDataString, toCooccurenceText |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TokenGenerator
public TokenGeneratorListener TokenGenerator
DeletionNotificationListener
public NotificationListener DeletionNotificationListener
DocumentWordGraph
public DocumentWordGraph()
- Creates a new instance of DocumentWordGraph
DocumentWordGraph
public DocumentWordGraph(int iMinSize,
int iMaxSize,
int iCorrelationWindow)
createGraphs
public void createGraphs()
- Description copied from class:
DocumentNGramGraph
- Creates the graph of n-grams, for all the levels specified in the MinSize, MaxSize range.
- Overrides:
createGraphs
in class DocumentNGramGraph
deleteItem
public void deleteItem(java.lang.String sItem)
- Description copied from class:
DocumentNGramGraph
- Removes an item (node) from all graphs.
- Overrides:
deleteItem
in class DocumentNGramGraph
- Parameters:
sItem
- The item to remove.