GithubHelp home page GithubHelp logo

cs140-sentiment-analysis-project's Introduction

CS140 Sentiment Analysis Annotation Project

Instructions for annotators

Hello, dear annotator! ( ͡° ͜ʖ ͡°)

This repository contains our code and data for the CS140 group project on sentiment analysis.

In ./data/comments_for_annotators/<number> you will find 5 jsonl files, each corresponding to a 2020 presidential candidate.

Each file contains <number> comments, randomly sampled from the YouTube data set collected earlier in the semester. Note that potential values for <number> are 100, 200, and 500.

Your mission, should you choose to accept it, is as follows:

  1. Fork this repository under your own name.
  2. Set up a Python 3 development environment, e.g. using conda.
  3. Install dependencies by running pip install -r requirements.txt
  4. Go to ./Server/ and run python main.py
  5. In your web browser of choice, navigate to https://localhost:5000
  6. Click "Browse", navigate to ./data/comments_for_annotators/<number>, and choose the file <assigned_candidate>.<number>.jsonl. Afterwards, click "Upload".
  7. Wait to be redirected and annotate.
    • If you need to revise an annotation, feel free to alter comment index in the URL to backward by your desired number of comments.
  8. After annotating, your annotation file will be ./Server/annotations.jsonl
  9. Rename your annotation file by running mv annotations.jsonl <candidate-last-name>-annotated-<your-name>.jsonl where <candidate-last-name> should be replaced with a lowercased version of the candidate's name, e.g. biden, and <your-name> should be lowercased and hyphenated, e.g. louis-brandeis.
  10. Submit your annotations by committing to your own version of the repository, and submit a pull reqeuest to the original repository.

Good luck!! (•̀ᴗ•́)൬༉

Candidate-annotator assinments

Here is the schedule of candidate-annotator assignments:

Candidate Annotator
Biden Yonglin Wang
Buttigieg Xiaoyu Lu
Sanders Yonglin Wang
Warren Zhuoran Huang
Yang Xiaoyu Lu

Hint: you can double-check the random assignments by running

python scripts/assign_annotators.py

Links

cs140-sentiment-analysis-project's People

Contributors

crothberg avatar j0ma avatar jeff-zhong-jin avatar linxuanyang avatar xiaoyu-lu 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.