This Streamlit application is designed to provide intuitive and detailed text analysis focused on keyword extraction, keyword relevance, and sentiment analysis. It uses the power of advanced Python libraries such as spaCy
, PyTextRank
, and TextBlob
to process and analyze input text.
- Keyword Extraction: Identifies and evaluates the most relevant keywords within the input text, using the PyTextRank algorithm.
- Sentiment Analysis: Provides sentiment analysis of the text, evaluating both polarity (positive, neutral, negative) and subjectivity (objective vs. subjective).
- Target Keywords: Allows users to enter specific target keywords and assesses their relevance in the context of the analyzed text.
To run this application on your local system, follow these steps:
- Make sure you have Python installed on your system.
- Clone this repository or download the source files.
- Install the necessary dependencies using
pip
:pip install -r requirements.txt
- Start the Streamlit application:
streamlit run streamlit_app.py
streamlit
spacy
pytextrank
textblob
pandas
After starting the application, enter the text to be analyzed in the text area provided and specify any target keywords separated by commas. Press the "Analyze" button to view the results.
This project is currently without a specific license. All rights are reserved by the author. For further information or requests for use, please contact the author.
This project was developed by NUR® Digital Marketing, inspired by the guide available on Analytics Vidhya: Keyword Extraction Methods from Documents in NLP.