Rehman1603 commited on
Commit
abd2bf5
1 Parent(s): 9a38e32

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +6 -0
main.py CHANGED
@@ -7,6 +7,12 @@ import random
7
  import spacy
8
  import zipfile
9
  import os
 
 
 
 
 
 
10
  import git
11
  import json
12
  from sense2vec import Sense2Vec
 
7
  import spacy
8
  import zipfile
9
  import os
10
+ os.system('pip install git+https://github.com/boudinfl/pke.git')
11
+ os.system('python -m nltk.downloader universal_tagset')
12
+ os.system('python -m spacy download en')
13
+ os.system('wget https://github.com/explosion/sense2vec/releases/download/v1.0.0/s2v_reddit_2015_md.tar.gz')
14
+ os.system('tar -xvf s2v_reddit_2015_md.tar.gz')
15
+ os.system('python -m spacy download en_core_web_sm')
16
  import git
17
  import json
18
  from sense2vec import Sense2Vec