@staticmethod
    def from_production(production, index):
        return TreeEdge(span=(index, index), lhs=production.lhs(),
                        rhs=production.rhs(), dot=0)
Return a new ``TreeEdge`` formed from the given production.
dataset/ETHPy150Open nltk/nltk/nltk/parse/chart.py/TreeEdge.from_production