import csv


def obtain_training_data(filename: str) -> list[tuple[str, str]]:
    """
    Obtain the training data from the given file.
    """
    data = []
    with open(filename, 'r', encoding="ISO-8859-1") as f:
        reader = csv.reader(f)
        for line in reader:
            tweet = line[5].strip()
            label = line[0].strip()
            data.append((tweet, label))
    return data