Home
last modified time | relevance | path

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

12345

/external/tensorflow/tensorflow/lite/models/smartreply/
Dpredictor.cc45 void ExecuteTfLite(const std::string& sentence, in ExecuteTfLite() argument
51 buf.AddString(sentence.data(), sentence.length()); in ExecuteTfLite()
92 for (const auto& sentence : sentences) { in GetSegmentPredictions() local
93 ExecuteTfLite(sentence, interpreter.get(), &response_map); in GetSegmentPredictions()
/external/libtextclassifier/lang_id/features/
Dchar-ngram-feature.cc65 const LightSentence &sentence) const { in ComputeNgramCounts()
71 for (const string &word : sentence) { in ComputeNgramCounts()
124 const LightSentence &sentence, in Evaluate() argument
132 int total_count = ComputeNgramCounts(sentence); in Evaluate()
Dchar-ngram-feature.h62 void Evaluate(const WorkspaceSet &workspaces, const LightSentence &sentence,
71 int ComputeNgramCounts(const LightSentence &sentence) const;
Drelevant-script-feature.cc58 const WorkspaceSet &workspaces, const LightSentence &sentence, in Evaluate() argument
63 for (const string &word : sentence) { in Evaluate()
Drelevant-script-feature.h50 const LightSentence &sentence,
/external/libtextclassifier/lang_id/
Dcustom-tokenizer.cc103 LightSentence *sentence) const { in Tokenize()
128 sentence->emplace_back(); in Tokenize()
129 string *word = &(sentence->back()); in Tokenize()
Dlang-id.cc208 LightSentence sentence; in ComputeScores() local
209 tokenizer_.Tokenize(text, &sentence); in ComputeScores()
212 lang_id_brain_interface_.GetFeaturesNoCaching(&sentence); in ComputeScores()
Dcustom-tokenizer.h42 void Tokenize(StringPiece text, LightSentence *sentence) const;
/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/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/tensorflow/tensorflow/contrib/eager/python/examples/nmt_with_attention/
Dnmt_with_attention.ipynb49 …"After training the model in this notebook, you will be able to input a Spanish sentence, such as …
51 …n plot is perhaps more interesting. This shows which parts of the input sentence has the model's a…
104 "1. Add a *start* and *end* token to each sentence.\n",
107 "4. Pad each sentence to a maximum length."
156 " # adding a start and an end token to the sentence\n",
249 " # Here, we'll set those to the longest sentence in the dataset\n",
351 …attention mechanism which is then used by the decoder to predict the next word in the sentence.\n",
671 …"def evaluate(sentence, encoder, decoder, inp_lang, targ_lang, max_length_inp, max_length_targ):\n…
674 " sentence = preprocess_sentence(sentence)\n",
676 " inputs = [inp_lang.word2idx[i] for i in sentence.split(' ')]\n",
[all …]
/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/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/icu/icu4c/source/test/testdata/break_rules/
Dsentence.txt6 # file: sentence.txt
8 type = sentence; # one of grapheme | word | line | sentence
/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/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/icu/icu4c/source/test/cintltst/
Dcbiapts.c153 UBreakIterator *word, *sentence, *line, *character, *b, *bogus; in TestBreakIteratorCAPI() local
182 sentence = ubrk_open(UBRK_SENTENCE, "en_US", text, u_strlen(text), &status); in TestBreakIteratorCAPI()
311 pos = ubrk_first(sentence); in TestBreakIteratorCAPI()
312 pos = ubrk_current(sentence); in TestBreakIteratorCAPI()
314 pos = ubrk_last(sentence); in TestBreakIteratorCAPI()
318 pos = ubrk_first(sentence); in TestBreakIteratorCAPI()
319 to = ubrk_following( sentence, 0 ); in TestBreakIteratorCAPI()
321 to = ubrk_preceding( sentence, to ); in TestBreakIteratorCAPI()
323 if (ubrk_first(sentence)!=ubrk_current(sentence)) { in TestBreakIteratorCAPI()
365 ubrk_close(sentence); in TestBreakIteratorCAPI()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
DDemo.java699 String sentence = coreSentence.substring(oldPos, pos).trim(); in genTestFile() local
703 addSentenceToTable(out, sentence, in genTestFile()
770 static void addSentenceToTable(PrintWriter out, String sentence, in addSentenceToTable() argument
773 if (sentence.length() == 0) return; // skip empty lines in addSentenceToTable()
775 String originalShow = sentence; in addSentenceToTable()
777 latin = tl.transliterate(saveAscii.transliterate(sentence)); in addSentenceToTable()
790 String NFKDSentence = Normalizer.normalize(sentence, Normalizer.NFKD); in addSentenceToTable()
803 if (minLen > sentence.length()) minLen = sentence.length(); in addSentenceToTable()
806 if (reverse.charAt(i) != sentence.charAt(i)) break; in addSentenceToTable()
812 : showDifference(sentence, reverse); in addSentenceToTable()
[all …]
/external/mesa3d/docs/specs/
DMESA_multithread_makecurrent.spec66 Replace the following sentence from section 2.2 Rendering Contexts:
78 Replace the following sentence from section 3.3.7 Rendering Contexts:
85 Replace the following sentence from section 3.5 Rendering Contexts:
/external/icu/icu4c/source/data/brkitr/
Del.txt6 sentence:process(dependency){"sent_el.brk"}
/external/snakeyaml/src/test/resources/pyyaml/
Dspec-08-10.data7 This sentence
/external/swiftshader/third_party/llvm-7.0/llvm/test/YAMLParser/
Dspec-08-10.test9 This sentence
/external/llvm/test/YAMLParser/
Dspec-08-10.test9 This sentence

12345