madhavkotecha commited on
Commit
faad496
1 Parent(s): b572626

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import numpy as np
2
+ import nltk
3
+ import sklearn_crfsuite
4
+ from sklearn_crfsuite import metrics
5
+ import gradio as gr
6
+
7
+ nltk.download('brown')
8
+ nltk.download('universal_tagset')
9
+ corpus = nltk.corpus.brown.tagged_sents(tagset='universal')