Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenNMT/Tokenizer
/ functions
Functions
261 in github.com/OpenNMT/Tokenizer
⨍
Functions
261
◇
Types & classes
32
↓ 92 callers
Function
test_tok_and_detok
test/test.cc:122
↓ 64 callers
Function
test_tok
test/test.cc:33
↓ 41 callers
Method
Tokenizer
src/Tokenizer.cc:158
↓ 30 callers
Function
get_data
test/test.cc:29
↓ 30 callers
Method
tokenize
src/Tokenizer.cc:470
↓ 27 callers
Method
append
src/Tokenizer.cc:545
↓ 20 callers
Function
test_detok
test/test.cc:78
↓ 14 callers
Method
segment
src/Tokenizer.cc:595
↓ 13 callers
Method
detokenize
src/Tokenizer.cc:212
↓ 8 callers
Function
get_characters_info
src/unicode/Unicode.cc:217
↓ 7 callers
Function
append
include/onmt/Token.h:46
↓ 7 callers
Method
load_vocabulary
src/SubwordEncoder.cc:16
↓ 5 callers
Function
add_final_token
src/Tokenizer.cc:1027
↓ 5 callers
Method
add_token
src/Vocab.cc:21
↓ 5 callers
Function
cp_to_utf8
src/unicode/Unicode.cc:18
↓ 5 callers
Function
get_bigram
src/BPELearner.cc:95
↓ 5 callers
Function
get_char_type
src/unicode/Unicode.cc:146
↓ 5 callers
Method
ingest
src/BPELearner.cc:59
↓ 5 callers
Method
is_placeholder
src/Token.cc:9
↓ 5 callers
Method
learn
src/BPELearner.cc:292
↓ 5 callers
Method
resize
src/Vocab.cc:61
↓ 5 callers
Method
safe_append
src/Tokenizer.cc:618
↓ 5 callers
Method
serialize_tokens
bindings/python/pyonmttok/Python.cc:176
↓ 5 callers
Method
set_vocabulary
src/BPE.cc:340
↓ 5 callers
Function
starts_with
src/Utils.cc:14
↓ 4 callers
Method
BPELearner
src/BPELearner.cc:27
↓ 4 callers
Method
Vocab
src/Vocab.cc:13
↓ 4 callers
Method
add_from_text
src/Vocab.cc:43
↓ 4 callers
Function
character_iterator
src/unicode/Unicode.cc:50
↓ 4 callers
Method
deserialize_tokens
bindings/python/pyonmttok/Python.cc:189
↓ 4 callers
Method
detokenize_with_ranges
bindings/python/pyonmttok/Python.cc:201
↓ 4 callers
Function
load_model
src/SentencePiece.cc:13
↓ 4 callers
Function
log_progress
src/ITokenizer.cc:47
↓ 4 callers
Function
split_string
src/Utils.cc:25
↓ 4 callers
Function
test_tok_alphabet
test/test.cc:96
↓ 4 callers
Method
tokenize
bindings/python/pyonmttok/Python.cc:140
↓ 4 callers
Method
tokenize_batch
bindings/python/pyonmttok/Python.cc:154
↓ 4 callers
Function
update_casing
src/Casing.cc:22
↓ 4 callers
Function
utf8len
src/unicode/Unicode.cc:126
↓ 4 callers
Method
validate
src/Tokenizer.cc:104
↓ 3 callers
Method
detokenize_file
bindings/python/pyonmttok/Python.cc:255
↓ 3 callers
Method
escape_append
src/Tokenizer.cc:635
↓ 3 callers
Function
get_lower
src/unicode/Unicode.cc:207
↓ 3 callers
Function
get_most_frequent
src/BPELearner.cc:280
↓ 3 callers
Method
ingest
bindings/python/pyonmttok/Python.cc:333
↓ 3 callers
Function
is_placeholder
src/Utils.cc:52
↓ 3 callers
Function
placeholder_starts_with
src/Casing.cc:189
↓ 3 callers
Function
prune_stats
src/BPELearner.cc:232
↓ 3 callers
Function
size
include/onmt/Vocab.h:44
↓ 3 callers
Method
tokenize_file
bindings/python/pyonmttok/Python.cc:239
↓ 3 callers
Method
unicode_length
src/Token.cc:13
↓ 2 callers
Function
Token
include/onmt/Token.h:40
↓ 2 callers
Function
_check_subword
(tokens)
bindings/python/test/test.py:446
↓ 2 callers
Function
add_tokenization_options
cli/tokenization_args.h:7
↓ 2 callers
Function
build_tokenization_options
cli/tokenization_args.h:63
↓ 2 callers
Function
casing_to_char
src/Casing.cc:155
↓ 2 callers
Function
char_to_casing
src/Casing.cc:172
↓ 2 callers
Function
check_dropout
src/BPE.cc:22
↓ 2 callers
Method
detokenize_stream
src/ITokenizer.cc:211
↓ 2 callers
Method
encode_and_annotate
src/BPE.cc:250
↓ 2 callers
Function
ends_with
src/Utils.cc:19
↓ 2 callers
Method
flush_feature
src/Tokenizer.cc:644
↓ 2 callers
Function
get_case_type
src/unicode/Unicode.cc:133
↓ 2 callers
Function
get_casing_from_markup
src/Casing.cc:211
↓ 2 callers
Function
has_connected_uppercase
Returns true if the token at offset can be connected to an uppercase token or capital letter. This useful to avoid closing an uppercase region if inte
src/Casing.cc:246
↓ 2 callers
Method
ingest_token
bindings/python/pyonmttok/Python.cc:338
↓ 2 callers
Function
int_to_hex
src/Utils.cc:75
↓ 2 callers
Method
is_placeholder
src/Tokenizer.cc:1143
↓ 2 callers
Function
lowercase_token
src/Casing.cc:72
↓ 2 callers
Function
normalize_nfc
test/test.cc:12
↓ 2 callers
Function
read_tokens
src/ITokenizer.cc:225
↓ 2 callers
Method
tokenize_stream
src/ITokenizer.cc:178
↓ 2 callers
Function
utf8_to_cp
src/unicode/Unicode.cc:29
↓ 2 callers
Function
write_case_markup
src/Casing.cc:221
↓ 2 callers
Function
write_tokens
src/ITokenizer.cc:278
↓ 1 callers
Method
SentencePieceLearner
src/SentencePieceLearner.cc:8
↓ 1 callers
Function
_get_long_description
()
bindings/python/setup.py:12
↓ 1 callers
Function
_get_project_version
()
bindings/python/setup.py:18
↓ 1 callers
Function
_maybe_add_library_root
(lib_name, header_only=False)
bindings/python/setup.py:27
↓ 1 callers
Method
add_from_stream
src/Vocab.cc:54
↓ 1 callers
Method
annotate_token
src/Tokenizer.cc:355
↓ 1 callers
Method
annotate_tokens
src/Tokenizer.cc:390
↓ 1 callers
Method
append_to_feature
src/Tokenizer.cc:653
↓ 1 callers
Function
build_placeholder
src/Casing.cc:216
↓ 1 callers
Function
build_sp_tokenizer
bindings/python/pyonmttok/Python.cc:277
↓ 1 callers
Function
create_temp_file
bindings/python/pyonmttok/Python.cc:400
↓ 1 callers
Function
create_token
bindings/python/pyonmttok/Python.cc:438
↓ 1 callers
Method
current_length
src/Tokenizer.cc:580
↓ 1 callers
Method
detokenize
src/ITokenizer.cc:158
↓ 1 callers
Method
detokenize
bindings/python/pyonmttok/Python.cc:228
↓ 1 callers
Method
finalize_tokens
src/Tokenizer.cc:1040
↓ 1 callers
Function
get_case
include/onmt/unicode/Unicode.h:131
↓ 1 callers
Function
get_case_markups
src/Casing.cc:269
↓ 1 callers
Function
get_case_v2
src/unicode/Unicode.cc:202
↓ 1 callers
Function
get_default_id
include/onmt/Vocab.h:74
↓ 1 callers
Function
get_inv_char_frequency
src/BPELearner.cc:257
↓ 1 callers
Function
get_next_main_char
src/Tokenizer.cc:759
↓ 1 callers
Function
get_pair_statistics
src/BPELearner.cc:183
↓ 1 callers
Function
get_random_generator_seed
src/Utils.cc:70
↓ 1 callers
Function
get_script
src/unicode/Unicode.cc:278
next →
1–100 of 261, ranked by callers