Skip to content
This repository has been archived by the owner on Jul 14, 2022. It is now read-only.

Kcrong/bororo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bororo

Bororo

Started..

Chatbot for Kcrong

Requirements

I Used...

  1. Python 3.6 (Awesome Format String!!) .
  2. konlpy (Korean pos tagger with mecab) .
  3. My Personal Python Utility .

to install,

$ pip install -r requirements.txt
$ bash <(curl -s https://raw.githubusercontent.com/konlpy/konlpy/master/scripts/mecab.sh)

Features

I want to make something like : DSTC bot

So.. Let's See features with screenshot

First, you need to give the name of the bot.

1

After, Just teach anything you want. Let's talk about apple here.

2

As you can see, Bororo Bot has learned information about apples.

Next, Let's teach about apple's color

3

Bororo Bot has learned apple's color!

How to learn?

After the user enters a sentence, the Analyzer starts to analyzing

4 (There is some typo.. anal = Analy'z'er(talk) )
In Analzer, store pos tagging result in the tag variable 5 Then, as a pos tagging result(the morpheme), get object's name, attr, value

`apple's color is red

name: apple attr: color value: red

After parsing name, attr, value,
bot starts to learning.

6 Check attr isn't NULL . if there is valid attr, goto _learn_info func,
else then, goto _learn_thing func .

The difference between the two functions is very small.
just Fragmentary information or Object's Information .

After learning,
to print out the learned results, use the print_my_knowledge function at Brain class . 7

About

company challenge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages