Spaces:
Sleeping
Sleeping
Update src/pages/📈DatasetAnalysis.py
Browse files
src/pages/📈DatasetAnalysis.py
CHANGED
@@ -8,7 +8,7 @@ from matplotlib.font_manager import FontProperties
|
|
8 |
st.set_page_config(page_title="Datasets Analysis", page_icon="👋", layout="wide")
|
9 |
|
10 |
|
11 |
-
data100k = "
|
12 |
|
13 |
# Preparing datafrmae
|
14 |
df = pd.read_csv(data100k)
|
@@ -56,7 +56,7 @@ word_freq = Counter(words)
|
|
56 |
# Consider the top 1000 most common words
|
57 |
top_words = word_freq.most_common(1000)
|
58 |
# Define the font file path
|
59 |
-
font1 = "
|
60 |
###################################
|
61 |
# Stop words
|
62 |
# Get the top 50 most frequent words
|
|
|
8 |
st.set_page_config(page_title="Datasets Analysis", page_icon="👋", layout="wide")
|
9 |
|
10 |
|
11 |
+
data100k = "datafiles/nep_spell_100k.csv"
|
12 |
|
13 |
# Preparing datafrmae
|
14 |
df = pd.read_csv(data100k)
|
|
|
56 |
# Consider the top 1000 most common words
|
57 |
top_words = word_freq.most_common(1000)
|
58 |
# Define the font file path
|
59 |
+
font1 = "fonts/TiroDevanagariHindi-Regular.ttf"
|
60 |
###################################
|
61 |
# Stop words
|
62 |
# Get the top 50 most frequent words
|