Package org.aksw.palmetto
Class PairwiseTopicComparingSegmentator
- java.lang.Object
-
- org.aksw.palmetto.PairwiseTopicComparingSegmentator
-
- All Implemented Interfaces:
Segmentator
public class PairwiseTopicComparingSegmentator extends Object implements Segmentator
Simple example of a
Segmentatorthat gets a word set comprising two topics and creates aSegmentationDefinitionwith 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 Constructor Description PairwiseTopicComparingSegmentator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()SegmentationDefinitiongetSubsetDefinition(int wordsetSize)static voidmain(String[] args)
-
-
-
Method Detail
-
getSubsetDefinition
public SegmentationDefinition getSubsetDefinition(int wordsetSize)
- Specified by:
getSubsetDefinitionin interfaceSegmentator
-
getName
public String getName()
- Specified by:
getNamein interfaceSegmentator
-
main
public static void main(String[] args)
-
-