|
Java example source code file (StemmingPreprocessorTest.java)
The StemmingPreprocessorTest.java Java example source codepackage org.deeplearning4j.text.tokenization.tokenizer.preprocessor; import org.junit.Test; import static org.junit.Assert.*; /** * @author raver119@gmail.com */ public class StemmingPreprocessorTest { @Test public void testPreProcess() throws Exception { StemmingPreprocessor preprocessor = new StemmingPreprocessor(); String test = "TESTING."; String output = preprocessor.preProcess(test); System.out.println("Output: " + output); assertEquals("test", output); } } Other Java examples (source code examples)Here is a short list of links related to this Java StemmingPreprocessorTest.java source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.