How to make synonim words (not srai) in AIML

  • 5 Replies
  • 7320 Views
*

basketmen

  • Guest
How to make synonim words (not srai) in AIML
« on: December 30, 2007, 03:20: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.
  • Trusty Member
  • **********************
  • Colossus
  • *
  • 5865
Re: How to make synonim words (not srai) in AIML
« Reply #1 on: December 30, 2007, 12:53: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

  • Guest
Re: How to make synonim words (not srai) in AIML
« Reply #2 on: December 30, 2007, 08:36: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
  • *
  • 17
    • Cosmos - A Quest!
Re: How to make synonim words (not srai) in AIML
« Reply #3 on: December 06, 2013, 07:35: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.
  • Trusty Member
  • **********************
  • Colossus
  • *
  • 5865
Re: How to make synonim words (not srai) in AIML
« Reply #4 on: December 06, 2013, 11:43: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

  • Trusty Member
  • *********
  • Terminator
  • *
  • 869
  • It's Hip to be Square
Re: How to make synonim words (not srai) in AIML
« Reply #5 on: December 06, 2013, 12:50: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

 


Requirements for functional equivalence to conscious processing?
by DaltonG (General AI Discussion)
November 19, 2024, 11:56:05 am
Will LLMs ever learn what is ... is?
by HS (Future of AI)
November 10, 2024, 06:28:10 pm
Who's the AI?
by frankinstien (Future of AI)
November 04, 2024, 05:45:05 am
Project Acuitas
by WriterOfMinds (General Project Discussion)
October 27, 2024, 09:17:10 pm
Ai improving AI
by infurl (AI Programming)
October 19, 2024, 03:43:29 am
Atronach's Eye
by WriterOfMinds (Home Made Robots)
October 13, 2024, 09:52:42 pm
Running local AI models
by spydaz (AI Programming)
October 07, 2024, 09:00:53 am
Hi IM BAA---AAACK!!
by MagnusWootton (Home Made Robots)
September 16, 2024, 09:49:10 pm
LLaMA2 Meta's chatbot released
by spydaz (AI News )
August 24, 2024, 02:58:36 pm
ollama and llama3
by spydaz (AI News )
August 24, 2024, 02:55:13 pm
AI controlled F-16, for real!
by frankinstien (AI News )
June 15, 2024, 05:40:28 am
Open AI GPT-4o - audio, vision, text combined reasoning
by MikeB (AI News )
May 14, 2024, 05:46:48 am
OpenAI Speech-to-Speech Reasoning Demo
by MikeB (AI News )
March 31, 2024, 01:00:53 pm
Say good-bye to GPUs...
by MikeB (AI News )
March 23, 2024, 09:23:52 am
Google Bard report
by ivan.moony (AI News )
February 14, 2024, 04:42:23 pm
Elon Musk's xAI Grok Chatbot
by MikeB (AI News )
December 11, 2023, 06:26:33 am

Users Online

339 Guests, 0 Users

Most Online Today: 461. Most Online Ever: 2369 (November 21, 2020, 04:08:13 pm)

Articles