Code Monkey home page Code Monkey logo

web-scraper-and-classifier-for-hiv-articles-'s Introduction

Web-Scraper-And-Classifier-For-HIV-Articles

Categories used for classification-

1- Support/Facilitation/Awareness
2- Research/Development/Biomedical Improvement
3- Society Discrimination/Negative Impact
4- Patient’s progress/Infected improved life
5- Surge/HIV positive cases
6- HIV negative cases
7- Accident/Death cases
8- Suicide Cases
0- other

Requirrements-

1-Python
2-NLTK
3-Keras
4-Matplotlib (for visualization)
5-Spacy (for extracting places names from the articles)

File Structure

 .
└── Web-Scraper-And-Classifier-For-HIV-Articles-
   ├── Classifier.ipynb
   ├── Data
   │   └── final.xlsx
   ├── hiv_article_dataset_creator.py
   ├── LICENSE
   ├── news_articles_url_scrapper.py
   ├── README.md
   └── visualization
       ├── all.png
       ├── death.png
       ├── matrimony.png
       ├── pie.png
       ├── suicide.png
       └── visualization.py

How to use the repo

  1. Firstly run news_articles_url_scrapper.py . It will scrap all the articles from a given date to another and will dump all the urls in a CSV file named all_articles.csv

  2. Then run hiv_article_dataset_creator.py. It will scrap all the HIV articles from the all_articles.csv fille and a create hiv_report_data.xlsx file containing columns Year,Heading and Content of the HIV article.

  3. Running the Classifier.ipynb will classifiy the HIV articles in the above given categories.

  4. Run visualization.py if you want to get the visualized report on (death cases,suicide cases,matrimony related articles and the places mentioned in surge/epidimic category).

web-scraper-and-classifier-for-hiv-articles-'s People

Contributors

pranav-gupta-7 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

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.