I've not had much experience with NLP, Chatbots, Json, etc so there is obviously a gap in my experience/ knowledge.
As side project I've took a few hours to write a simple chatbot engine/ parser.
The bot uses sentence templates, a dictionary and mostly simple substitution and searches.
The bot can learn simple Json triples and also apply simple inference rules, so it knows birds can fly because birds have wings and wings can fly, etc
I've got an idea how to add conversation goals, moods and a personality etc...
Example conversation... so far lol
U: what is a dog
B: i'm not sure what is a dog
U: what is a cat
B: i'm not sure what is a cat
U: can birds fly
B: i'm not sure
U: can a bird fly
B: no a bird can not fly you dumb ass.
U: can a cat fly
B: no a cat can not fly you dumb ass.
U: does a dog have legs
B: i'm not sure
U: does a cat have feet
B: i don't know
U: does korrelan own a car
B: i'm not sure
U: my name is korrelan **Begin Learning**
B: good to know.
U: a bird is a animal
B: good to know... tell me more.
U: a bird has wings
B: ok... what else should i know?
U: korrelan is a human
B: you don't say.
U: korrelan is a male
B: you don't say.
U: a male is a human
B: good to know... tell me more.
U: male is a sex
B: you don't say.
U: wings can fly
B: ok I understand
U: wings can fly
B: ok I understand
U: a human has legs
B: ok... what else should i know?
U: feet can walk
B: ok I understand... tell me more.
U: legs have feet
B: cheers for the information.
U: a dog has legs
B: ok... what else should i know?
U: a cat has legs
B: ok... what else should i know?
U: a dog is a animal
B: good to know... tell me more.
U: a cat is a animal
B: good to know... tell me more.
U: do you know korrelan is a mammal
U: korrelan owns a car
B: sweet... tell me more.
U: a plane has wings **Stop Learning**
B: ok... what else should i know?
U: what is a dog
B: a dog is a animal
U: what is a cat
B: a cat is a animal
U: can birds fly
B: yes birds can fly
U: can a bird fly
B: yes a bird can fly
U: can a cat fly
B: no a cat can not fly you dumb ass.
U: does a dog have legs
B: yes a dog does have legs
U: does a cat have feet
B: yes a cat does have feet
U: does korrelan own a car
B: of course korrelan has a car
U: what colour is the car
B: i'm not sure. what colour is the car?
U: the car is green
B: green is a nice colour.
U: what colour is the car
B: the car is green
U: what colour is the sky
B: i'm not sure. what colour is the sky?
U: the sky is blue
B: blue is a nice colour.
U: what colour is the sky
B: the sky is blue
U: can korrelan walk
B: yes korrelan can walk
U: can a dog walk
B: yes a dog can walk
U: can a dog fly
B: no a dog can not fly you dumb ass.
U: do humans have legs
B: yes a human does have legs
U: where is the tv
B: i'm not sure. where is the tv?
U: the tv is in the lounge
B: the lounge is the best place for it.
U: where is the computer
B: i'm not sure. where is the computer?
U: the computer is in the office
B: the office is the best place for it.
U: where is the tv
B: the tv is in the lounge
U: where is the computer
B: the computer is in the office
U: tell me about albert
B: i don't know who albert is
U: albert is a scientist
B: you don't say.
U: tell me about albert
B: albert is a scientist
U: tell me about korrelan
B: korrelan is a human
Haha... loads of fun...
Ed: What idiot invented the English language?... it's so contrived lol.