Home
last modified time | relevance | path

Searched refs:LightSentence (Results 1 – 11 of 11) sorted by relevance

/external/libtextclassifier/lang_id/
Dlight-sentence.h35 class LightSentence {
37 LightSentence() {} in LightSentence() function
59 TC_DISALLOW_COPY_AND_ASSIGN(LightSentence);
Dlight-sentence-features.h28 typedef FeatureFunction<LightSentence> LightSentenceFeature;
31 typedef FeatureExtractor<LightSentence> LightSentenceExtractor;
Dlanguage-identifier-features.h48 void Evaluate(const WorkspaceSet &workspaces, const LightSentence &sentence,
57 int ComputeNgramCounts(const LightSentence &sentence) const;
Dlang-id-brain-interface.h37 : public EmbeddingFeatureExtractor<LightSentenceExtractor, LightSentence> {
62 void GetFeatures(LightSentence *sentence, in GetFeatures()
Dlanguage-identifier-features.cc47 const LightSentence &sentence) const { in ComputeNgramCounts()
118 const LightSentence &sentence, in Evaluate()
Dcustom-tokenizer.h36 void TokenizeTextForLangId(const std::string &text, LightSentence *sentence);
Drelevant-script-feature.h47 void Evaluate(const WorkspaceSet &workspaces, const LightSentence &sentence,
Dcustom-tokenizer.cc55 void TokenizeTextForLangId(const std::string &text, LightSentence *sentence) { in TokenizeTextForLangId()
Drelevant-script-feature.cc41 const LightSentence &sentence, in Evaluate()
Dlang-id.cc70 int GetRealTextSize(const LightSentence &sentence) { in GetRealTextSize()
204 LightSentence sentence; in ScoreLanguages()
/external/libtextclassifier/tests/
Dembedding-feature-extractor_test.cc40 lang_id::LightSentence> {