Home
last modified time | relevance | path

Searched refs:remove_extra_whitespaces (Results 1 – 8 of 8) sorted by relevance

/external/libtextclassifier/native/utils/sentencepiece/
Dtest_utils.cc29 bool remove_extra_whitespaces, in NormalizerFromSpec() argument
39 add_dummy_prefix, remove_extra_whitespaces, escape_whitespaces); in NormalizerFromSpec()
Dnormalizer.h47 bool remove_extra_whitespaces = true,
52 remove_extra_whitespaces_(remove_extra_whitespaces), in charsmap_trie_()
Dtest_utils.h30 bool remove_extra_whitespaces,
/external/tflite-support/tensorflow_lite_support/custom_ops/kernel/sentencepiece/
Doptimized_encoder.cc64 std::tuple<int, utils::string_view> remove_extra_whitespaces(const char* data, in remove_extra_whitespaces() function
122 if (config.remove_extra_whitespaces()) { in NormalizeString()
124 process_string(result, output_offsets, remove_extra_whitespaces); in NormalizeString()
Dencoder_config.fbs38 remove_extra_whitespaces: bool;
Dmodel_converter.cc116 model_config.normalizer_spec().remove_extra_whitespaces()); in ConvertSentencepieceModelToFlatBuffer()
/external/libtextclassifier/native/utils/tflite/
Dtext_encoder_config.fbs53 remove_extra_whitespaces:bool = true;
Dtext_encoder.cc100 config->add_dummy_prefix(), config->remove_extra_whitespaces(), in Initialize()