Giter Club home page Giter Club logo

health-wellness-nlp-project's Introduction

health-wellness-NLP-project

Overview

This text analytics project scrapes articles about a topic of interest from vetted sources on the web and presents a concise summary of the most important points from the conglomerate of articles, along with the most frequent words. It also includes topic modeling with LDA, presenting the top 10 topics from the corpus. While the code presented here can be applied to articles on any topic, the goal of this project is to extract key information from the abundance of health and wellness information available online. Doing so efficiently and accurately encourages awareness of different health issues and solutions, promotes preventative healthcare, and delivers more focused health information. Here I take genetic testing as the topic.

Prerequisites

The following Python packages are required:
bs4 - BeautifulSoup, used for web scraping
nltk - natural language toolkit
networkx - builds a network graph, includes PageRank function
gensim - for topic modeling with LDA

How to run

The repository includes the links text file, which is the input for 'Text Extraction with BeautifulSoup'. The output is the corpus_cleaned text file, which is also the input to 'TextRank Summmary'. The links file is curated by the user to ensure the sources are reliable.

References

@davidadamojr repo link: https://github.com/davidadamojr/TextRank/blob/master/textrank/__init__.py
TextRank: Bringing Order into Texts - R. Mihalcea and P. Tarau (2004) https://www.analyticsvidhya.com/blog/2016/08/beginners-guide-to-topic-modeling-in-python/

health-wellness-nlp-project's People

Contributors

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