View Source tflite_beam_full_tokenizer (tflite_beam v0.3.6)
Runs end-to-end tokenization.
Related link: https://github.com/tensorflow/examples/blob/master/lite/examples/bert_qa/ios/BertQACore/Models/Tokenizers/FullTokenizer.swiftLink to this section Summary
Link to this section Functions
-spec convert_to_id([binary()], map()) -> {ok, [integer()]} | {error, binary()}.
-spec tokenize(binary() | list(), boolean(), map()) -> [binary()].