def loads(s, single=False):
    """
    Deserialize :class:`Eds` string representations

    Args:
        s (str): Eds string
        single (bool): if `True`, only return the first Xmrs object
    Returns:
        a generator of :class:`Eds` objects (unless the *single* option
        is `True`)
    """
    es = deserialize(s)
    if single:
        return next(es)
    return es
Deserialize :class:`Eds` string representations

    Args:
        s (str): Eds string
        single (bool): if `True`, only return the first Xmrs object
    Returns:
        a generator of :class:`Eds` objects (unless the *single* option
        is `True`)