Spaces:
Running
Running
Update Home.py
Browse files
Home.py
CHANGED
@@ -15,9 +15,10 @@ st.sidebar.success('Select page above')
|
|
15 |
mt1, mt2, mt3 = st.tabs(["About", "How to", "Behind this app"])
|
16 |
|
17 |
with mt1:
|
18 |
-
st.header("
|
19 |
-
st.write(
|
20 |
-
st.write("
|
|
|
21 |
st.text('')
|
22 |
st.text('')
|
23 |
st.text('')
|
@@ -64,7 +65,7 @@ with mt2:
|
|
64 |
""")
|
65 |
|
66 |
elif option == 'Topic Modeling':
|
67 |
-
tab1, tab2, tab3 = st.tabs(["Prologue", "Steps", "Requirements"])
|
68 |
with tab1:
|
69 |
st.write("Topic modeling has numerous advantages for librarians in different aspects of their work. A crucial benefit is an ability to quickly organize and categorize a huge volume of textual content found in websites, institutional archives, databases, emails, and reference desk questions. Librarians can use topic modeling approaches to automatically identify the primary themes or topics within these documents, making navigating and retrieving relevant information easier. Librarians can identify and understand the prevailing topics of discussion by analyzing text data with topic modeling tools, allowing them to assess user feedback, tailor their services to meet specific needs and make informed decisions about collection development and resource allocation. Making ontologies, automatic subject classification, recommendation services, bibliometrics, altmetrics, and better resource searching and retrieval are a few examples of topic modeling. To do topic modeling on other text like chats and surveys, change the column name to 'Abstract' in your file.")
|
70 |
st.divider()
|
@@ -73,7 +74,7 @@ with mt2:
|
|
73 |
|
74 |
with tab2:
|
75 |
st.text("1. Put your file. We use abstract column for this process.")
|
76 |
-
st.text("2. Choose your preferred method. LDA is the most widely used, whereas Biterm is appropriate for short text, and BERTopic works well for large text data.")
|
77 |
st.text("3. Finally, you can visualize your data.")
|
78 |
st.error("This app includes lemmatization and stopwords for the abstract text. Currently, we only offer English words. For other languages you can use stemming.", icon="π¬")
|
79 |
st.error("If you want to see the topic on another data (chats, questionnaire, or other text), change the column name of your table to 'Abstract'.", icon="π¨")
|
@@ -92,9 +93,24 @@ with mt2:
|
|
92 |
| Other | .csv | Change your column to 'Abstract' |
|
93 |
+----------------+------------------------+----------------------------------+
|
94 |
""")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
|
96 |
elif option == 'Bidirected Network':
|
97 |
-
tab1, tab2, tab3 = st.tabs(["Prologue", "Steps", "Requirements"])
|
98 |
with tab1:
|
99 |
st.write("The use of network text analysis by librarians can be quite beneficial. Finding hidden correlations and connections in textual material is a significant advantage. Using network text analysis tools, librarians can improve knowledge discovery, obtain deeper insights, and support scholars meaningfully, ultimately enhancing the library's services and resources. This menu provides a two-way relationship instead of the general network of relationships to enhance the co-word analysis. Since it is based on ARM, you may obtain transactional data information using this menu. Please name the column in your file 'Keyword' instead.")
|
100 |
st.divider()
|
@@ -128,9 +144,15 @@ with mt2:
|
|
128 |
| | | and separate the words with ';' |
|
129 |
+----------------+------------------------+---------------------------------+
|
130 |
""")
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
|
132 |
elif option == 'Sunburst':
|
133 |
-
tab1, tab2, tab3 = st.tabs(["Prologue", "Steps", "Requirements"])
|
134 |
with tab1:
|
135 |
st.write("Sunburst's ability to present a thorough and intuitive picture of complex hierarchical data is an essential benefit. Librarians can easily browse and grasp the relationships between different levels of the hierarchy by employing sunburst visualizations. Sunburst visualizations can also be interactive, letting librarians and users drill down into certain categories or subcategories for further information. This interactive and visually appealing depiction improves the librarian's understanding of the collection and provides users with an engaging and user-friendly experience, resulting in improved information retrieval and decision-making.")
|
136 |
|
@@ -153,6 +175,12 @@ with mt2:
|
|
153 |
| | (.txt) | |
|
154 |
+----------------+------------------------+----------------+
|
155 |
""")
|
|
|
|
|
|
|
|
|
|
|
|
|
156 |
|
157 |
with mt3:
|
158 |
st.header('Behind this app')
|
|
|
15 |
mt1, mt2, mt3 = st.tabs(["About", "How to", "Behind this app"])
|
16 |
|
17 |
with mt1:
|
18 |
+
st.header("Hello and welcome to the Coconut Library Tool!")
|
19 |
+
st.write("The coconut tree is known as one of the most useful trees. Each part of this important tree has an integral function from the leaves producing oxygen through photosynthesis to the shells, oil, wood, flowers, and husks being used in a variety of ways, such as building houses, cooking, and more.")
|
20 |
+
st.write("Our philosophy aspires to emulate this highly cohesive and functionally unified environment where each part serves a specific function to the greater whole. π΄ Just like the coconut tree, the Coconut Library Tool is the all-in-one data mining and textual analysis tool for librarians or anyone interested in these applications. Our tool does not require any prior knowledge of coding or programming, making it approachable and great for users who want to test out these data analysis and visualization techniques.")
|
21 |
+
st.write("We cannot thank everyone enough for who has assisted in the creation of this tool. Due to each individualβs efforts, science will advance, allowing for multiple analysis and visualization techniques to coexist within this one tool. π§π»βπ€βπ§πΎ")
|
22 |
st.text('')
|
23 |
st.text('')
|
24 |
st.text('')
|
|
|
65 |
""")
|
66 |
|
67 |
elif option == 'Topic Modeling':
|
68 |
+
tab1, tab2, tab3, tab4 = st.tabs(["Prologue", "Steps", "Requirements", "Download Visualization"])
|
69 |
with tab1:
|
70 |
st.write("Topic modeling has numerous advantages for librarians in different aspects of their work. A crucial benefit is an ability to quickly organize and categorize a huge volume of textual content found in websites, institutional archives, databases, emails, and reference desk questions. Librarians can use topic modeling approaches to automatically identify the primary themes or topics within these documents, making navigating and retrieving relevant information easier. Librarians can identify and understand the prevailing topics of discussion by analyzing text data with topic modeling tools, allowing them to assess user feedback, tailor their services to meet specific needs and make informed decisions about collection development and resource allocation. Making ontologies, automatic subject classification, recommendation services, bibliometrics, altmetrics, and better resource searching and retrieval are a few examples of topic modeling. To do topic modeling on other text like chats and surveys, change the column name to 'Abstract' in your file.")
|
71 |
st.divider()
|
|
|
74 |
|
75 |
with tab2:
|
76 |
st.text("1. Put your file. We use abstract column for this process.")
|
77 |
+
st.text("2. Choose your preferred method. LDA is the most widely used, whereas Biterm is appropriate for short text, and BERTopic works well for large text data as well as supports more than 50+ languages.")
|
78 |
st.text("3. Finally, you can visualize your data.")
|
79 |
st.error("This app includes lemmatization and stopwords for the abstract text. Currently, we only offer English words. For other languages you can use stemming.", icon="π¬")
|
80 |
st.error("If you want to see the topic on another data (chats, questionnaire, or other text), change the column name of your table to 'Abstract'.", icon="π¨")
|
|
|
93 |
| Other | .csv | Change your column to 'Abstract' |
|
94 |
+----------------+------------------------+----------------------------------+
|
95 |
""")
|
96 |
+
|
97 |
+
with tab4:
|
98 |
+
st.subheader(':blue[pyLDA]')
|
99 |
+
st.button('Download image')
|
100 |
+
st.text("Click Download Image button.")
|
101 |
+
|
102 |
+
st.divider()
|
103 |
+
st.subheader(':blue[Biterm]')
|
104 |
+
st.text("Click the three dots at the top right then select the desired format.")
|
105 |
+
st.markdown("![Downloading visualization](https://raw.githubusercontent.com/faizhalas/library-tools/main/images/download_biterm.jpg)")
|
106 |
+
|
107 |
+
st.divider()
|
108 |
+
st.subheader(':blue[BERTopic]')
|
109 |
+
st.text("Click the camera icon on the top right menu")
|
110 |
+
st.markdown("![Downloading visualization](https://raw.githubusercontent.com/faizhalas/library-tools/main/images/download_bertopic.jpg)")
|
111 |
|
112 |
elif option == 'Bidirected Network':
|
113 |
+
tab1, tab2, tab3, tab4 = st.tabs(["Prologue", "Steps", "Requirements", "Download Graph"])
|
114 |
with tab1:
|
115 |
st.write("The use of network text analysis by librarians can be quite beneficial. Finding hidden correlations and connections in textual material is a significant advantage. Using network text analysis tools, librarians can improve knowledge discovery, obtain deeper insights, and support scholars meaningfully, ultimately enhancing the library's services and resources. This menu provides a two-way relationship instead of the general network of relationships to enhance the co-word analysis. Since it is based on ARM, you may obtain transactional data information using this menu. Please name the column in your file 'Keyword' instead.")
|
116 |
st.divider()
|
|
|
144 |
| | | and separate the words with ';' |
|
145 |
+----------------+------------------------+---------------------------------+
|
146 |
""")
|
147 |
+
|
148 |
+
with tab4:
|
149 |
+
st.subheader(':blue[Bidirected Network]')
|
150 |
+
st.text("Zoom in, zoom out, or shift the nodes as desired, then right-click and select Save image as ...")
|
151 |
+
st.markdown("![Downloading graph](https://raw.githubusercontent.com/faizhalas/library-tools/main/images/download_bidirected.jpg)")
|
152 |
+
|
153 |
|
154 |
elif option == 'Sunburst':
|
155 |
+
tab1, tab2, tab3, tab4 = st.tabs(["Prologue", "Steps", "Requirements", "Download Visualization"])
|
156 |
with tab1:
|
157 |
st.write("Sunburst's ability to present a thorough and intuitive picture of complex hierarchical data is an essential benefit. Librarians can easily browse and grasp the relationships between different levels of the hierarchy by employing sunburst visualizations. Sunburst visualizations can also be interactive, letting librarians and users drill down into certain categories or subcategories for further information. This interactive and visually appealing depiction improves the librarian's understanding of the collection and provides users with an engaging and user-friendly experience, resulting in improved information retrieval and decision-making.")
|
158 |
|
|
|
175 |
| | (.txt) | |
|
176 |
+----------------+------------------------+----------------+
|
177 |
""")
|
178 |
+
|
179 |
+
with tab4:
|
180 |
+
st.subheader(':blue[Sunburst]')
|
181 |
+
st.text("Click the camera icon on the top right menu")
|
182 |
+
st.markdown("![Downloading visualization](https://raw.githubusercontent.com/faizhalas/library-tools/main/images/download_bertopic.jpg)")
|
183 |
+
|
184 |
|
185 |
with mt3:
|
186 |
st.header('Behind this app')
|