Spaces:
Sleeping
Sleeping
Daryl Fung
commited on
Commit
·
bf8e769
1
Parent(s):
d083337
fix requirements
Browse files
word.py
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
from wordcloud import WordCloud
|
2 |
import nltk
|
3 |
from nltk import ngrams
|
|
|
|
|
|
|
4 |
import matplotlib.pyplot as plt
|
5 |
import pandas as pd
|
6 |
from collections import Counter
|
|
|
1 |
from wordcloud import WordCloud
|
2 |
import nltk
|
3 |
from nltk import ngrams
|
4 |
+
nltk.download("stopwords")
|
5 |
+
nltk.download("punkt")
|
6 |
+
|
7 |
import matplotlib.pyplot as plt
|
8 |
import pandas as pd
|
9 |
from collections import Counter
|