(self, s)
return self._encode_chord_symbols(s.split())
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.
Transform a space-delimited chord symbols string into indices.
Transform a space - delimited chord symbols string into indices .
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())
def encode ( self , s ) : return self . _encode_chord_symbols ( s . split ( ) )