help@rskworld.in +91 93305 39277
RSK World
  • Home
  • Development
    • Web Development
    • Mobile Apps
    • Software
    • Games
    • Project
  • Technologies
    • Data Science
    • AI Development
    • Cloud Development
    • Blockchain
    • Cyber Security
    • Dev Tools
    • Testing Tools
  • Blog
  • About
  • Contact

Theme Settings

Color Scheme
Display Options
Font Size
100%
Back to Project
RSK World
sentiment-analysis-bot
RSK World
sentiment-analysis-bot
Sentiment Analysis Bot - Python + Flask + NLTK + TextBlob + spaCy + VADER + Emotion Detection + Sentiment Analysis
sentiment-analysis-bot
  • __pycache__
  • static
  • templates
  • tests
  • .env.example1.3 KB
  • .gitignore771 B
  • Dockerfile1.4 KB
  • LICENSE2.4 KB
  • LICENSE.txt2.4 KB
  • README.md8 KB
  • RELEASE_NOTES_v2.0.0.md4.1 KB
  • app.py40.4 KB
  • config.py3.3 KB
  • docker-compose.yml2.2 KB
  • requirements.txt1.4 KB
  • run.py1.9 KB
  • sentiment-analysis-bot.png2 MB
  • setup.py2.6 KB
run.pychat.js
run.py
Raw Download
Find: Go to:
#!/usr/bin/env python3
"""
Sentiment Analysis Bot Runner
Author: RSK World (https://rskworld.in)
Founded by: Molla Samser
Designer & Tester: Rima Khatun
Contact: help@rskworld.in, +91 93305 39277
Year: 2026
"""

import os
import sys
from app import app

def main():
    """Main entry point for the application"""
    
    # Print startup banner
    print("=" * 60)
    print("šŸ¤– SENTIMENT ANALYSIS BOT")
    print("=" * 60)
    print("šŸ“Š Features: Real-time sentiment analysis, emotion detection")
    print("šŸŽÆ Capabilities: Response adaptation, feedback collection")
    print("🌐 Web Interface: http://localhost:5000")
    print("šŸ“ˆ API Endpoints: /api/chat, /api/report, /api/reset")
    print("-" * 60)
    print("šŸ‘¤ Created by RSK World (https://rskworld.in)")
    print("šŸ“ž Contact: help@rskworld.in | +91 93305 39277")
    print("šŸ‘Øā€šŸ’» Founder: Molla Samser")
    print("šŸ‘©ā€šŸ’» Designer & Tester: Rima Khatun")
    print("šŸ“… Year: 2026")
    print("šŸ“ Nutanhat, Mongolkote, Purba Burdwan, West Bengal, India")
    print("=" * 60)
    
    # Check if running in production mode
    if os.environ.get('FLASK_ENV') == 'production':
        print("šŸš€ Running in PRODUCTION mode")
        print("āš ļø  Make sure all security configurations are set")
    else:
        print("šŸ”§ Running in DEVELOPMENT mode")
    
    print("🌟 Starting server...")
    print("-" * 60)
    
    # Run the Flask application
    try:
        app.run(
            host=os.environ.get('HOST', '0.0.0.0'),
            port=int(os.environ.get('PORT', 5000)),
            debug=os.environ.get('FLASK_DEBUG', 'True').lower() == 'true'
        )
    except KeyboardInterrupt:
        print("\nšŸ‘‹ Server stopped by user")
        sys.exit(0)
    except Exception as e:
        print(f"āŒ Error starting server: {e}")
        sys.exit(1)

if __name__ == '__main__':
    main()
61 lines•1.9 KB
python
šŸš€ Support RSK World

Subscribe to our YouTube channel for latest tutorials & updates!



Click subscribe & support our work ā¤ļø

About RSK World

Founded by Molla Samser, with Designer & Tester Rima Khatun, RSK World is your one-stop destination for free programming resources, source code, and development tools.

Founder: Molla Samser
Designer & Tester: Rima Khatun

Development

  • Game Development
  • Web Development
  • Mobile Development
  • AI Development
  • Development Tools

Legal

  • Terms & Conditions
  • Privacy Policy
  • Disclaimer

Contact Info

Nutanhat, Mongolkote
Purba Burdwan, West Bengal
India, 713147

+91 93305 39277

hello@rskworld.in
support@rskworld.in

© 2026 RSK World. All rights reserved.

Content used for educational purposes only. View Disclaimer