#include <cudf/column/column.hpp>
#include <cudf/column/column_view.hpp>
#include <cudf/scalar/scalar.hpp>
#include <cudf/strings/strings_column_view.hpp>
#include <cudf/utilities/default_stream.hpp>
#include <cudf/utilities/export.hpp>
#include <cudf/utilities/memory_resource.hpp>
Go to the source code of this file.
Classes | |
struct | nvtext::bpe_merge_pairs |
The table of merge pairs for the BPE encoder. More... | |
Namespaces | |
nvtext | |
NVText APIs. | |
Functions | |
std::unique_ptr< bpe_merge_pairs > | nvtext::load_merge_pairs (cudf::strings_column_view const &merge_pairs, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref()) |
Create a nvtext::bpe_merge_pairs from a strings column. More... | |
std::unique_ptr< cudf::column > | nvtext::byte_pair_encoding (cudf::strings_column_view const &input, bpe_merge_pairs const &merges_pairs, cudf::string_scalar const &separator=cudf::string_scalar(" "), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref()) |
Byte pair encode the input strings. More... | |