Giter VIP home page Giter VIP logo

everydaycodings / text-summarization-using-nlp Goto Github PK

View Code? Open in Web Editor NEW
38.0 2.0 10.0 12.33 MB

Text Summarization using NLP to fetch BBC News Article and summarize its text and also it includes custom article Summarization

Home Page: https://text--summarization.herokuapp.com/

License: MIT License

Python 96.27% Shell 2.67% Procfile 1.06%
nlp-machine-learning spacy summarization bbc-news article-summarization text-summarization text-analysis hactoberfest

text-summarization-using-nlp's Introduction

Text-Summarization-using-NLP

Python Framework Spacy

Text Summarization using NLP to fetch BBC News Article and summarize its text and also it includes custom article Summarization

Features Of Data Analysis Web App

  • Get your custom Text Summarized.
  • we automatically Summarize text of BCC News so that you dont have to read whole article.

Check out the live demo: https://text--summarization.herokuapp.com/

Vedio demo:

GIF

Note

Use this URL - Click Me - in case if you are faccing any problem with source code.

Source Code: github link

How to run the project?

  1. Clone or download this repository to your local machine.
  2. Install all the libraries mentioned in the requirements.txt file with the command pip3 install -r requirements.txt
  3. Create a file name config.ini
  4. Paste the code in config.ini and insert key deatils which you will get keys here newsapi.org
[API]

news_api = Your Keys

  1. Open your terminal/command prompt from your project directory and run the file app.py by executing the command streamlit run app.py.

Architecture of your Project Home Directory

GIF

If you Use this Code for Any Commercial Purpose. Please Don't Forget To mention or give shoutout to everydaycodings.

Donate If you fell this Web App Makes your work a bit easy.

Binance (BNB)

0x846d778c4714830C8cdcB2Af85F76544CFf0d9A1

Cardano(ADA)

addr1q8fstx3ut2nfhrv9e324tyfdp2uwcvy0uree3junwll5y5p7lnnqpnq6ufjh4qfkul9tvx49udsnyq7vmst6huvngyss72e63v

Bitcoin(BTC)

bc1qutf2e707aglx8wqmf4x8e7rzxaunmxlcnpyxqr

text-summarization-using-nlp's People

Contributors

everydaycodings avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

text-summarization-using-nlp's Issues

Spacy Issue

UserWarning: [W094] Model 'en_core_web_sm' (2.2.0) specifies an under-constrained spaCy version requirement: >=2.2.0. This can lead to compatibility problems with older versions, or as new spaCy versions are released, because the model may say it's compatible when it's not. Consider changing the "spacy_version" in your meta.json to a version range, with a lower and upper pin. For example: >=3.7.4,<3.8.0
warnings.warn(warn_msg)
2024-03-22 11:24:02.188 WARNING streamlit.runtime.caching.cache_data_api: No runtime found, using MemoryCacheStorageManager
C:\Users\Lenovo\anaconda3\Lib\site-packages\spacy\util.py:918: UserWarning: [W094] Model 'en_core_web_sm' (2.2.0) specifies an under-constrained spaCy version requirement: >=2.2.0. This can lead to compatibility problems with older versions, or as new spaCy versions are released, because the model may say it's compatible when it's not. Consider changing the "spacy_version" in your meta.json to a version range, with a lower and upper pin. For example: >=3.7.4,<3.8.0
warnings.warn(warn_msg)
Traceback (most recent call last):
File "c:\Users\Lenovo\OneDrive\Desktop\Text-Summarization-using-NLP-master\app.py", line 2, in
from helper import get_summary, spacy_rander, fetch_news, fetch_news_links
File "c:\Users\Lenovo\OneDrive\Desktop\Text-Summarization-using-NLP-master\helper.py", line 14, in
nlp= en_core_web_sm.load()
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Lenovo\anaconda3\Lib\site-packages\en_core_web_sm_init_.py", line 12, in load
return load_model_from_init_py(file, **overrides)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Lenovo\anaconda3\Lib\site-packages\spacy\util.py", line 682, in load_model_from_init_py
return load_model_from_path(
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Lenovo\anaconda3\Lib\site-packages\spacy\util.py", line 538, in load_model_from_path
config = load_config(config_path, overrides=overrides)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Lenovo\anaconda3\Lib\site-packages\spacy\util.py", line 714, in load_config
raise IOError(Errors.E053.format(path=config_path, name="config file"))
OSError: [E053] Could not read config file from C:\Users\Lenovo\anaconda3\Lib\site-packages\en_core_web_sm\en_core_web_sm-2.2.0\config.cfg
coming this error

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.