Git Product home page Git Product logo

levarab_hatespeech's Introduction

LING-L715

Hate Speech on Levantine Tweets

Datasets: 1. DART

    a.) /cf-data 
            Contains .txt files, each with Tweets from that specific dialect
            (e.g. EGY.txt contains Tweets of Egyptain dialect)
            Format: 3 columns; (1) score, (2) tweet_ID, (3) tweet_text

    b.) get_DART_transcripts.py
            Code to extract Tweets from .txt files in /cf-data
            Creates 2 new files: (1) clean_LEV.tsv, (2) clean_NONLEV.tsv
            The --other_paths argument takes at least one path; simply write out the paths one after another
            From terminal: python get_DART_transcripts.py --lev_path [PATH TO '/DART/cf-data/LEV.txt'] --other_paths [PATHS TO '/DART/cf-data/[^LEV].txt']

    c.) clean_LEV.tsv
            One of the output .tsv files after running get_DART_transcripts.py
            Contains Levantine-only Tweets, each labeled with "LEV"

    d.) clean_NONLEV.tsv
            One of the output .tsv files after running get_DART_transcripts.py
            Contains Levantine-only Tweets, each labeled with "NONLEV"

    e.) classify_LEV.py
            From terminal: python classify_LEV.py --clean_lev_path [path to 'clean_LEV.tsv'] --clean_nonlev_path [PATH TO 'clean_NONLEV.tsv']

    f.) classify_LEV_metrics.txt
            Results from Linear SVM classifier using SelectKBest(chi2, k=500)
            Binary classification ("LEV" vs "NONLEV")
    
    g.) 
            

2. LHSAB
3. OSACT

levarab_hatespeech's People

Contributors

lilykaw avatar muhsabrys avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

muhsabrys

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.