public class PairwiseTopicComparingSegmentator extends Object implements 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
| Constructor and Description |
|---|
PairwiseTopicComparingSegmentator() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
SegmentationDefinition |
getSubsetDefinition(int wordsetSize) |
static void |
main(String[] args) |
public SegmentationDefinition getSubsetDefinition(int wordsetSize)
getSubsetDefinition in interface Segmentatorpublic String getName()
getName in interface Segmentatorpublic static void main(String[] args)
Copyright © 2014–2016. All rights reserved.