kaushikbar commited on
Commit
e6e4dbd
·
1 Parent(s): ccfea75

word attributes

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -163,6 +163,7 @@ def sequence_to_classify(sequence, labels):
163
  sequence,
164
  predicted_labels))
165
 
 
166
  # Explain word attributes
167
  stop_words = nltk.corpus.stopwords.words('english')
168
  puncts = list(string.punctuation)
@@ -179,6 +180,7 @@ def sequence_to_classify(sequence, labels):
179
  del response_expl[key][idx]
180
 
181
  print(response_expl)
 
182
 
183
  return clean_output
184
 
 
163
  sequence,
164
  predicted_labels))
165
 
166
+ '''
167
  # Explain word attributes
168
  stop_words = nltk.corpus.stopwords.words('english')
169
  puncts = list(string.punctuation)
 
180
  del response_expl[key][idx]
181
 
182
  print(response_expl)
183
+ '''
184
 
185
  return clean_output
186