baseline- return input in randomized order

This commit is contained in:
Jakub Pokrywka 2022-02-08 12:58:49 +01:00
parent 358b7b2791
commit f2ab48d3ca
3 changed files with 8507 additions and 8507 deletions

View File

@ -7,6 +7,6 @@ for dataset in 'dev-0', 'test-A':
for line in f_in:
line = line.rstrip('\n').split('\t')
line = line[1:]
#line = random.shuffle(line)
random.shuffle(line)
line = '\t'.join(line) + '\n'
f_out.write(line)

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long