Spaces:
Runtime error
Runtime error
Szymon Woźniak
commited on
Commit
·
25586d7
1
Parent(s):
736946d
add descriptions to language statistics page
Browse files
pages/1_Language_Statistics.py
CHANGED
@@ -12,6 +12,22 @@ def get_language_stats_df():
|
|
12 |
st.set_page_config(page_title="Language Statistics", page_icon="📈")
|
13 |
|
14 |
st.markdown("# Language Statistics")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
df = get_language_stats_df()
|
17 |
|
|
|
12 |
st.set_page_config(page_title="Language Statistics", page_icon="📈")
|
13 |
|
14 |
st.markdown("# Language Statistics")
|
15 |
+
st.write("""\
|
16 |
+
The table below shows the per-language statistics of the MMS corpus.
|
17 |
+
You can use the **'Add filters'** button to filter the table by any of the columns.
|
18 |
+
|
19 |
+
Column descriptions:
|
20 |
+
- **Language**: Language name,
|
21 |
+
- **Datasets**: Number of datasets in the MMS corpus for the given language,
|
22 |
+
- **News**: Number of datasets from news domain,
|
23 |
+
- **Reviews**: Number of datasets from reviews domain,
|
24 |
+
- **Social media**: Number of datasets from social media domain,
|
25 |
+
- **Other**: Number of datasets from other domains,
|
26 |
+
- **Negative**: Number of examples with negative sentiment,
|
27 |
+
- **Neutral**: Number of examples with neutral sentiment,
|
28 |
+
- **Positive**: Number of examples with positive sentiment,
|
29 |
+
- **Words**: The average number of words in a single example,
|
30 |
+
- **Characters**: The average number of characters in a single example,""")
|
31 |
|
32 |
df = get_language_stats_df()
|
33 |
|