Trait hyphenation::hyphenator::FullTextHyphenation
[−]
[src]
pub trait FullTextHyphenation<Hyphenator>: Hyphenation<Hyphenator> where
Hyphenator: Iterator, { fn fulltext_opportunities(self, corp: &Corpus) -> Vec<usize>; fn fulltext_hyphenate(self, corp: &Corpus) -> Hyphenator; }
Required Methods
fn fulltext_opportunities(self, corp: &Corpus) -> Vec<usize>
Returns the indices of valid hyphenation points within the given text.
fn fulltext_hyphenate(self, corp: &Corpus) -> Hyphenator
Returns an iterator over segments of the given text, separated by valid hyphenation points.