GithubHelp home page GithubHelp logo

toxic-comment-classification's Introduction

Toxic-Comment-Classification

fter we have loaded our test and drain data. Our data features aren’t complicated and few which are: [‘id', 'comment_text', 'toxic', 'severe_toxic', 'obscene', 'threat', 'insult', 'identity_hate'] We have decided to do our feature selection manually with Train.drop function So, we have removed the un unnecessary columns which are [‘id', 'comment_text'] And then we have done a Dataframe made up of category and total number of comments.

• remove_special_chars: replacing specific char with a given one. • to_lowercase: transform chars into lowercases. • remove_punctuation: Remove punctuation from list of tokenized words • replace_numbers: Replace all interger occurrences in list of toke nized words with textual representation. • remove_whitespaces: Removes white spaces • remove_stopwords: Removes stop-words • stem_words: Stem words in text • lemmatize_words: Lemmatize words in text • lemmatize_verbs: Lemmatize verbs in text • text2words: Return word_tokenize • clean_text: Call the previous functions and apply them

toxic-comment-classification's People

Contributors

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