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` and `word_number`.
        """
        dic = super(COREAMedWordReader, self).read(xml)
        dic.update(
            word_number=self.extract_word_number(xml)
        )
        return dic

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

        The dictionary contains `word`, `id` and `word_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(COREAMedWordReader, self).read(xml)
        dic.update(
            word_number=self.extract_word_number(xml)
        )
        return dic
def read ( self , xml ) : dic = super ( COREAMedWordReader , self ) . read ( xml ) dic . update ( word_number = self . extract_word_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` and `word_number`.
        """
self
xml