public class InputHomogenization
extends java.lang.Object
Constructor and Description |
---|
InputHomogenization(java.lang.String input)
Input text to applyTransformToOrigin
|
InputHomogenization(java.lang.String input,
boolean preserveCase) |
InputHomogenization(java.lang.String input,
java.util.List<java.lang.String> ignoreCharactersContaining) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
transform()
Returns the normalized text passed in via constructor
|
public InputHomogenization(java.lang.String input)
input
- the input text to applyTransformToOrigin,
equivalent to calling this(input,false)
wrt preserving casepublic InputHomogenization(java.lang.String input, boolean preserveCase)
input
- the input to applyTransformToOriginpreserveCase
- whether to preserve casepublic InputHomogenization(java.lang.String input, java.util.List<java.lang.String> ignoreCharactersContaining)
input
- the input to applyTransformToOriginignoreCharactersContaining
- ignore transformation of words
containigng specified strings