xymeow7 commited on
Commit
d355949
1 Parent(s): 2b0e8d0

Update trainer.py

Browse files
Files changed (1) hide show
  1. trainer.py +2 -0
trainer.py CHANGED
@@ -19,6 +19,8 @@ from lstm_model_new import LSTM_model, BiLSTMModel
19
  from max_ent_model import MaxEntropyModel
20
  from svm_model import SVM
21
 
 
 
22
 
23
  class Trainer(object):
24
  def __init__(self, vocab_size, sequence_len, batch_size, nn_epochs, model_type):
 
19
  from max_ent_model import MaxEntropyModel
20
  from svm_model import SVM
21
 
22
+ nltk.download('punkt')
23
+
24
 
25
  class Trainer(object):
26
  def __init__(self, vocab_size, sequence_len, batch_size, nn_epochs, model_type):