// Path: src/edu/stanford/nlp/pipeline/NormalizerAnnotator.java
// public static class NormalizerAnnotation implements CoreAnnotation<String> {
//   public Class<String> getType() {
//     return String.class;
//   }
// }


import java.io.Serializable;
import java.util.Comparator;
import edu.stanford.nlp.ling.CoreLabel;
import edu.stanford.nlp.pipeline.NormalizerAnnotator.NormalizerAnnotation;
package hu.u_szeged.kpe.candidates;



/**
 * This class is responsible for the proper ordering of ExtendedWord objects, i.e. based on their normalized lemmas.
 */

public class CoreLabelComparator implements Comparator<CoreLabel>, Serializable {

  /**
   * 
   */
  private static final long serialVersionUID = 1L;

  @Override
  public int compare(CoreLabel labelA, CoreLabel labelB) {
// Path: src/edu/stanford/nlp/pipeline/NormalizerAnnotator.java
// public static class NormalizerAnnotation implements CoreAnnotation<String> {
//   public Class<String> getType() {
//     return String.class;
//   }
// }


// Path: src/hu/u_szeged/kpe/candidates/CoreLabelComparator.java
import java.io.Serializable;
import java.util.Comparator;
import edu.stanford.nlp.ling.CoreLabel;
import edu.stanford.nlp.pipeline.NormalizerAnnotator.NormalizerAnnotation;

package hu.u_szeged.kpe.candidates;



/**
 * This class is responsible for the proper ordering of ExtendedWord objects, i.e. based on their normalized lemmas.
 */

public class CoreLabelComparator implements Comparator<CoreLabel>, Serializable {

  /**
   * 
   */
  private static final long serialVersionUID = 1L;

  @Override
  public int compare(CoreLabel labelA, CoreLabel labelB) {
    String baseOfComparisonA = labelA.getString(NormalizerAnnotation.class);