()
return lines
Read the filtered data corpus
Read the filtered data corpus
Read the filtered data corpus
def read_filtered_data():
    """Read the filtered data corpus"""
    LOGGER.info("Reading filtered data:")
    lines = open(NEWS_FILE_NAME_FILTERED).read().decode('utf-8').split("\n")
    LOGGER.info("Read filtered data - %s lines", len(lines))
    return lines
def read_filtered_data ( ) : LOGGER . info ( "Reading filtered data:" ) lines = open ( NEWS_FILE_NAME_FILTERED ) . read ( ) . decode ( 'utf-8' ) . split ( "\n" ) LOGGER . info ( "Read filtered data - %s lines" , len ( lines ) ) return lines