Home
last modified time | relevance | path

Searched refs:TokenFeatureExtractor (Results 1 – 5 of 5) sorted by relevance

/external/libtextclassifier/native/utils/
Dtoken-feature-extractor.cc72 TokenFeatureExtractor::TokenFeatureExtractor( in TokenFeatureExtractor() function in libtextclassifier3::TokenFeatureExtractor
82 bool TokenFeatureExtractor::Extract(const Token& token, bool is_in_span, in Extract()
95 std::vector<int> TokenFeatureExtractor::ExtractCharactergramFeatures( in ExtractCharactergramFeatures()
104 std::vector<float> TokenFeatureExtractor::ExtractDenseFeatures( in ExtractDenseFeatures()
160 int TokenFeatureExtractor::HashToken(StringPiece token) const { in HashToken()
183 std::vector<int> TokenFeatureExtractor::ExtractCharactergramFeaturesAscii( in ExtractCharactergramFeaturesAscii()
231 std::vector<int> TokenFeatureExtractor::ExtractCharactergramFeaturesUnicode( in ExtractCharactergramFeaturesUnicode()
Dtoken-feature-extractor.h66 class TokenFeatureExtractor {
70 explicit TokenFeatureExtractor(const TokenFeatureExtractorOptions& options,
Dtoken-feature-extractor_test.cc31 class TestingTokenFeatureExtractor : public TokenFeatureExtractor {
33 using TokenFeatureExtractor::HashToken;
34 using TokenFeatureExtractor::TokenFeatureExtractor;
/external/libtextclassifier/native/actions/
Dfeature-processor.h66 const TokenFeatureExtractor token_feature_extractor_;
/external/libtextclassifier/native/annotator/
Dfeature-processor.h294 const TokenFeatureExtractor feature_extractor_;