Author Topic: How to make synonim words (not srai) in AIML  (Read 3842 times)

basketmen

How to make synonim words (not srai) in AIML
« on: December 30, 2007, 03:08:16 AM »


How to make synonim a word for the entire aiml, for example if someone write DOG its mean DOGGIE too

i dont want to create srai for each category in the entire aiml files that containing DOGGIE word like <srai>DOGGIE</srai> to forward to DOG meaning, there are hundreds of that words


i just want the system automatically recognize DOG its mean DOGGIE too


what code to do that??? lets share our knowledge, this is the most usefull information to save our time


Art

  • At the end of the game, the King and Pawn go into the same box.
  • *
  • Hal 4000
  • ******************
  • Posts: 4167
Re: How to make synonim words (not srai) in AIML
« Reply #1 on: December 30, 2007, 12:41:08 PM »


How to make synonim a word for the entire aiml, for example if someone write DOG its mean DOGGIE too

i dont want to create srai for each category in the entire aiml files that containing DOGGIE word like <srai>DOGGIE</srai> to forward to DOG meaning, there are hundreds of that words


i just want the system automatically recognize DOG its mean DOGGIE too


what code to do that??? lets share our knowledge, this is the most usefull information to save our time




It might be interesting as a personal project but the usage of the word doggie is practically nil.
In other words, if you're looking for the word meaning young dog it would puppy. The same
as cat would not be catty but kitten, and so on....

Common spoken English rarely uses such words and in the case of cattty, it implies an aire
of smugness regarding a group of people with attitudes and rude behavior.

Good luck if this is your goal.
In the world of AI, it's the thought that counts!

basketmen

Re: How to make synonim words (not srai) in AIML
« Reply #2 on: December 30, 2007, 08:24:51 PM »
yeah i believe there is way to do this

maybe not using code in aiml file, but how to recognize it from and to mysql database


if you know program to do that lets try and discuss it here guys

NickyBlue

  • *
  • Roomba
  • Posts: 17
    • Cosmos - A Quest!
Re: How to make synonim words (not srai) in AIML
« Reply #3 on: December 06, 2013, 07:23:06 AM »
Well try manipulating the in memory data structure or just simply tweak the AIML loader code a bit is one simple way or else you can go for ....smile.

as far as...

"It might be interesting as a personal project but the usage of the word doggie is practically nil.
In other words, if you're looking for the word meaning young dog it would puppy. The same
as cat would not be catty but kitten, and so on...."


is concern we humans talk too freely without caring much for any gramatical authenticity in day to day life. Try remember how many time you might have constructed a slang word by adding some suffix or prefix to a word to put your message across if you can't find right word in nick of time. So this whole Dog - Doogie thing don't apply in normal conversation with user. And the matter get more complicated (especially how AIML thing is dealt now) when we mixed more than one language in same sentences. We usually do here in between English-Hindi or my native state languages. You folks also must have some second language i.e Spanish? No? or maybe just slanging in english itself. But I think that out of context for your bot in present state. But tweaking Loder code a bit might solve problem in far more easier way than anything else I suppose. But its just my Idea! I can't say that I know AIML in real sense but it might of help...

Art

  • At the end of the game, the King and Pawn go into the same box.
  • *
  • Hal 4000
  • ******************
  • Posts: 4167
Re: How to make synonim words (not srai) in AIML
« Reply #4 on: December 06, 2013, 11:31:31 AM »
For the vast majority of American born people, our language is English. In school most are forced / required to take a second language choice like German, Russian, Spanish.... This language is usually taught for a 2 year period.

Most will never use or have an opportunity to use that learned language so that knowledge simply fades away.

English is quite difficult for a non-American born person to learn yet some manage to do a pretty good job of doing so. Even having said that, an American born person can quickly spot a foreigner through his or her speech. There are slight nuances and wording that catch our ear and indicate a person from a foreign country. Much like, I suppose, an American would "stand out" in a foreign country using high-school French or Russian, etc.

Language is a gateway and also a barrier at the same time. One day, we'll all wear language translators (maybe implants) that instantly decode non-native speech no matter where you live!

Who knows....
In the world of AI, it's the thought that counts!

squarebear

  • *
  • Replicant
  • ********
  • Posts: 678
  • It's Hip to be Square
Re: How to make synonim words (not srai) in AIML
« Reply #5 on: December 06, 2013, 12:38:44 PM »
Since this was posted 6 years ago, Progam AB has been developed. In this, you can edit the "normal.txt" file to include extra substitutions such as doggie for dog.
Feeling Chatty?
www.mitsuku.com

 

Welcome

Please login or register.



Login with username, password and session length
mini a.i puzzles
by Freddy (General AI Discussion)
Today at 09:45:52 PM
trivia questions
by yotamarker (General AI Discussion)
Today at 07:54:30 PM
Robot Message in a Bottle
by 8pla.net (Home Made Robots)
Today at 04:04:21 AM
La-Masterpiece
by LOCKSUIT (Graphics)
February 24, 2017, 10:26:32 PM
Auto-Food-Drone type delivery
by Art (General Chat)
February 24, 2017, 06:52:28 PM
Galton Machines or Bean Machines
by Freddy (General AI Discussion)
February 24, 2017, 03:13:07 AM
3D Printing
by Art (General Chat)
February 23, 2017, 12:51:23 PM
MusicNet
by keghn (General AI Discussion)
February 22, 2017, 11:03:11 PM
Robust bipedal Cassie to transform robot mobility
by Tyler (Robotics News)
February 24, 2017, 04:48:44 PM
Artificial intelligence: Understanding how machines learn
by Tyler (Robotics News)
February 24, 2017, 10:49:13 AM
Hard at work: A review of the Laevo Exoskeleton
by Tyler (Robotics News)
February 23, 2017, 04:48:12 PM
Shell Ocean Discovery XPRIZE: Semi-finalists set sail on a journey to illuminate the ocean
by Tyler (Robotics News)
February 22, 2017, 10:48:25 PM
Drones for good 2.0: How WeRobotics is redefining the use of unmanned systems in developing countries
by Tyler (Robotics News)
February 22, 2017, 04:48:07 PM
At what point should an intelligent machine be considered a person?
by Tyler (Robotics News)
February 22, 2017, 10:48:24 AM
Ocado evaluating robotic manipulation for online shopping orders
by Tyler (Robotics News)
February 21, 2017, 10:50:46 PM
Motor control systems: Bode plots and stability
by Tyler (Robotics News)
February 21, 2017, 04:48:52 PM

Users Online

18 Guests, 1 User
Users active in past 15 minutes:
Freddy
[Administrator]

Most Online Today: 50. Most Online Ever: 208 (August 27, 2008, 08:24:30 AM)

Articles