UjjwalVIT commited on
Commit
56d18f3
1 Parent(s): 1b1560d
Files changed (1) hide show
  1. Text_analysis.py +1 -1
Text_analysis.py CHANGED
@@ -63,7 +63,7 @@ def text_analysis():
63
  st.write(keywords)
64
 
65
  with st.expander('Tagged Keywords'):
66
- data= pos_tag(text)
67
  st.dataframe(data)
68
  visualize_tags=tag_visualize(data)
69
  stc.html(visualize_tags,scrolling=True)
 
63
  st.write(keywords)
64
 
65
  with st.expander('Tagged Keywords'):
66
+ data= pos_tag(word_tokenize(text))
67
  st.dataframe(data)
68
  visualize_tags=tag_visualize(data)
69
  stc.html(visualize_tags,scrolling=True)