def read_conll_file(file_path, sep="\t", encoding=None):
    """
    Reads a data file in CoNLL format and returns word and label lists.

    Args:
        file_path (str): Data file path.
        sep (str, optional): Column separator. Defaults to "\t".
        encoding (str): File encoding used when reading the file.
            Defaults to None.

    Returns:
        (list, list): A tuple of word and label lists (list of lists).
    """
    with open(file_path, encoding=encoding) as f:
        data = f.read()
    return preprocess_conll(data, sep=sep)

    Reads a data file in CoNLL format and returns word and label lists.

    Args:
        file_path (str): Data file path.
        sep (str, optional): Column separator. Defaults to "	".
        encoding (str): File encoding used when reading the file.
            Defaults to None.

    Returns:
        (list, list): A tuple of word and label lists (list of lists).
    
utils_nlp/dataset/ner_utils.py