class_docstr: Convert chord symbol sequences to integer indices.
class_docstr_tok: ["Convert","chord","symbol","sequences","to","integer","indices","."]
docstr: Transform a space-delimited chord symbols string into indices.
  
  Args:
    s: Space delimited string containing a chord symbol sequence, e.g.
        'C C G G Am Am F F'.
  
  Returns:
    ids: List of encoded chord indices.
code: def encode(self, s):
      """Transform a space-delimited chord symbols string into indices.
  
      Args:
        s: Space delimited string containing a chord symbol sequence, e.g.
            'C C G G Am Am F F'.
  
      Returns:
        ids: List of encoded chord indices.
      """
      return self._encode_chord_symbols(s.split())
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tempfile
  import note_seq
  from note_seq import performance_lib
  import pygtrie
  from tensor2tensor.data_generators import text_encoder
label_desc: Use image node_id 5 for calling the TextChordsEncoder obj's underlying member method code with example usage: obj.encode(s) and returns: self