Home
last modified time | relevance | path

Searched refs:sentence (Results 1 – 25 of 231) sorted by relevance

12345678910

/external/google-java-format/core/src/test/resources/com/google/googlejavaformat/java/testdata/
DLiteralReflow.input3 String doesNotBreakAt100 = "A very long long long long long long long long long loong sentence";
4 … String breaksAt101 = "A very long long long long long long long long long long loooong sentence";
9 "A very long long long long long long long long long long long long long looooong sentence";
11 … "A very long long long long long long long long long long long long long long long sentence";
16 …very long long long long long long long long long long long long long long long looooong sentence";
18 …ery long long long long long long long long long long long long long long long loooooong sentence";
23 … long long long long looooong sentence. And a second very long long long long long long long long …
25 … long long long long looooong sentence. And a second very long long long long long long long long …
32 …ong long long long long long loong sentence. And a second very long long long long long long long …
36 …ong long long long long long loong sentence. And a second very long long long long long long long …
[all …]
DLiteralReflow.output3 String doesNotBreakAt100 = "A very long long long long long long long long long loong sentence";
5 "A very long long long long long long long long long long loooong sentence";
10 "A very long long long long long long long long long long long long long looooong sentence";
13 + " sentence";
19 + " sentence";
22 + " loooooong sentence";
27 "A very long long long long long long long long long long long long long looooong sentence."
28 + " And a second very long long long long long long long long long long loong sentence";
30 "A very long long long long long long long long long long long long long looooong sentence."
32 + " sentence";
[all …]
/external/zucchini/
Dsuffix_array_unittest.cc289 ustring sentence = us("the quick brown fox jumps over the lazy dog."); in TEST() local
291 TestSuffixLowerBound(sentence, sentence); in TEST()
293 TestSuffixLowerBound(sentence, us("")); in TEST()
295 TestSuffixLowerBound(sentence, us(".")); in TEST()
296 TestSuffixLowerBound(sentence, us("the lazy dog.")); in TEST()
298 TestSuffixLowerBound(sentence, us("quick")); in TEST()
299 TestSuffixLowerBound(sentence, us("the quick")); in TEST()
301 TestSuffixLowerBound(sentence, us("fox jumps with the hosps")); in TEST()
302 TestSuffixLowerBound(sentence, us("xyz")); in TEST()
304 TestSuffixLowerBound(sentence, us("the")); in TEST()
[all …]
/external/rust/crates/unicode-segmentation/src/
Dlib.rs69 pub use sentence::{USentenceBoundIndices, USentenceBounds, UnicodeSentences};
76 mod sentence; module
295 sentence::new_unicode_sentences(self) in unicode_sentences()
300 sentence::new_sentence_bounds(self) in split_sentence_bounds()
305 sentence::new_sentence_bound_indices(self) in split_sentence_bound_indices()
Dsentence.rs16 use crate::tables::sentence::SentenceCat;
110 use crate::tables::sentence as se; in match_sb8()
186 use crate::tables::sentence as se; in next()
392 let sentence = &self.iter.string[start_pos..break_pos]; in next() localVariable
394 Some(sentence) in next()
/external/libtextclassifier/native/lang_id/features/
Dchar-ngram-feature.cc67 const LightSentence &sentence) const { in ComputeNgramCounts()
73 for (const std::string &word : sentence) { in ComputeNgramCounts()
126 const LightSentence &sentence, in Evaluate() argument
134 int total_count = ComputeNgramCounts(sentence); in Evaluate()
Dchar-ngram-feature.h63 void Evaluate(const WorkspaceSet &workspaces, const LightSentence &sentence,
72 int ComputeNgramCounts(const LightSentence &sentence) const;
Drelevant-script-feature.cc59 const WorkspaceSet &workspaces, const LightSentence &sentence, in Evaluate() argument
64 for (const std::string &word : sentence) { in Evaluate()
/external/rust/crates/bstr/src/unicode/
Dsentence.rs62 let (sentence, size) = decode_sentence(self.bs); in next()
67 Some(sentence) in next()
150 let sentence = unsafe { bs[..end].to_str_unchecked() }; in decode_sentence() localVariable
151 (sentence, sentence.len()) in decode_sentence()
Dmod.rs3 sentence::{SentenceIndices, Sentences},
10 mod sentence; module
/external/libtextclassifier/native/lang_id/
Dlang-id.cc142 LightSentence sentence; in FindLanguages() local
143 tokenizer_.Tokenize(text, &sentence); in FindLanguages()
146 if (IsTooShort(sentence)) { in FindLanguages()
153 lang_id_brain_interface_.GetFeaturesNoCaching(&sentence); in FindLanguages()
255 bool IsTooShort(const LightSentence &sentence) const { in IsTooShort()
257 for (const std::string &token : sentence) { in IsTooShort()
Dcustom-tokenizer.cc103 LightSentence *sentence) const { in Tokenize()
128 sentence->emplace_back(); in Tokenize()
129 std::string *word = &(sentence->back()); in Tokenize()
/external/python/cpython3/Lib/test/cjkencodings/
Dhz-utf8.txt1 This sentence is in ASCII.
2 The next sentence is in GB.己所不欲,勿施於人。Bye.
Dhz.txt1 This sentence is in ASCII.
2 The next sentence is in GB.~{<:Ky2;S{#,NpJ)l6HK!#~}Bye.
/external/python/cpython2/Lib/test/cjkencodings/
Dhz-utf8.txt1 This sentence is in ASCII.
2 The next sentence is in GB.己所不欲,勿施於人。Bye.
Dhz.txt1 This sentence is in ASCII.
2 The next sentence is in GB.~{<:Ky2;S{#,NpJ)l6HK!#~}Bye.
/external/cronet/third_party/icu/source/test/testdata/break_rules/
Dsentence.txt6 # file: sentence.txt
8 type = sentence; # one of grapheme | word | line | sentence
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/break_rules/
Dsentence.txt6 # file: sentence.txt
8 type = sentence; # one of grapheme | word | line | sentence
/external/icu/icu4c/source/test/testdata/break_rules/
Dsentence.txt6 # file: sentence.txt
8 type = sentence; # one of grapheme | word | line | sentence
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/break_rules/
Dsentence.txt6 # file: sentence.txt
8 type = sentence; # one of grapheme | word | line | sentence
/external/deqp-deps/SPIRV-Tools/test/
Dtext_word_get_test.cpp92 AutoText input("Words in a sentence"); in TEST()
96 const char* words[] = {"Words", "in", "a", "sentence"}; in TEST()
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/
Dtext_word_get_test.cpp92 AutoText input("Words in a sentence"); in TEST()
96 const char* words[] = {"Words", "in", "a", "sentence"}; in TEST()
/external/swiftshader/third_party/SPIRV-Tools/test/
Dtext_word_get_test.cpp92 AutoText input("Words in a sentence"); in TEST()
96 const char* words[] = {"Words", "in", "a", "sentence"}; in TEST()
/external/licenseclassifier/v2/
Dclassifier_test.go336 input: `This is a sentence looking construct. This is another sentence. What happens?`,
337 want: `This is a sentence looking construct This is another sentence What happens`,
/external/cronet/third_party/icu/source/test/cintltst/
Dcbiapts.c162 UBreakIterator *word, *sentence, *line, *character, *b, *bogus; in TestBreakIteratorCAPI() local
191 sentence = ubrk_open(UBRK_SENTENCE, "en_US", text, u_strlen(text), &status); in TestBreakIteratorCAPI()
320 pos = ubrk_first(sentence); in TestBreakIteratorCAPI()
321 pos = ubrk_current(sentence); in TestBreakIteratorCAPI()
323 pos = ubrk_last(sentence); in TestBreakIteratorCAPI()
327 pos = ubrk_first(sentence); in TestBreakIteratorCAPI()
328 to = ubrk_following( sentence, 0 ); in TestBreakIteratorCAPI()
330 to = ubrk_preceding( sentence, to ); in TestBreakIteratorCAPI()
332 if (ubrk_first(sentence)!=ubrk_current(sentence)) { in TestBreakIteratorCAPI()
374 ubrk_close(sentence); in TestBreakIteratorCAPI()

12345678910