in model_code/pos_tag.py [0:0]
def open_files(input_location, dataset, dataset_name):
with open(input_location + "/" + dataset + "." + dataset_name + "_target") as f:
target = f.readlines()[0:2000]
with open(input_location + "/" + dataset + "." + dataset_name + "_source") as f:
source = f.readlines()[0:2000]
return target, source