def read_data_line(line):
    """Process a line from data file.

    Assumes the following format:
    WORD    W ER D
    i.e. word tab separated with pronunciation where pronunciation has space
    separated phonemes

    Args:
        line: string representing the one line of the data file
    Returns:
        chars: list of characters
        phones: list of phones
    """
    line = line.strip()
    word, pronunciation =  line.split("  ")  #line.split("\t")

    chars = list(word.strip())
    phones = pronunciation.strip().split(" ")

    return chars, phones