def add_edge(self, t1, t2, key=None, attr_dict=None, **attrs):
    "Add annotation to the graph between times t1 and t2\n\n        Parameters\n        ----------\n        t1, t2: float, str or None\n        data : dict, optional\n            {annotation_type: annotation_value} dictionary\n\n        Example\n        -------\n        >>> G = Transcription()\n        >>> G.add_edge(T(1.), T(), speaker='John', 'speech'='Hello world!')\n        "
    t1 = T(t1)
    t2 = T(t2)
    if (t1.anchored and t2.anchored):
        assert (t1 <= t2)
    super(Transcription, self).add_edge(t1, t2, key=key, attr_dict=attr_dict, **attrs)
Add annotation to the graph between times t1 and t2

Parameters
----------
t1, t2: float, str or None
data : dict, optional
    {annotation_type: annotation_value} dictionary

Example
-------
>>> G = Transcription()
>>> G.add_edge(T(1.), T(), speaker='John', 'speech'='Hello world!')
def add_edge(self, t1, t2, key=None, attr_dict=None, **attrs):
    "Add annotation to the graph between times t1 and t2\n\n        Parameters\n        ----------\n        t1, t2: float, str or None\n        data : dict, optional\n            {annotation_type: annotation_value} dictionary\n\n        Example\n        -------\n        >>> G = Transcription()\n        >>> G.add_edge(T(1.), T(), speaker='John', 'speech'='Hello world!')\n        "
    t1 = T(t1)
    t2 = T(t2)
    if (t1.anchored and t2.anchored):
        assert (t1 <= t2)
    super(Transcription, self).add_edge(t1, t2, key=key, attr_dict=attr_dict, **attrs)