original_docstring: 
          convert tlink labels to integers so they can be processed by the network
          
docstring: convert tlink labels to integers so they can be processed by the network
docstring_tokens: convert tlink labels to integers so they can be processed by the network
code: def _convert_str_labels_to_int(self, labels):
          '''
          convert tlink labels to integers so they can be processed by the network
          '''
  
          for i, label in enumerate(labels):
              if label == "IDENTITY":
                  labels[i] = "SIMULTANEOUS"
              elif label not in LABELS:
                  labels[i] = "None"
  
          return [LABELS.index(x) for x in labels]
code_tokens: def _convert_str_labels_to_int ( self , labels ) : for i , label in enumerate ( labels ) : if label == "IDENTITY" : labels [ i ] = "SIMULTANEOUS" elif label not in LABELS : labels [ i ] = "None" return [ LABELS . index ( x ) for x in labels ]
short_docstring: convert tlink labels to integers so they can be processed by the network
short_docstring_tokens: convert tlink labels to integers so they can be processed by the network
comment: '''
          convert tlink labels to integers so they can be processed by the network
          '''