Contents

Research Reference Bot

https://raw.githubusercontent.com/piinalpin/research-references-bot/master/docs/chatbot.gif

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Make sure you have installed Python 3 on your device

File Structure

  1. bot.py this file to serve get updates and send message from request
  2. config.cfg token telegram bot from Bot Father
  3. database.py define database structure with object oriented mapping
  4. search_engine.py custom library to get result of cosine similarity document
  5. server.py serve message and result from engine
  6. tensor_flow.py natural language processing for greeting response
  7. intents.json greeting or intents json data

Step for get dataset

  1. Scraping data from http://digilib.uad.ac.id/penelitian/Penelitian/index see on Scrapping.ipynb
  2. Update dataset

How To Run

  1. Install requirement
1
pip install -r requirements.txt
  1. Install punkt with nltk.download()
1
2
>>> import nltk
>>> nltk.download("punkt")
  1. Run server.py
1
python server.py
  1. Go to Telegram Application or access from Telegram Web, then chat with this bot.

Built With

Clone or Download

You can clone or download this project

1
> Clone : git clone https://github.com/piinalpin/research-references-bot.git

Chat with Him

Authors