Package org.project.strategy
Class TextProcessor
java.lang.Object
org.project.strategy.TextProcessor
- All Implemented Interfaces:
InputProcessor
Preprocess plain text input before translation.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TextProcessor
public TextProcessor()
-
-
Method Details
-
processor
Clean up text before translation.- Specified by:
processorin interfaceInputProcessor- Parameters:
input- text to process- Returns:
- cleaned text
-