Package edu.stanford.nlp.sempre

Examples of edu.stanford.nlp.sempre.Stemmer


import static org.testng.AssertJUnit.assertEquals;

public class StemmerTest {
  @Test public void simpleStem() {
    Stemmer stemmer = new Stemmer();
    assertEquals("box", stemmer.stem("boxes"));
    assertEquals("creat", stemmer.stem("created"));
    assertEquals("citi", stemmer.stem("cities"));
  }
View Full Code Here

TOP

Related Classes of edu.stanford.nlp.sempre.Stemmer

Copyright © 2018 www.massapicom. 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.