Package com.yahoo.language.process
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
accentDrop(String input, Language language)
Remove accents from input text.
-
-
-
Method Detail
-
accentDrop
String accentDrop(String input, Language language)
Remove accents from input text.- Parameters:
input
- text to transformlanguage
- 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
-
-