def get_sentences_from_file(train_file):
    """ Returns a list of sentences from an input file.

    Args:
        train_file:  A path to a file
    Returns:
        A list of sentences as they appear in the input.
    """

    # Read the sentences from the input file (assumed to be a sentence per line)
    sentences = [line.rstrip('\n') for line in open(train_file)]
    return sentences