Ahmad Tawil

Jupyter Notebook · Shipped

NLP eBooks Sentiment Analysis

Sentiment analysis tool for eBooks using Python and NLP to detect emotional tone in long-form text.

PythonJupyter Notebook

This repository contains Natural Language Processing (NLP) analysis of e-books using Python. The project demonstrates various NLP techniques and text analysis methods applied to literary works.

Project Structure #

  • Book_Analysis.ipynb: Main Jupyter notebook containing the book analysis code
  • miracle_in_the_andes.txt: Sample text file for analysis
  • Untitled.ipynb: Additional analysis notebook

Features #

  • Text preprocessing and cleaning
  • Sentiment analysis
  • Word frequency analysis
  • Topic modeling
  • Text visualization

Requirements #

  • Python 3.x
  • Jupyter Notebook
  • Required Python packages (to be added to requirements.txt)

Getting Started #

  1. Clone the repository:
git clone https://github.com/AhmadTawil1/NLP-ebooks.git
  1. Install the required packages:
pip install -r requirements.txt
  1. Open the Jupyter notebooks to view the analysis:
jupyter notebook

Contributing #

Contributions are welcome! Please feel free to submit a Pull Request.

License #

This project is licensed under the MIT License - see the LICENSE file for details.

Author #

Ahmad Tawil