Skip to content

hannusia/group_homework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project name: sentimental_analysis_project

Description:

This project aims to build a web-application that can:

  • do sentimental analysis for English and Ukrainian texts
  • determine if text is acceptable for immature audiences
  • work with instagram, twitter and facebook posts also you can learn about our project more by watching this video

Example of working website:

Table of Contents:

docs:

contains all project documentation

modules:

contains all program modules

  • adt.py, twitter_api.py - module to extract text from tweet
  • analyze.py - module that analyzes text and returns final data to build diagram and worldcloud
  • cusswords.txt, not_for_children.txt - contains dirty words and cusswords for english and ukrainian
  • diagram_builder.py - module that uses data from analyze.py and returns image of diagram and worldcloud
  • divide.py - module with ADT and other classes to process text and perform sentimental analysis
  • url_check.py - check if input on website is a raw text or a link
  • read_file.py - contains all functions to read information from different files(txt and tsv)
  • web.py - module that creates website
  • templates - folder with html-files that are used in web
  • positive.tsv, negative.tsv - datasets with ukrainian words and their sentiments, datasets are mainly from https://github.com/lang-uk/tone-dict-uk

screens:

contains images for Wiki-pages and readme.md

tests:

contains modules for program testing

  • test.py - contains unittests for testing divide.py and analyze.py

Wiki pages:

Installation:

$ git https://github.com/hannusia/group_homework.git
$ cd group_homework
$ pip install -r requirements.txt

Usage:

  1. You can follow instructions from instalation and run Flask app at modules/web.py or open the website
  2. After this you have to enter some text in english or in ukrainian(or link to a twitter post) and press submit-button then you will see sentimental analysis of your text

Contributing:

If you want to contribute in one way or another, open an issue or clone and install the project using the abovementioned installation instructions, opening up the pull request once you are finished. Also you can contact through github or another social media.

Credits:

UCU, 2021

License:

MIT License

About

a website that performs sentiment analysis of Ukrainian texts

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •