All Projects → shibing624 → Text Classifier

shibing624 / Text Classifier

Licence: apache-2.0
text-classifier is a toolkit for text classification. It was developed to facilitate the designing, comparing, and sharing of text classification models.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Text Classifier

Bert Toxicity Classification
bert on Jigsaw Unintended Bias in Toxicity Classification
Stars: ✭ 46 (-36.11%)
Mutual labels:  text-classification
Applied Text Mining In Python
Repo for Applied Text Mining in Python (coursera) by University of Michigan
Stars: ✭ 59 (-18.06%)
Mutual labels:  text-classification
Deep Atrous Cnn Sentiment
Deep-Atrous-CNN-Text-Network: End-to-end word level model for sentiment analysis and other text classifications
Stars: ✭ 64 (-11.11%)
Mutual labels:  text-classification
Textclassification
All kinds of neural text classifiers implemented by Keras
Stars: ✭ 51 (-29.17%)
Mutual labels:  text-classification
Very Deep Convolutional Networks For Natural Language Processing In Tensorflow
implement the paper" Very Deep Convolutional Networks for Natural Language Processing"(https://arxiv.org/abs/1606.01781 ) in tensorflow
Stars: ✭ 54 (-25%)
Mutual labels:  text-classification
Mycail
中国法研杯-司法人工智能挑战赛
Stars: ✭ 60 (-16.67%)
Mutual labels:  text-classification
Textclassifier
Text classifier for Hierarchical Attention Networks for Document Classification
Stars: ✭ 985 (+1268.06%)
Mutual labels:  text-classification
Keras bert classification
Bert-classification and bert-dssm implementation with keras.
Stars: ✭ 67 (-6.94%)
Mutual labels:  text-classification
Fasttext.py
A Python interface for Facebook fastText
Stars: ✭ 1,091 (+1415.28%)
Mutual labels:  text-classification
Nlp News Classification
Train and deploy a News Classifier using language model (ULMFit) - Serverless container
Stars: ✭ 63 (-12.5%)
Mutual labels:  text-classification
Meta Learning Bert
Meta learning with BERT as a learner
Stars: ✭ 52 (-27.78%)
Mutual labels:  text-classification
Scdv
Text classification with Sparse Composite Document Vectors.
Stars: ✭ 54 (-25%)
Mutual labels:  text-classification
Textblob Ar
Arabic support for textblob
Stars: ✭ 60 (-16.67%)
Mutual labels:  text-classification
Hiagm
Hierarchy-Aware Global Model for Hierarchical Text Classification
Stars: ✭ 49 (-31.94%)
Mutual labels:  text-classification
Lstm Cnn classification
Stars: ✭ 64 (-11.11%)
Mutual labels:  text-classification
Ml Classify Text Js
Machine learning based text classification in JavaScript using n-grams and cosine similarity
Stars: ✭ 38 (-47.22%)
Mutual labels:  text-classification
Freediscovery
Web Service for E-Discovery Analytics
Stars: ✭ 59 (-18.06%)
Mutual labels:  text-classification
Char Cnn Text Classification Tensorflow
Character-level Convolutional Networks for Text Classification论文仿真实现
Stars: ✭ 72 (+0%)
Mutual labels:  text-classification
Text Analytics With Python
Learn how to process, classify, cluster, summarize, understand syntax, semantics and sentiment of text data with the power of Python! This repository contains code and datasets used in my book, "Text Analytics with Python" published by Apress/Springer.
Stars: ✭ 1,132 (+1472.22%)
Mutual labels:  text-classification
Sentiment analysis albert
sentiment analysis、文本分类、ALBERT、TextCNN、classification、tensorflow、BERT、CNN、text classification
Stars: ✭ 61 (-15.28%)
Mutual labels:  text-classification

alt text

License Apache 2.0

text-classifier

Text classifier and cluster. It can be applied to the fields of sentiment polarity analysis, text risk classification and so on, and it supports multiple classification algorithms.


text-classifier is a python Open Source Toolkit for text classification and text clustering. The goal is to implement text analysis algorithm, so as to achieve the use in the production environment. text-classifier has the characteristics of clear algorithm, high performance and customizable corpus.

text-classifier provides the following functions:

  • Classifier
  • LogisticRegression
  • MultinomialNB
  • KNN
  • SVM
  • RandomForest
  • DecisionTreeClassifier
  • Xgboost
  • Neural Network
  • Evaluate
  • Precision
  • Recall
  • F1
  • Test
  • Chi-square test
  • Cluster
  • MiniBatchKmeans

While providing rich functions, text-classifier internal modules adhere to low coupling, model adherence to inert loading, dictionary publication, and easy to use.


demo

https://www.borntowin.cn/product/sentiment_classify


Usage

Requirements and Installation

git clone https://github.com/shibing624/text-classifier.git
pip3 install -r requirements.txt

Example Usage

  1. Preprocess with segment
python3 preprocess.py
  1. Train model

you can change model with edit config.py and train model.

python3 train.py
  1. Predict with test data
python3 infer.py

Algorithm

  • [x] LogisticRegression
  • [x] Random Forest
  • [x] Decision Tree
  • [x] K-Nearest Neighbours
  • [x] Naive bayes
  • [x] Xgboost
  • [x] Support Vector Machine(SVM)
  • [x] MLP
  • [x] Ensemble
  • [x] Stack
  • [x] Xgboost_lr
  • [x] text CNN
  • [x] text RNN
  • [x] fasttext
  • [x] HAN
  • [x] Kmenas

Thanks

  • SentimentPolarityAnalysis

Licence

  • Apache Licence 2.0
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].