Package org.aksw.palmetto
Class PairwiseTopicComparingSegmentator
java.lang.Object
org.aksw.palmetto.PairwiseTopicComparingSegmentator
- All Implemented Interfaces:
Segmentator
Simple example of a Segmentator that gets a word set comprising two
topics and creates a SegmentationDefinition with which every word of
one of the topics is compared to every other word of the other topic.
Note that the word set size passed to this Segmentator has to be even!
This class is part of https://github.com/AKSW/Palmetto/issues/2
- Author:
- Michael Röder (roeder@informatik.uni-leipzig.de)
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PairwiseTopicComparingSegmentator
public PairwiseTopicComparingSegmentator()
-
-
Method Details
-
getSubsetDefinition
- Specified by:
getSubsetDefinitionin interfaceSegmentator
-
getName
- Specified by:
getNamein interfaceSegmentator
-
main
-