コード例 #1
0
 def PieceToId(self, piece):
     return _sentencepiece.SentencePieceProcessor_PieceToId(self, piece)
コード例 #2
0
 def PieceToId(self, *args): return _sentencepiece.SentencePieceProcessor_PieceToId(self, *args)
 def IdToPiece(self, *args): return _sentencepiece.SentencePieceProcessor_IdToPiece(self, *args)