import codecs


def load_resource(resource_file):
    """
    Load a resource from a file
    :param resource_file: the resource file
    :return: the resource
    """
    with codecs.open(resource_file, 'r', 'utf-8') as f_in:
        resource = [tuple(line.strip().split('\t')) for line in f_in]

    return resource