Class BabelExampleComparator

java.lang.Object
it.uniroma1.lcl.babelnet.data.BabelExampleComparator
All Implemented Interfaces:
Comparator<BabelExample>

public class BabelExampleComparator extends Object implements Comparator<BabelExample>
Comparator for BabelExamples which sorts by sources.
Author:
navigli
  • Constructor Details

    • BabelExampleComparator

      public BabelExampleComparator(BabelSense mainSense)
      Creates the example comparator with the sense the examples refer to
      Parameters:
      mainSense - the sense the examples refer to
    • BabelExampleComparator

      public BabelExampleComparator()
      Creates the example comparator
  • Method Details