Searched refs:word_breaker_ (Results 1 – 2 of 2) sorted by relevance
177 mutable std::unique_ptr<icu::BreakIterator> word_breaker_; variable
1967 if (!word_breaker_) { in GetWordBoundary()1969 word_breaker_.reset( in GetWordBoundary()1975 word_breaker_->setText(icu::UnicodeString(false, text_.data(), text_.size())); in GetWordBoundary()1977 int32_t prev_boundary = word_breaker_->preceding(offset + 1); in GetWordBoundary()1978 int32_t next_boundary = word_breaker_->next(); in GetWordBoundary()