I’m currently using
Java to code a program that can have conversations and solve problems.
So far, the program can only have conversations. The solving problems is still in process.
The program is capable of learning, however, it’s how I made that happen that gives me doubts.
The way my program learns new words is it stores them in a
TreeView menu as branches.
branch (word) has sub-branches that give the word meaning.
Each sub-branch has sort of like different tags to differentiate the relation to the main branch.
For example, if I teach it the word
Hello and type
Hello>>Hi, it then saves
Hi as a sub-branch in the main branch
Hello, but in the form of
=s=Hi=s= to tell the program it’s a synonym of
Hello, so it can use
Hi instead of
Hello. More synonyms can be added.
Though if you type, for example,
Hello<>Greeting, it stores the branch
Hello in the form of
=m=Greeting=m=. To show that
Hello is a type if greeting.
There is more, but too much to explain.
Just my cheap attempt on A.I.
Can this class as a program learning? Or have I got a long way to go?