#include "tf_ops/projection_normalizer_util.h"
#include <algorithm>
#include <cstddef>
#include <memory>
#include <sstream>
#include <utility>
#include "icu4c/source/common/unicode/utf8.h"
#include "tf_ops/projection_util.h"
bool IsDigit(const std::string& text) { … }
std::string GetCharToken(const std::vector<std::string>& char_tokens,
size_t start, size_t num_chars) { … }
int GetNumPattern(const std::vector<std::string>& char_tokens, size_t start,
size_t num_chars, const std::string& pattern) { … }
std::string ContractToken(const char* input_ptr, size_t len, size_t num_chars) { … }
void NormalizeSpaces(std::string& input) { … }
void ProjectionNormalizer::InitializeSeparators(const std::string& separators) { … }
std::string ProjectionNormalizer::NormalizeInternal(const char* input_ptr,
size_t len) { … }
std::string ProjectionNormalizer::Normalize(const std::string& input,
size_t max_input) { … }
std::string ProjectionNormalizer::Normalize(const char* input_ptr, size_t len,
size_t max_input) { … }