vivek9 commited on
Commit
32aa11b
·
verified ·
1 Parent(s): 44f2935

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -7,6 +7,7 @@ from PRNN import PRNN
7
 
8
  from PRNN_utils import batch_calculate_grads, check_conditions, check_all_conditions, train_and_val, prepare_folds, process_CVresults, tags2sentence
9
  import nltk
 
10
  from nltk.tokenize import word_tokenize
11
 
12
  def tokens_and_tags(sentence):
 
7
 
8
  from PRNN_utils import batch_calculate_grads, check_conditions, check_all_conditions, train_and_val, prepare_folds, process_CVresults, tags2sentence
9
  import nltk
10
+ nltk.download('punkt')
11
  from nltk.tokenize import word_tokenize
12
 
13
  def tokens_and_tags(sentence):