Interface Transformer

All Known Implementing Classes:
SimpleTransformer

public interface Transformer
Interface for providers of text transformations such as accent removal.
Author:
Mathias Mølster Lidal
  • Method Summary

    Modifier and Type
    Method
    Description
    accentDrop(String input, Language language)
    Remove accents from input text.
  • Method Details

    • accentDrop

      String accentDrop(String input, Language language)
      Remove accents from input text.
      Parameters:
      input - text to transform
      language - language of input text
      Returns:
      text with accents removed, or input-text if the feature is unavailable
      Throws:
      ProcessingException - thrown if there is an exception stemming this input