#include "tf_ops/skipgram_finder.h"
#include <cctype>
#include <deque>
#include <string>
#include <tuple>
#include <utility>
#include <vector>
#include "absl/container/flat_hash_map.h"
#include "absl/container/flat_hash_set.h"
#include "absl/strings/match.h"
#include "absl/strings/str_split.h"
#include "absl/strings/string_view.h"
#include "icu4c/source/common/unicode/uchar.h"
#include "icu4c/source/common/unicode/utf8.h"
namespace seq_flow_lite {
namespace {
void PreprocessToken(std::string& token) { … }
}
void SkipgramFinder::AddSkipgram(absl::string_view skipgram, int category) { … }
absl::flat_hash_set<int> SkipgramFinder::FindSkipgrams(
absl::string_view input) const { … }
absl::flat_hash_set<int> SkipgramFinder::FindSkipgrams(
const std::vector<absl::string_view>& tokens) const { … }
}