FahadAlam commited on
Commit
6fa2cc1
·
1 Parent(s): 5a72547

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def text_analysis(text):
22
 
23
  rows = []
24
  for token in doc:
25
- rows.append((token.text, token.lemma_, token.pos_, token.tag_, token.dep_,
26
  token.shape_, token.is_alpha, token.is_stop))
27
 
28
  table = pd.DataFrame(rows, columns = ["TEXT", "LEMMA","POS","TAG","DEP","SHAPE","ALPHA","STOP"])
 
22
 
23
  rows = []
24
  for token in doc:
25
+ rows.append((token.text, token.lemma_, token.pos_, token.tag_, token.dep_,
26
  token.shape_, token.is_alpha, token.is_stop))
27
 
28
  table = pd.DataFrame(rows, columns = ["TEXT", "LEMMA","POS","TAG","DEP","SHAPE","ALPHA","STOP"])