@Deprecated // TODO: Remove on Vespa 9
    default Iterable<Token> tokenize(String input, Language language, StemMode stemMode, boolean removeAccents) {
        return tokenize(input, new LinguisticsParameters(language, stemMode, removeAccents, true));
    }
Tokenizes the given input string.

@param input the string to tokenize. May be arbitrarily large.
@param language the language of the input string.
@param stemMode the stem mode applied on the returned tokens
@param removeAccents whether to normalize accents and similar
@return the tokens of the input String
@throws ProcessingException If the underlying library throws an Exception.
@deprecated use #tokenize(String, LinguisticsParameters)
linguistics/src/main/java/com/yahoo/language/process/Tokenizer.java