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

        The dictionary contains `word`, `id`, `word_number` and 'part_number'.
        """
        dic = super(COREAWordReader, self).read(xml)
        dic.update(
            part_number=self.extract_part_number(xml)
        )
        return dic

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

        The dictionary contains `word`, `id`, `word_number` and 'part_number'.
        
Extract a dictionary with information about a word from an XML-element.
Extract a dictionary with information about a word from an XML - element .
def read(self, xml):
        dic = super(COREAWordReader, self).read(xml)
        dic.update(
            part_number=self.extract_part_number(xml)
        )
        return dic
def read ( self , xml ) : dic = super ( COREAWordReader , self ) . read ( xml ) dic . update ( part_number = self . extract_part_number ( xml ) ) return dic
Extract a dictionary with information about a word from an XML-element.
Extract a dictionary with information about a word from an XML - element .
"""
        Extract a dictionary with information about a word from an XML-element.

        The dictionary contains `word`, `id`, `word_number` and 'part_number'.
        """
self
xml