Skip to content

Commit da9f681

Browse files
committed
Readme
Revised Readme
1 parent e028952 commit da9f681

3 files changed

Lines changed: 28 additions & 17 deletions

File tree

README.md

Lines changed: 26 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,31 @@
1-
# NLP Engine for Zevere
1+
2+
#NLP
3+
4+
## NLP Engine for Zevere
25

36
A NLP(Natural Language Processing) engine and web API for Zevere
7+
[![Docker Build]](https://travis-ci.org/Zevere/NLP-Python/builds/451211526)
8+
9+
10+
## Table of Contents
11+
- [NLP](#NLP)
12+
- [A NLP(Natural Language Processing) engine and web API for Zevere.](# NLP Engine for Zevere)
13+
- [Table of Contents](#table-of-contents)
14+
- [Overview](#overview)
15+
- [Development](#development)
16+
- [Install Dependencies](#install-dependencies)
17+
- [Running in Development](#running-in-development)
18+
- [To test the NLP](#to-test-the-NLP)
19+
20+
21+
## overview
422

5-
## Credit to: This NLP code are written based on the code given by Professor Jeff Heaton, Ph.D., is a data scientist, an adjunct instructor for the Sever Institute at Washington University, and the author of several books about artificial intelligence.
23+
This NLP code are written based on the code given by Professor Jeff Heaton, Ph.D., is a data scientist, an adjunct instructor for the Sever Institute at Washington University, and the author of several books about artificial intelligence.
624

7-
## Getting Started
25+
##Development
26+
This project makes use of experimental Python code. It is recommended you use an IDE or editor that supports Python.
827

28+
##Install Dependencies
929
The following packages are needed to be installed:
1030

1131
conda install scipy
@@ -28,21 +48,10 @@ pip install tensorflow==1.2.1
2848
pip install keras==2.0.6
2949

3050

31-
## Confirm the following files are available in assigned path
32-
babi-tasks-v1-2.tar10.gz
33-
34-
chatbot.h5
35-
36-
vocab.pkl
37-
38-
39-
## Change the file path according to your assigned path in nlp.py file
40-
path = 'C:/Users/310267647/.keras/datasets/babi-tasks-v1-2.tar10.gz' #change the path
41-
42-
save_path = "C:/Users/310267647/.keras/datasets/" #change the path
51+
## Running in Development
52+
Use the following docker run command to run the NLP
4353

44-
## Run the nlp.py file from Anaconda prompt to local server
45-
(base) C:\>python \NLPBot\nlp.py #run from your assigned path
54+
docker run --rm -it -p 5000:5000/tcp zevere/nlp:latest
4655

4756
## To test the NLP outcome run NLP_API_CALL.html file from any web application server and ask question.
4857
There are only 3 question available now.

build.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docker build . -t "zevere/nlp:latest"

run.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docker run --rm -it -p 5000:5000/tcp zevere/nlp:latest

0 commit comments

Comments
 (0)