def parse_derivation_repr(self, derivation_repr):
    """Parse new Derivation class from string."""
    command_rules, command_lexicon = derivation_repr.split(";")
    return grammar.Derivation.from_str(command_rules, command_lexicon,
                                       self._grammar)
Parse new Derivation class from string.
language/gscan/data/dataset.py