Giter Site home page Giter Site logo

twittercorpora's Introduction

TwitterCorpora

Stuff on extracting Twitter corpora and working with them.

get-emoji-tweets-fromtext.py

Python script for extracting all tweets (really, lines) containing emoji and sorting them into files by emoji.

Usage

get-emoji-tweets-fromtext.py [-h] indir outdir

Input

indir = input directory of files with tweet texts (one tweet per line)

Output

The script creates output files in outdir, one file per emoji found in the data (and named with that emoji). Each file contains all the tweets from the input which contain that emoji. Note that a tweet with several different emoji will appear in each of the output files.

twitter_stopwords_German.txt

List of useful German stop words for filtering tweets. Language identification must be used afterwards. Format: ['word', # of all tweets containing the word in sample, # of German tweets containing word in sample, German/all ratio]. Thanks to Nikolas Zoeller, FH Potsdam.

April 2013 German Corpus

The Twitter corpus can be found in its own repository: https://github.com/TScheffler/GermanTwitterApril2013 (ids only)

twittercorpora's People

Contributors

tscheffler avatar

Stargazers

Yavuz Mester avatar Luca Hammer avatar  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.