C++ API
JAVA API
Python API
Defined in File constants.h
Type options for SentencePiece Model.
Values:
Based on Unigram model.
Based on Byte Pair Encoding (BPE) model.
Based on Char model.
Based on Word model.