mmax2conll/mmax2conll/mmax_item_readers.py
def read(self, xml):
        """
        Extract a dictionary with information about a markable from an
        XML-element.

        The dictionary contains 'id', 'span' and 'mmax_level'.
        """
        return {
            'id': self.extract_id(xml),
            'span': self.extract_span(xml),
            'mmax_level': self.extract_mmax_level(xml),
        }

        Extract a dictionary with information about a markable from an
        XML-element.

        The dictionary contains 'id', 'span' and 'mmax_level'.
        
Extract a dictionary with information about a markable from an
XML-element.


Extract a dictionary with information about a markable from an XML - element .
def read(self, xml):
        return {
            'id': self.extract_id(xml),
            'span': self.extract_span(xml),
            'mmax_level': self.extract_mmax_level(xml),
        }
def read ( self , xml ) : return { 'id' : self . extract_id ( xml ) , 'span' : self . extract_span ( xml ) , 'mmax_level' : self . extract_mmax_level ( xml ) , }
Extract a dictionary with information about a markable from an
XML-element.
Extract a dictionary with information about a markable from an XML - element .
"""
        Extract a dictionary with information about a markable from an
        XML-element.

        The dictionary contains 'id', 'span' and 'mmax_level'.
        """
self
xml