Code Monkey home page Code Monkey logo

krathu-500's Introduction

krathu-500

A dataset of post-comment on Pantip, a popular Thai web board.

Project Structure

main.py hosts all web crawler code for both posts and comments. example/ folder hosts an example on how to use dataset with machine learning techniques with result. Inside the folder also contains the result of the program. post-processing/ folder hosts post-processing script and result. small-dataset-generator/ folder contains utility script for generating a small version of dataset. labeled/ folder contains labeled data. baseline-model/ contains code for three basedline model (LSTM, CNN, BERT) trained on the labeled dataset.

Dataset file

The final version of the datasets is located at post-processing/posts.csv and post-processing/comments.csv. You can also grab the unprocessed version of the dataset at posts.csv and comments.csv.

There are labeled version of small dataset located at labeled/comments-small-labeled.csv. The small version of comments selected the first ten comments of each posts. It has a classification label for sentiment of the text by considering the post body context. The class labels are NEU for neutral, NEG for negative, and POS for positive comments.

Label explanation

There are three possible labels for setiment labeling. POS for positive comments, NEU for neutral comments, and NEG for negative comments.

POS (Positive)

  • Good vibe
  • Expressing gratitude
  • Encouraging people
  • Optimistic comment

NEG (Negative)

  • Containing bad words
  • Expressing anger, sadness
  • Discouraging people
  • Pessimistic comment

NEU (Neutral)

  • Discussion/Explanation without emotion
  • Tell a story
  • Mixture of positive and negative stories
  • Does not belong to either POS or NEG

Annotator Agreement

You can help contribute to the annotated corpus by either

  1. Annotate other parts of the dataset
  2. Re-annotate the annotated dataset for cross checking

Please also to the Label explanation section above for more

Contribution

Please feel free to open any pull requests for contributing to the repository either fixing bugs, add more model, or add more data.

krathu-500's People

Contributors

pittawat2542 avatar

Stargazers

Tanya Sattaya-aphitan avatar Kreenthon Aoumnoom avatar Sansiri Tarnpradab avatar Pakawat Nakwijit avatar Anu Wat avatar Wannaphong Phatthiyaphaibun avatar

Watchers

James Cloos 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.