Searched refs:LightSentence (Results 1 – 11 of 11) sorted by relevance
/external/libtextclassifier/lang_id/ |
D | light-sentence.h | 35 class LightSentence { 37 LightSentence() {} in LightSentence() function 59 TC_DISALLOW_COPY_AND_ASSIGN(LightSentence);
|
D | light-sentence-features.h | 28 typedef FeatureFunction<LightSentence> LightSentenceFeature; 31 typedef FeatureExtractor<LightSentence> LightSentenceExtractor;
|
D | language-identifier-features.h | 48 void Evaluate(const WorkspaceSet &workspaces, const LightSentence &sentence, 57 int ComputeNgramCounts(const LightSentence &sentence) const;
|
D | lang-id-brain-interface.h | 37 : public EmbeddingFeatureExtractor<LightSentenceExtractor, LightSentence> { 62 void GetFeatures(LightSentence *sentence, in GetFeatures()
|
D | language-identifier-features.cc | 47 const LightSentence &sentence) const { in ComputeNgramCounts() 118 const LightSentence &sentence, in Evaluate()
|
D | custom-tokenizer.h | 36 void TokenizeTextForLangId(const std::string &text, LightSentence *sentence);
|
D | relevant-script-feature.h | 47 void Evaluate(const WorkspaceSet &workspaces, const LightSentence &sentence,
|
D | custom-tokenizer.cc | 55 void TokenizeTextForLangId(const std::string &text, LightSentence *sentence) { in TokenizeTextForLangId()
|
D | relevant-script-feature.cc | 41 const LightSentence &sentence, in Evaluate()
|
D | lang-id.cc | 70 int GetRealTextSize(const LightSentence &sentence) { in GetRealTextSize() 204 LightSentence sentence; in ScoreLanguages()
|
/external/libtextclassifier/tests/ |
D | embedding-feature-extractor_test.cc | 40 lang_id::LightSentence> {
|