Giter VIP home page Giter VIP logo

polaritymining-stackoverflow's Introduction

PolarityMining-StackOverflow

This is the code repository of my seminar paper "Polarity mining of Stack Overflow answers in the C and Python subcommunities". It contains all my Python and SQL scripts for data processing, data analysis and the final presentation

DataProcessing files:

Files Usage
analyzer.py Used to read the data from the csv data dumps, input it into VADER and then inserts everything into the PostgresSQL database
codecleaner.py Used to clean HTML tags from the answer bodies and remove code and links completely
csvjointer.py Used to join the csv files from the monthly data dumps
statreader.py Used to generate some statistics about the data dumps before they were processed
tagprinter.py Used to print example usages of HTML tags in the answer body
tagreader.py Used to find all tags that occur withing the data dumps

Data Analysis files:

Files Usage
answer_number_gen.py Used to generate random numbers to get a set of numbers for the manual rating process
correlationCalculator.py Used to calculate the pearson correlation of 2 data dumps
Edited_Answer_Code.py Used to calculate statistics about answers which were edited and not edited from data dumps
manual_answer_check_puller.py Used to process data from the database for the manual rating process
manual_rater.py Used to manually rate answers from data dumps in the console
presentation.py Used to manually rate answers during the presentation through a graphical interface instead of the console
results_of_manual_rating.py Uses to display the results of the manual rating in a nice way for the paper
Visualizer.py Used to generate LateX graphs with Matplotlib from data dumps
SQL files All the database queries used to gain knowledge from the data. Most queries are commented and explained.

Data Acquision files:

Files Usage
QueryFile.sql Used to get the data from the live database of Stack Exchange Meta. Only the important skeleton queries, because one query for a 3 month interval is the same as for all other months with only changes to the time interval

polaritymining-stackoverflow's People

Contributors

gilgusmaximus avatar

Watchers

 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.