🤖 Sekolah Chatbot TFIDF

Sistem chatbot cerdas untuk informasi pendaftaran sekolah menggunakan TF-IDF

Coba Bot PPDB Sekarang!

Akses informasi pendaftaran dengan mudah melalui bot Telegram kami.

Fitur Bot:
  • ✅ Info biaya pendaftaran
  • ✅ Lokasi sekolah
  • ✅ Jadwal pendaftaran
  • ✅ Persyaratan
  • ✅ Cara mendaftar
  • ✅ Status pendaftaran
  • ✅ Kontak informasi

Preview Bot Telegram

Fitur Utama

🎯
TF-IDF Matching

Menggunakan algoritma TF-IDF untuk pencocokan pertanyaan yang akurat

💬
Multi-Platform

Tersedia di Web dan Telegram untuk kemudahan akses

Preprocessing Canggih

Normalisasi teks dan penanganan typo untuk hasil lebih akurat

Metrik Kinerja

94.94%

Akurasi Total

97.72%

Presisi

94.94%

Recall

95.99%

F1-Score

Implementasi

1. Instalasi

git clone https://github.com/azizuldz10/sekolah-chatbot-tfidf.git
cd sekolah-chatbot-tfidf
pip install -r requirements.txt

2. Menjalankan Evaluasi

python run_evaluation.py

3. Menjalankan Web & Telegram Bot

python app.py

Arsitektur Sistem

Komponen Utama
  • 📁 app.py - Web & Telegram bot server
  • 📁 evaluation.py - Sistem evaluasi kinerja
  • 📁 normalization_rules.json - Aturan preprocessing
  • 📁 run_evaluation.py - Script evaluasi
Alur Kerja
  1. Preprocessing teks input
  2. Vectorization dengan TF-IDF
  3. Pencocokan dengan cosine similarity
  4. Pemilihan respons terbaik