Package hapax.test

Source Code of hapax.test.StopwordsTest

package hapax.test;

import static org.junit.Assert.assertTrue;

import org.junit.Test;
import org.junit.runner.RunWith;

import ch.akuhn.hapax.corpus.Stopwords;
import ch.unibe.jexample.JExample;


@RunWith(JExample.class)
public class StopwordsTest {
 
  @Test
  public void stopWords() {
    Stopwords basicEnglish = Stopwords.BASIC_ENGLISH;
    assertTrue(basicEnglish.contains("a"));
  }
 

}
TOP

Related Classes of hapax.test.StopwordsTest

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.