Interface Transformer


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

      • accentDrop

        java.lang.String accentDrop​(java.lang.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