Package edu.stanford.nlp.sempre.fbalignment.lexicons.normalizers

Examples of edu.stanford.nlp.sempre.fbalignment.lexicons.normalizers.PrepDropNormalizer.normalize()


public class PrepDropNormalizerTest {
 
  @Test
  public void normalization() {
    PrepDropNormalizer normalizer = new PrepDropNormalizer();
    assertEquals("interested",normalizer.normalize("interested in"));
    assertEquals("interested", normalizer.normalize("interested at"));
    assertEquals("blow up",normalizer.normalize("blow up in"));
    assertEquals("blow up the",normalizer.normalize("blow up the to"));
  }
}
View Full Code Here


 
  @Test
  public void normalization() {
    PrepDropNormalizer normalizer = new PrepDropNormalizer();
    assertEquals("interested",normalizer.normalize("interested in"));
    assertEquals("interested", normalizer.normalize("interested at"));
    assertEquals("blow up",normalizer.normalize("blow up in"));
    assertEquals("blow up the",normalizer.normalize("blow up the to"));
  }
}
View Full Code Here

  @Test
  public void normalization() {
    PrepDropNormalizer normalizer = new PrepDropNormalizer();
    assertEquals("interested",normalizer.normalize("interested in"));
    assertEquals("interested", normalizer.normalize("interested at"));
    assertEquals("blow up",normalizer.normalize("blow up in"));
    assertEquals("blow up the",normalizer.normalize("blow up the to"));
  }
}
View Full Code Here

  public void normalization() {
    PrepDropNormalizer normalizer = new PrepDropNormalizer();
    assertEquals("interested",normalizer.normalize("interested in"));
    assertEquals("interested", normalizer.normalize("interested at"));
    assertEquals("blow up",normalizer.normalize("blow up in"));
    assertEquals("blow up the",normalizer.normalize("blow up the to"));
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.