mmax2conll/mmax2raw.py
def read_words(filename, validate_xml=c.VALIDATE_XML):
        """
        Read words from a words_file from COREA or SoNaR.
        """
        logger.debug(f"Read words from {filename}")
        words = SoNaRWordsDocumentReader(
            validate=validate_xml
        ).extract_items(
            etree.parse(filename)
        )
        return words

        Read words from a words_file from COREA or SoNaR.
        
Read words from a words_file from COREA or SoNaR.
Read words from a words_file from COREA or SoNaR .
def read_words(filename, validate_xml=c.VALIDATE_XML):
        logger.debug(f"Read words from {filename}")
        words = SoNaRWordsDocumentReader(
            validate=validate_xml
        ).extract_items(
            etree.parse(filename)
        )
        return words
def read_words ( filename , validate_xml = c . VALIDATE_XML ) : logger . debug ( f"Read words from {filename}" ) words = SoNaRWordsDocumentReader ( validate = validate_xml ) . extract_items ( etree . parse ( filename ) ) return words
Read words from a words_file from COREA or SoNaR.
Read words from a words_file from COREA or SoNaR .
"""
        Read words from a words_file from COREA or SoNaR.
        """
filename
validate_xml