transform method
Transforms input
into an instance of U
using the provided locale
.
Implementation
@override
String transform(String input, String locale) {
final result = _transformSentences(
input,
convertAcronyms: convertAcronyms,
transformWord: (word, isFirstWordInSentence) => _capitalizeWord(word),
);
return result;
}