Lines Matching refs:sentence
151 UBreakIterator *word, *sentence, *line, *character, *b, *bogus;
180 sentence = ubrk_open(UBRK_SENTENCE, "en_US", text, u_strlen(text), &status);
182 log_err_status(status, "FAIL: Error in ubrk_open() for sentence breakiterator: %s\n", myErrorName(status));
186 log_verbose("PASS: Successfully opened sentence breakiterator\n");
308 log_verbose("\nTesting the functions for sentence\n");
309 ubrk_first(sentence);
310 pos = ubrk_current(sentence);
311 log_verbose("Current(sentence) = %d\n", (int32_t)pos);
312 pos = ubrk_last(sentence);
314 log_err("error ubrk_last for sentence did not return 49\n");
315 log_verbose("Last (sentence) = %d\n", (int32_t)pos);
316 ubrk_first(sentence);
317 to = ubrk_following( sentence, 0 );
319 to = ubrk_preceding( sentence, to );
321 if (ubrk_first(sentence)!=ubrk_current(sentence)) {
363 ubrk_close(sentence);