dkirkby / CodeNames

AI for CodeNames
MIT License
18 stars 7 forks source link

create_corpus_index.py: Ignore existing *.index files if re-launch #19

Closed manurFR closed 7 years ago

manurFR commented 7 years ago

If create_corpus_index.py fails midway and is re-launched, it will consider that the existence of a corpus/<word>.index file means that this \ has already been searched. It will not modify the file and pass to the next word.

dkirkby commented 7 years ago

Lets defer adding the encoding to all source files to a separate PR (since that will touch all files) and I will merge this know as-is.