https://github.com/mykhode/telegram-chatbot
Khmer Telegram Ai Chatbot Using NN Model+KhmerNLTK
https://github.com/mykhode/telegram-chatbot
ai ikhode khmer-ai khmer-telegram-bot telegram-bot
Last synced: about 1 year ago
JSON representation
Khmer Telegram Ai Chatbot Using NN Model+KhmerNLTK
- Host: GitHub
- URL: https://github.com/mykhode/telegram-chatbot
- Owner: MyKhode
- License: mit
- Created: 2024-05-28T06:23:59.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-14T14:14:34.000Z (over 1 year ago)
- Last Synced: 2025-04-06T08:34:55.488Z (about 1 year ago)
- Topics: ai, ikhode, khmer-ai, khmer-telegram-bot, telegram-bot
- Language: Jupyter Notebook
- Homepage:
- Size: 35.2 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🏅Telegram Khmer Chatbot + Open Source Code🏅
[](https://github.com/pre-commit/pre-commit)

### This will never happen if Khmer NLTK Module doesn't exist, thanks 🙏
## 🎯TODO
- [X] Tokenization and Bag of Words Creation
- [X] Data Preprocessing
- [X] Neural Network Model
- [X] Training the Model
- [X] Model Evaluation
- [X] Telegram Bot Integration
- [ ] Make it more inteligent and flexible
## 💪Installation
```bash
pip install numpy
```
```bash
pip install khmer-nltk
```
```bash
pip install python-telegram-bot
```
```bash
pip install torch
```
## 🏹 Quick tour
[[Official Blog Post Website Url]](https://www.ikhode.site/posts/khmer-telegram-chatbot/)
To get the quick way of using this code package, please install requirement.txt and read the comment in code header before run that code script.
#### Some Mention
- Check folder directory
- create virtual environment with "myEnv" folder
- install with requrements version module
- Check Bot Api
- Check Bot Username
- Make sure u aready istall library I mentioned.
(if u have any issue, U can contact me by Telegram Directly @SOYTET)
## 🔯 Demo
#### Run the ChatApp Scripts to Excute Telegram integration and Bot response after training finish
```bash
Python ./App/ChatApp.py
```

#### While Running ChatApp.py Script, so u can make some chat with Telegram Bot which u integrate with your own
```bash
សួស្ដីបង
```

### ✍️ Citation
```bibtex
@misc{Chatbot,
author = {SOY TET},
title = {Khmer Telegram Traditional Chatbot},
year = {2023},
publisher = {GitHub},
journal = {GitHub repository}
}
```
#### Used in:
- [stopes: A library for preparing data for machine translation research](https://github.com/facebookresearch/stopes)
- [LASER Language-Agnostic SEntence Representations](https://github.com/facebookresearch/LASER)
- [Pretrained Models and Evaluation Data for the Khmer Language](https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=9645441)
- [Multilingual Open Text 1.0: Public Domain News in 44 Languages](https://arxiv.org/pdf/2201.05609.pdf)
- [ZusammenQA: Data Augmentation with Specialized Models for Cross-lingual Open-retrieval Question Answering System](https://arxiv.org/pdf/2205.14981.pdf)
- [Shared Task on Cross-lingual Open-Retrieval QA](https://www.aclweb.org/portal/content/shared-task-cross-lingual-open-retrieval-qa)
- [No Language Left Behind: Scaling Human-Centered Machine Translation](https://research.facebook.com/publications/no-language-left-behind/)
- [Wordless](https://github.com/BLKSerene/Wordless)
- [A Simple and Fast Strategy for Handling Rare Words in Neural Machine Translation](https://aclanthology.org/2022.aacl-srw.6/)
### 👨🎓 References
- [NLP: Text Segmentation Using Conditional Random Fields](https://medium.com/@phylypo/nlp-text-segmentation-using-conditional-random-fields-e8ff1d2b6060)
- [Khmer Word Segmentation Using Conditional Random Fields](https://www2.nict.go.jp/astrec-att/member/ding/KhNLP2015-SEG.pdf)
- [Word Segmentation of Khmer Text Using Conditional Random Fields](https://medium.com/@phylypo/segmentation-of-khmer-text-using-conditional-random-fields-3a2d4d73956a)