Class TextProcessor

java.lang.Object
org.project.strategy.TextProcessor
All Implemented Interfaces:
InputProcessor

public class TextProcessor extends Object implements InputProcessor
Preprocess plain text input before translation.
  • Constructor Details

    • TextProcessor

      public TextProcessor()
  • Method Details

    • processor

      public String processor(Object input)
      Clean up text before translation.
      Specified by:
      processor in interface InputProcessor
      Parameters:
      input - text to process
      Returns:
      cleaned text