def _prepare_qats2016()

in tseval/utils/prepare.py [0:0]


def _prepare_qats2016():
    qats2016_dir = get_dataset_dir('qats2016')
    if not os.path.exists(qats2016_dir):
        os.makedirs(qats2016_dir)
    url = 'http://qats2016.github.io/qats2016.github.io/train.shared-task.tsv'
    destination_path = os.path.join(qats2016_dir, 'train.shared-task.tsv')
    download(url, destination_path)
    url = 'http://qats2016.github.io/qats2016.github.io/test.shared-task.tsv'
    destination_path = os.path.join(qats2016_dir, 'test.shared-task.tsv')
    download(url, destination_path)
    url = 'http://qats2016.github.io/qats2016.github.io/test.o+g+m+s.human-labels'
    destination_path = os.path.join(qats2016_dir, 'test.shared-task.labels.tsv')
    download(url, destination_path)
    print('Done.')