meta-boy / nlp-mini-project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Text-Summarization

Text-Summarization through FLASK using NLP

Hey,user if you have idea about FLASK feel free to skip the below section or just have a look.

FLASK:

Flask is a micro web framework written in Python. It is classified as a microframework because it does not require particular tools or libraries. It has no database abstraction layer, form validation, or any other components where pre-existing third-party libraries provide common functions.

Working of this Application :

Firstly the Application is Command line based executable under Python Environment and uses popular Python micro web framework that is FLASK.This Application consist of 2 main pages runs in LocalHost wherein intially a form is given to the user based on the content entered and on submit by the user,Accordingly the Summarizied Content is analyzed with support and importing of some python packages.This data is exported to the next connecting page.

Basically This project comprises of Three Modules :
  • Index Page
  • Exporting Summarized Content

Software Requirements:

  • Python 3+ any version or editors like Pycharm(Used in creating this application in Windows)
  • Install Python Libraries as follows ,

Run the these Commands in the Pycharm (venv) or CMD(for Windows) :

  • For installing FLASK,follow the below link as follows:

    >>> Click to view documentation for Flask-Install
  • For Review Analysis,importing vadersentiment is required ,thus run the command as follows:

               pip install nlp
  • For exporting and processing the data,run the following script in new .py file before ruuning the application as follows:
          import nltk
          nltk.download('stopwords')
          nltk.download('word_tokenize')
          nltk.download('sent_tokenize')
  • After installing above libraries,we need to import those and use the functionality in this application.

In order to run and intialize the application there are 2 alternative methods :

  • Method - 1 : Run from Editor in venv and view localhost application in any Browser with link (http://127.0.0.1:5000/)
  • Method - 2 : Run from command prompt with specified path location of project by using following command
               python __init__.py
Note : Detail-Working Demo of the Application is attached to the "/Output" folder of Repository

Here is the Quick glimpse of Application :

DEMO-OUTPUT

               Happy Coding :)

About

License:MIT License


Languages

Language:HTML 82.7%Language:Python 17.3%