def convert_to_x_y(texts, targets):
    """
    Converts data into form x,y 
    Args:
        texts (list): List of texts
        targets (list): List of targets
    Returns:
        list: A tuple of form (x,y)
    """

    data = [(texts[idx], targets[idx]) for idx in range(len(targets))]
    return data