pub(crate) fn capitalization_iterator(
input_iterator: impl Iterator<Item = CharacterTransformIteration>,
size_hint: usize,
allow_word_at_start: bool,
language: LanguageIdentifier,
) -> impl Iterator<Item = CharacterTransformIteration>Expand description
Given an input iterator, a size hint for the number items in the iterator, a boolean determining whether the start of the input represents a word boundary and the language, return an iterator that capitalizes one-to-one mapped characters from the input iterator.