from preprocess.data import ReVerbTestRaw
from sys import stdout

FILE = './data/reverb-test.txt'

if __name__ == '__main__':
    qa = ReVerbTestRaw()
    i = 0
    with open(FILE, 'a') as f:
        for q_id, q, a, l in qa:
            i += 1
            stdout.write("\rgenerated: %d" % i)
            stdout.flush()
            f.write("{}\t{}\t{}\t{}\n".format(q_id, q, a, l))
    stdout.write("\nTotal: %d\n" % i)
eca205f44bae85c3c5058624a2ae283ebd768d6f
<mask token>

<mask token>
if __name__ == '__main__':
    qa = ReVerbTestRaw()
    i = 0
    with open(FILE, 'a') as f:
        for q_id, q, a, l in qa:
            i += 1
            stdout.write('\rgenerated: %d' % i)
            stdout.flush()
            f.write('{}\t{}\t{}\t{}\n'.format(q_id, q, a, l))
    stdout.write('\nTotal: %d\n' % i)

<mask token>
FILE = './data/reverb-test.txt'
if __name__ == '__main__':
    qa = ReVerbTestRaw()
    i = 0
    with open(FILE, 'a') as f:
        for q_id, q, a, l in qa:
            i += 1
            stdout.write('\rgenerated: %d' % i)
            stdout.flush()
            f.write('{}\t{}\t{}\t{}\n'.format(q_id, q, a, l))
    stdout.write('\nTotal: %d\n' % i)

from preprocess.data import ReVerbTestRaw
from sys import stdout
FILE = './data/reverb-test.txt'
if __name__ == '__main__':
    qa = ReVerbTestRaw()
    i = 0
    with open(FILE, 'a') as f:
        for q_id, q, a, l in qa:
            i += 1
            stdout.write('\rgenerated: %d' % i)
            stdout.flush()
            f.write('{}\t{}\t{}\t{}\n'.format(q_id, q, a, l))
    stdout.write('\nTotal: %d\n' % i)

from preprocess.data import ReVerbTestRaw
from sys import stdout

FILE = './data/reverb-test.txt'

if __name__ == '__main__':
    qa = ReVerbTestRaw()
    i = 0
    with open(FILE, 'a') as f:
        for q_id, q, a, l in qa:
            i += 1
            stdout.write("\rgenerated: %d" % i)
            stdout.flush()
            f.write("{}\t{}\t{}\t{}\n".format(q_id, q, a, l))
    stdout.write("\nTotal: %d\n" % i)