My @ in telegram is @Benker_bot !
Benker is born as a college project and it is a telegram bot which can classify textual requests of banking nature.
Benker provides 3 models of text classification, which are:
- Naive Bayes
- Logistic Regression
- Support Vector Machine
- bot.py: used for all the bot's prompts and acts as an interface to the user via telegram
- classifier.py: used to train the models and the vectorizers
- preprocess.py: used to preprocess all the text
- pandas
- scikit-learn
- telebot
- matplotlib
- nltk
- pyarrow
- fastparquet
In order to run the bot you must first run the /start command where you will choose which of the 3 templates to use. After choosing the model will be trained using the training set and after the training phase, you can start to make requests.
- /start starts the bot and lets you choose one of the previously mentioned models, you can always run /start to change the model that you're using
- /accuracy sends the model's accuracy
- /report generates a detailed report with the precision, support, f1-score and recall for each class and the average of these scores
- /stop stops the bot