Skip to content

Commit 52d74f1

Browse files
use parameter file_path instead of data_file_path
1 parent 0bafb06 commit 52d74f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: preprocess.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def process_file(file_path, data_file_role, dataset_name, word_to_count, path_to
6565
outfile.write(target_name + ' ' + " ".join(contexts) + csv_padding + '\n')
6666
total += 1
6767

68-
print('File: ' + data_file_path)
68+
print('File: ' + file_path)
6969
print('Average total contexts: ' + str(float(sum_total) / total))
7070
print('Average final (after sampling) contexts: ' + str(float(sum_sampled) / total))
7171
print('Total examples: ' + str(total))

0 commit comments

Comments
 (0)