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` and `id`.
        """
        return {
            'word': self.extract_word(xml),
            'id': self.extract_id(xml)
        }

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

        The dictionary contains `word` and `id`.
        
Extract a dictionary with information about a word from an XML-element.
The dictionary contains `word` and `id`.
Extract a dictionary with information about a word from an XML - element . The dictionary contains ` word ` and ` id ` .
def read(self, xml):
        return {
            'word': self.extract_word(xml),
            'id': self.extract_id(xml)
        }
def read ( self , xml ) : return { 'word' : self . extract_word ( xml ) , 'id' : self . extract_id ( xml ) }
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` and `id`.
        """
self
xml