import csv


def get_entities(entities_file):
    """Returns an array of Medical Entities

    :param entities_file: Entities file csv
    :return: Array<[term:str, score:int]>
    """
    entities = []
    with open(entities_file, encoding='utf8') as ds1_file:
        csv_reader = csv.reader(ds1_file, delimiter=',')
        for row in csv_reader:
            entities.append([str(row[0]), row[1]])
    return entities