We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d46cef3 commit c0fdcaaCopy full SHA for c0fdcaa
bin/tokenize_all.py
@@ -83,7 +83,9 @@ def main():
83
if not os.path.isdir(my_tokenized_dir):
84
os.makedirs(my_tokenized_dir)
85
my_tokenized_file=os.path.join(my_tokenized_dir,"tokens.json")
86
- tokenize(args,my_concatenated_file,my_tokenized_file)
+ # Check to see if we have already tokenized...
87
+ if(not os.path.isfile(my_tokenized_file)):
88
+ tokenize(args,my_concatenated_file,my_tokenized_file)
89
90
print ("done")
91
0 commit comments