We have for some time been using the
MVEL expression language magic, from Mike Brock. This has served us well, but I found that it has some funky features like "
soundex" built in. This allows you to match text based on the soundex algorithm (ie a word sounds like another word).
In 4.0.2, this is available as a proper operator in rules:
Cheese(name soundslike "steelton")
And in the GUI:

You can of course do this in predicates/eval (along with other cool things that MVEL has hidden in it). Handy !

Sounds like what?? (Michael Neale)
That is funny. The only way I can think of using it in a business case is for spelling suggestion. Back when I worked on SuperPages.com, there was alot of code dedicated to fixing incorrect spellings and bad search parameters.
ReplyDeleteGoogle also employs similar techniques and asks "did you mean blah"?
Hey Mike,
ReplyDeleteDoes it take into account accent variation and rising inflection?
Seriously though, this is great addition. Great stuff.
Nigel
Soundex algorithm is designed for English language, can be best used for finding names with spelling errors (or evolved in spelling over time, for example in real estate title search), but can be used for other words too
ReplyDeleteIt definitely has limitations,
google it or read here before using, and don't forget to read the implementation docs
yeah its only for soundex at the moment. So limited to english sounds. It is for spelling errors mainly. Googles technique is to track what people find versus what they were searching for.
ReplyDeleteI have no idea how it behaves with crazy accents without trying it. I believe the algorithm was invented by Donald Knuth (but could be wrong).
Brimming with grand and virtuosic words.
ReplyDeletequietlivity
When playing video poker, begin by picking the coin esteem and choose the quantity of coins that you might want to put down as wager. machine learning course in pune
ReplyDeleteMeditation has become a primary source of relaxation and stress reliever; music has been used as an aid to help calm the mind into a relaxed state. It is believed that meditative music gives the ability to delve deeper into spirituality. To help you find meditation music free download, here are some suggestions. meditation sounds
ReplyDelete