Spaces:
Sleeping
Sleeping
Plan2Align-NV
/
laser
/tools-external
/sentencepiece-master
/python
/src
/sentencepiece
/sentencepiece_pb2.py
# -*- coding: utf-8 -*- | |
# Generated by the protocol buffer compiler. DO NOT EDIT! | |
# source: sentencepiece.proto | |
"""Generated protocol buffer code.""" | |
from google.protobuf.internal import builder as _builder | |
from google.protobuf import descriptor as _descriptor | |
from google.protobuf import descriptor_pool as _descriptor_pool | |
from google.protobuf import symbol_database as _symbol_database | |
# @@protoc_insertion_point(imports) | |
_sym_db = _symbol_database.Default() | |
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x13sentencepiece.proto\x12\rsentencepiece\"\xdf\x01\n\x11SentencePieceText\x12\x0c\n\x04text\x18\x01 \x01(\t\x12>\n\x06pieces\x18\x02 \x03(\x0b\x32..sentencepiece.SentencePieceText.SentencePiece\x12\r\n\x05score\x18\x03 \x01(\x02\x1a\x62\n\rSentencePiece\x12\r\n\x05piece\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\r\x12\x0f\n\x07surface\x18\x03 \x01(\t\x12\r\n\x05\x62\x65gin\x18\x04 \x01(\r\x12\x0b\n\x03\x65nd\x18\x05 \x01(\r*\t\x08\xc8\x01\x10\x80\x80\x80\x80\x02*\t\x08\xc8\x01\x10\x80\x80\x80\x80\x02\"J\n\x16NBestSentencePieceText\x12\x30\n\x06nbests\x18\x01 \x03(\x0b\x32 .sentencepiece.SentencePieceTextB\x02H\x03') | |
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) | |
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sentencepiece_pb2', globals()) | |
if _descriptor._USE_C_DESCRIPTORS == False: | |
DESCRIPTOR._options = None | |
DESCRIPTOR._serialized_options = b'H\003' | |
_SENTENCEPIECETEXT._serialized_start=39 | |
_SENTENCEPIECETEXT._serialized_end=262 | |
_SENTENCEPIECETEXT_SENTENCEPIECE._serialized_start=153 | |
_SENTENCEPIECETEXT_SENTENCEPIECE._serialized_end=251 | |
_NBESTSENTENCEPIECETEXT._serialized_start=264 | |
_NBESTSENTENCEPIECETEXT._serialized_end=338 | |
# @@protoc_insertion_point(module_scope) | |