Giter VIP home page Giter VIP logo

kuldeep1007 / distinctive-newsfeed-system Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 16.27 MB

Language Detection and Translation of text. Emotion and sentiment analysis.

Python 85.14% CSS 5.49% JavaScript 4.65% Less 2.21% SCSS 2.24% HTML 0.23% PowerShell 0.02% Batchfile 0.02%
nlp ml natural-language-processing machine-learning tweepy twitter-api newsfeed languagetranslator languagedetect sentiment-analysis emotion-analysis woeid

distinctive-newsfeed-system's Introduction

Distinctive News Feed System

Created by: Kuldeep and Bharat

Natural Language Processing and machine learning is used for this project. Django is used as Backend

Trending news topic will be provided by extracting the trending tweets from twitter. TWEEPY API IS USED TO GET TRENDING TWEETS FROM TWITTER AND WOE_ID IS USED TO GET PLACE INFROMATION

Language detection of tweets will be done. PYTHON LANGDETECT LIBRARY IS USED TO DETECT TEXT LANGUAGE If text language is not English, then the news will be converted to English Language.PYTHON LIBRARY GOOGLETRANS IS USED TO TRANSLATE LANGUAGE

Emotion Analysis ( Joy, Anger, Fear, Sadness, Disgust, Shame and Guilt )(WE HAVE TRAINED MACHINE LEARNING MODEL AND THAT MODEL IS USED) and Sentiment Analysis (Positive, Negative, Neutral) (PYTHON NLTK LIBRARY USE FOR SENTIMENT ANALYSIS) of the text will be shown

NOTE

Install all Libraries require for this project

from django.shortcuts import render
import requests
import os
from django.conf import settings
import sys
import pickle
import re
from collections import Counter
import tweepy
import json
import nltk
import string
from collections import Counter
from nltk.stem import WordNetLemmatizer
from nltk.tokenize import word_tokenize
from nltk.corpus import wordnet as wn
from nltk.stem.wordnet import WordNetLemmatizer
from nltk.corpus import stopwords
import numpy as np
import random
import string 
import wordninja #split tag
from textblob import TextBlob
from langdetect import detect
from translate import Translator
import re
from profanityfilter import ProfanityFilter

How to run a Project

Download this zip file or clone it. Open in any IDE and add following command

python manage.py runserver

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

Kuldeep and Bharat

distinctive-newsfeed-system's People

Contributors

kuldeep1007 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

joshi-coder

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.