As a project, I thought I try to see if my assistant could learn, or at least understand to some extent emotions.
I currently have 2 word arrays, Positive and Negative.
When the user inputs a response to "How do you feel?" the input will be scanned with the two word lists.
For each Positive word found, a variable (emotion) is + 1, and for every Negative word found, its -1.
I've used this method to get a scale of -10 to +10. of which I can form a response depending on the number.
I've been trying to work on responses for each number, but giving an appropriate response for the scale can be a challenge.
But using this, means that my assistant could learn what mood I'm in depending on the input I give.
Further improvements could be multiple random responses depending on the scale.
This is to say each scale will have multiple possible responses but it'll give a random response.
What responses do you think could be appropriate?
Thursday, 6 November 2014
Monday, 13 October 2014
First post: A.L.I.C.E
As my first post, I'll be writing about my personal project. A.L.I.C.E.
Now I know what you're thinking. Who is A.L.I.C.E?
Well it's not exactly a who, more of a what, and it's a project to code myself a personal assistant. I've used personal assistant apps on my phone and I've liked how they worked. But I've always wanted to try and create my own assistant from scratch so I'm teaching myself C++ and along the journey, I'll be using things that I've learnt in A.L.I.C.E.
Now lets get a few questions sorted (I know you've been waning to ask these)
As you can see, its just a simple console interface (for now).
Future plans involve a few ideas but at the moment I'm trying to sort out Text to Speech, What's the point having an assistant who can't speak.
What do you think? Do you have any ideas? Do you think its too blue?
Side note: It's been a while since I've done blogging, so give me a few posts to get into the whole grove :)
Now I know what you're thinking. Who is A.L.I.C.E?
Well it's not exactly a who, more of a what, and it's a project to code myself a personal assistant. I've used personal assistant apps on my phone and I've liked how they worked. But I've always wanted to try and create my own assistant from scratch so I'm teaching myself C++ and along the journey, I'll be using things that I've learnt in A.L.I.C.E.
Now lets get a few questions sorted (I know you've been waning to ask these)
- What does A.L.I.C.E stand for?
- Well truthfully its not set in stone, I sometimes change it. As of this time, its ' A Little Intelligent Computing Entity ' But don't expect it to keep
- Why are you doing this?
- As I said, I'm trying to teach myself programming, through c++. And one thing I thought would be good to keep motivation is to have a small project along side it. So when I learn new things I can implement them to A.L.I.C.E
- What is your goal?
- Well my goal is to learn C++ and get a developer job. But with A.L.I.C.E, it's to create a personal assistant, operate within windows, maybe I'll port it to other systems, but that means learning new code.
The current state of A.L.I.C.E is really REALLY simple.
As you can see, its just a simple console interface (for now).
Future plans involve a few ideas but at the moment I'm trying to sort out Text to Speech, What's the point having an assistant who can't speak.
What do you think? Do you have any ideas? Do you think its too blue?
Side note: It's been a while since I've done blogging, so give me a few posts to get into the whole grove :)
Subscribe to:
Comments (Atom)
