@classmethod
def from_qtree(cls, string):
    """Takes something like "(S (NP Peter))" and returns a tree"""
    string = string.replace('\\Tree ', '').replace('[', '(').replace(']', ')'
        ).replace('.', '')
    return cls.from_string(string)
