from typing import List
from typing import Tuple


def read_lines(
        src_translations_path: str,
        trg_translations_path: str
    ) -> List[Tuple[str, str]]:
    """
    Read in lines from two separate text files the form the tokenized paralell corpus
    Return a list of tuples contained in the sentence pair, i.e. (source_translation, target_translation)
    """
    source_lines: List[str] = open(src_translations_path, encoding='utf-8').read().strip().split('\n')
    target_lines: List[str] = open(trg_translations_path, encoding='utf-8').read().strip().split('\n')
    return [(source_lines[i], line) for i, line in enumerate(target_lines)]