Skip to main content

A comprehensive NLP toolkit combining all major Python NLP libraries

Project description

NLP Suite 🚀

A comprehensive Python package that provides easy access to all major NLP libraries through optional extras. Install only what you need!

Python License PyPI

📦 Installation

Basic Installation (Essentials Only)

pip install nlp-suite

This installs only the core essentials: numpy, pandas, tqdm

Install with Extras

# Core NLP tools
pip install nlp-suite[core]

# Deep learning frameworks
pip install nlp-suite[deep-learning]

# Everything at once
pip install nlp-suite[all]

# Combine multiple extras
pip install nlp-suite[core,preprocessing,visualization]

🎯 Available Extras

Extra Description Key Packages
core Essential NLP libraries nltk, spacy, textblob, stanza, gensim
deep-learning Modern AI/ML frameworks transformers, sentence-transformers, torchtext
preprocessing Text cleaning tools regex, beautifulsoup4, ftfy, clean-text
vectorization Text vectorization scikit-learn, fasttext
topic-modeling Topic analysis bertopic, pyLDAvis
sentiment Sentiment analysis vaderSentiment
translation Translation tools deep-translator, translate
speech Speech processing SpeechRecognition, gTTS, pyttsx3
visualization Data visualization wordcloud, matplotlib, seaborn
serving Model deployment fastapi, flask, gradio, streamlit
evaluation Model evaluation seqeval, evaluate

🎁 Convenience Bundles

pip install nlp-suite[basic]        # core + preprocessing + sentiment
pip install nlp-suite[advanced]     # deep-learning + topic-modeling + evaluation
pip install nlp-suite[complete]     # most popular packages
pip install nlp-suite[all]          # everything!

🚀 Quick Start

import nlp_suite

# See what's available
nlp_suite.show_available_extras()

# Check what's installed
nlp_suite.check_installed()

# Get package info
info = nlp_suite.get_package_info()
print(f"NLP Suite v{info['version']} with {info['total_packages']} packages available")

💡 Usage Examples

Text Processing with Core Tools

# Install: pip install nlp-suite[core]
import nltk
import spacy
from textblob import TextBlob

# Use any of the installed libraries
blob = TextBlob("NLP Suite makes it easy!")
print(blob.sentiment)

Deep Learning NLP

# Install: pip install nlp-suite[deep-learning]
from transformers import pipeline

classifier = pipeline("sentiment-analysis")
result = classifier("I love NLP Suite!")
print(result)

Visualization

# Install: pip install nlp-suite[visualization]
from wordcloud import WordCloud
import matplotlib.pyplot as plt

text = "NLP Suite provides easy access to all major NLP libraries"
wordcloud = WordCloud().generate(text)
plt.imshow(wordcloud, interpolation='bilinear')
plt.axis('off')
plt.show()

🛠️ Development

# Clone the repository
git clone https://github.com/sunilkumarpradhan/nlp-suite.git
cd nlp-suite

# Install with Poetry
poetry install

# Run tests
poetry run pytest

# Run tests with coverage
poetry run pytest --cov=nlp_suite

📋 Requirements

  • Python 3.9+
  • Individual package requirements vary by extra

🤝 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.

🙏 Acknowledgments

This package is a convenience wrapper around amazing libraries created by:

  • The NLTK team
  • The spaCy team
  • Hugging Face
  • And many other open-source contributors

📞 Support


Made with ❤️ for the NLP community

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

usool_e_ghalib-0.1.0.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

usool_e_ghalib-0.1.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file usool_e_ghalib-0.1.0.tar.gz.

File metadata

  • Download URL: usool_e_ghalib-0.1.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.0 CPython/3.10.0 Windows/10

File hashes

Hashes for usool_e_ghalib-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a2824abe45b0b8c1ecadc8efb8fbd172885af8e1826d47187efec5f964468f36
MD5 8f4cdbeb313c0f10a7ad99c4529ce37c
BLAKE2b-256 8aae6e17fdb3a928eeeb57f7bcd055226a24c8c59edfd44dfc7425ddaa8d1aa1

See more details on using hashes here.

File details

Details for the file usool_e_ghalib-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: usool_e_ghalib-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.0 CPython/3.10.0 Windows/10

File hashes

Hashes for usool_e_ghalib-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8184b3acf0a9978bd015369459369f879ec013ed99d101f5997bfb349d7a51dd
MD5 5febe896347d02e170167afa3f2f1af2
BLAKE2b-256 a7a7700afded8ae7dfb8423efcba12888276a64c6cefc37ddee1d144afa5d05e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page