Coder Social home page Coder Social logo

dinel / aggression_identification Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 239 KB

Participation in the First Shared Task on Aggression Identification Shared Task

Jupyter Notebook 100.00%
nlp natural-language-processing sentiment-analysis text-classification aggression-identification social-media machine-learning svm-classifier random-forest word-embeddings

aggression_identification's Introduction

Aggressive Language Identification Using Word Embeddings and Sentiment Features

This notebook presents the code of my participation in the First Shared Task on Aggression Identification. More details about the approach can be found in:

Constantin Orǎsan (2018) Aggressive Language Identification Using Word Embeddings and Sentiment Features. In Proceedings of the First Workshop on Trolling, Aggression and Cyberbullying (TRAC-2018), p. 113 - 119, Santa Fe, USA, August, 25, http://aclweb.org/anthology/W18-4414

Requirements

In order to run this notebook you will need the following software:

  • python3.6
  • NLTK
  • numpy and sklearn

Probably the easiest way to get all these is to install Anaconda.

You will also need to obtain the training, development and testing data from the workshop organisers and store the CSV files in a folder called english (or set the correct path in the path_to_data).

Download the GloVe vector from https://nlp.stanford.edu/projects/glove/. The current code assumes you use the 300d vectors. Uncompress the file and update the path_to_glove variable to point to it.

Uncompress the senti_feats.7z. This file contains the scores assigned by the SentiStrength. If you want to process different texts you will need to obtain SentiStrength from its author and preprocess the data using the procedure described in the notebook.

aggression_identification's People

Contributors

dinel avatar

Stargazers

 avatar  avatar  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.