It's a Telegram bot for search Thai Act article using a text from Krisdika. For quick and crude to search the law.
- Install Bun
- Create a Telegram bot using Botfather
- Rename (
sample.env)[./.sample.env) to.envand change the value in the file bun run index.ts- In the bot chat, type:
กม ชื่อกฎหมาย(ป.อ.|ป.พ.พ.|พ.ร.บ.xxxx) xxเลขมาตรา(ถ้ามีเลขบาลีให้เขียนติดกันกับเลขมาตราหลัก)xx
กม ชื่อกฎหมาย(ป.อ.|ป.พ.พ.|พ.ร.บ.xxxx) คำ,สำคัญ
The text is direcctly fetched from Krisdika. The database and the source URL is complied by PyThaiNLP.
You may open an issue and PR if you want.
This project is intended for personal-use only. Use at your own risk
