You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[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
4
22
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.
6
24
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.
8
27
28
+
##Install Dependencies
9
29
The following packages are needed to be installed:
10
30
11
31
conda install scipy
@@ -28,21 +48,10 @@ pip install tensorflow==1.2.1
28
48
pip install keras==2.0.6
29
49
30
50
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
43
53
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
46
55
47
56
## To test the NLP outcome run NLP_API_CALL.html file from any web application server and ask question.
0 commit comments