From 568e0b63adcfec457511dda677f25c977b303554 Mon Sep 17 00:00:00 2001 From: kinzun Date: Fri, 19 Oct 2018 14:17:38 +0800 Subject: [PATCH] rec --- README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index a887af0..2f37933 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,12 @@ ## a chinese chat robot ### Introduction to cbot usage: ##### version:0.1.0 -####how to install cbot: -#####pip install cbot -#####if you got an error when install python-Levenshtein package -#####you can download .whl file and install this package:[python-levenshtein](https://www.lfd.uci.edu/~gohlke/pythonlibs/#python-levenshtein) -####If you want to use it locally: -```angular2html +#### how to install cbot: +##### pip install cbot +##### if you got an error when install python-Levenshtein package +##### you can download .whl file and install this package:[python-levenshtein](https://www.lfd.uci.edu/~gohlke/pythonlibs/#python-levenshtein) +#### If you want to use it locally: +```python from cbot import CBot cbot = CBot('cbotName') @@ -38,8 +38,8 @@ while True: reponse = cbot.get_response(str(que)) print('cbot:', reponse) ``` -####If you want to use it with turing api: -```angular2html +#### If you want to use it with turing api: +```python from cbot import CBot cbot = CBot('felix') @@ -50,6 +50,6 @@ while True: print('CBot:', reponse) ``` -###Now have fun! -###If you get a bug,you can send the bug to my email. -###Here is my email:felix2@foxmail.com +### Now have fun! +### If you get a bug,you can send the bug to my email. +### Here is my email:felix2@foxmail.com