Giter Club home page Giter Club logo

pretwita's Introduction

PreTwITA – DISCONTINUED

PreTwITA is an open source Preprocessor for Tweets in the ITAlian language written in Python. The purpose of such library is to provide the user with language-specific tools for text cleaning (i.e. the process of preparing raw text for Natural Language Processing).

Included features

  • correction of most common italian abbreviations (e.g. xk replaced with perché)
  • remove urls
  • remove emojis
  • remove emoticons
  • remove mentions
  • remove hashtags
  • remove twitter reserved words (i.e. 'rt' and 'fav')
  • remove stopwords
    • an option to define additional stopwords
  • remove punctuation
  • remove numbers
    • an option to avoid removing dates in yyyy format
  • remove multiple spaces
  • tokenization

Installing PreTwITA

You can install PreTwITA via pip:
$python -m pip install pretwita

Otherwise, use git if you want to be sure to get the latest updates:
$pip install git+https://github.com/andreafailla/pretwita.git

Usage

For usage and tips, please refer to the demo.ipynb file

pretwita's People

Contributors

andreafailla avatar

Stargazers

 avatar  avatar

Watchers

 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.