Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -159,7 +159,7 @@ def DispersionPlot(textParty):
|
|
159 |
fdistance = FreqDist(word_tokens_party)
|
160 |
word_Lst=[]
|
161 |
for x in range(5):
|
162 |
-
word_Lst.append(fdistance.most_common(
|
163 |
|
164 |
plt.axis('off')
|
165 |
plt.title('Dispersion Plot')
|
|
|
159 |
fdistance = FreqDist(word_tokens_party)
|
160 |
word_Lst=[]
|
161 |
for x in range(5):
|
162 |
+
word_Lst.append(fdistance.most_common(6)[x][0])
|
163 |
|
164 |
plt.axis('off')
|
165 |
plt.title('Dispersion Plot')
|