import re


def fix(x):
    """
    This function is designed as a quick fix
    for the dependency path problem. This problem is that the START_ENTITY and END_ENTIY 
    are capitalized in part II files, but not in part 1 files. If
    not fixed, it would cause a mapping error.

    x - the string to chagne from upper case to lower case.
    """
    x = re.sub("START_ENTITY", "start_entity", x)
    x = re.sub("END_ENTITY", "end_entity", x)
    return x