set_page_config accepts a certain number of arguments, as follows: You can experiment with different configurations and easily find information on how to use each instruction in Streamlit’s Documentation section, which includes input arguments and output results. The following screenshot explains the set_page_config() instruction. As you can see, there are several different configurations that we didn’t […]
Building the menu and adding decorations – Streamlit Essentials – Configuring the Environment, Managing Packages, and More
Building the menu and adding decorations NLP Web App might be a good title for our application, but to be honest, it’s just some black text on a white background, so it’s not very appealing at the moment. One of the greatest features of Streamlit is that we can use HTML very easily. So, let’s […]
Adding the Text Analysis part – Organizing and Displaying Content with Columns, Expanders, and NLP Techniques
Adding the Text Analysis part In this part, we will use textblob, a Python library for processing textual data. It provides a simple API for diving into common NLP tasks such as part-of-speech tagging, sentiment analysis, classification, and more. For more details, visit pypi.org (the famous Python Package Index). As usual, we need to install […]
Hiding and showing parts depending on importance – Organizing and Displaying Content with Columns, Expanders, and NLP Techniques
Hiding and showing parts depending on importance From a very broad point of view, an application is just a way to visualize, transform, and save information. Not always showing all the available information at the same time is a winning idea. For example, having all the information on a unique screen could make our app […]
Adding the two basic functions – Organizing and Displaying Content with Columns, Expanders, and NLP Techniques
Adding the two basic functions Let’s start with the first basic function: Basic Info. Expanding Basic Info, we get Text Stats. In Chapter 4, among others, we imported the neattext package, which is very useful for our statistics as it has a function named word_stats. If you haven’t already imported it, it’s time to do […]