Package de.swa.gc
Class GraphCodeCollection
java.lang.Object
de.swa.gc.GraphCodeCollection
public class GraphCodeCollection
extends java.lang.Object
this class contains operations for Graph Code Collections, i.e. connected recursive lists of Graph Codes
- Author:
- stefan_wagenpfeil
-
Constructor Summary
Constructors Constructor Description GraphCodeCollection() -
Method Summary
Modifier and Type Method Description static GraphCodecalculateGCStop(java.util.Vector<GraphCode> collection, boolean fromCache)calculates the Graph Code of Stop-Words (i.e. irrelevant terms within the collection)static GraphCodegetCollectionGraphCode(GraphCode gc)returns the union of all Graph Codes of the collectionstatic GraphCodegetFeatureRelevantGraphCode(GraphCode gc1)returns the Feature Relevant Graph Code based on statistical relevance of the collection's Graph Codesstatic GraphCodegetSummaryGraphCode(GraphCode gc, int top)returns a summary of Graph Codes based on a ranking.static GraphCodegetUnion(java.util.Vector<GraphCode> gcs)returns the union of Graph Codesstatic GraphCodesubtract(GraphCode gc1, GraphCode gc2)subtracts one Graph Code from the other
-
Constructor Details
-
GraphCodeCollection
public GraphCodeCollection()
-
-
Method Details
-
getCollectionGraphCode
returns the union of all Graph Codes of the collection -
getFeatureRelevantGraphCode
returns the Feature Relevant Graph Code based on statistical relevance of the collection's Graph Codes -
subtract
subtracts one Graph Code from the other -
calculateGCStop
calculates the Graph Code of Stop-Words (i.e. irrelevant terms within the collection) -
getUnion
returns the union of Graph Codes -
getSummaryGraphCode
returns a summary of Graph Codes based on a ranking. The parameter top indicates the Level Of Detail
-