File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -235,14 +235,14 @@ def loadCorpus(self, dirName):
235235 if not datasetExist : # First time we load the database: creating all files
236236 print ('Training samples not found. Creating dataset...' )
237237
238- optionnal = ''
238+ optional = ''
239239 if self .args .corpus == 'lightweight' and not self .args .datasetTag :
240240 raise ValueError ('Use the --datasetTag to define the lightweight file to use.' )
241241 else :
242- optionnal = '/' + self .args .datasetTag # HACK: Forward the filename
242+ optional = '/' + self .args .datasetTag # HACK: Forward the filename
243243
244244 # Corpus creation
245- corpusData = TextData .availableCorpus [self .args .corpus ](self .corpusDir + optionnal )
245+ corpusData = TextData .availableCorpus [self .args .corpus ](self .corpusDir + optional )
246246 self .createCorpus (corpusData .getConversations ())
247247
248248 # Saving
You can’t perform that action at this time.
0 commit comments