<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/2890" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2002-11-16T15:01:54-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/2890</id>

		<entry>
		<author><name><![CDATA[Souperman]]></name></author>
		<updated>2002-11-16T15:01:54-04:00</updated>

		<published>2002-11-16T15:01:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13242#p13242</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13242#p13242"/>
		<title type="html"><![CDATA[Looking for way to match variations of text ...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13242#p13242"><![CDATA[
Sounds good indeed.  Any idea if there's a Tcl implementation somewhere out there?  I saw that there was an implementation in C ... now if only I knew C, I could make an eggdrop metaphone.mod <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=801">Souperman</a> — Sat Nov 16, 2002 3:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-11-01T22:42:56-04:00</updated>

		<published>2002-11-01T22:42:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12704#p12704</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12704#p12704"/>
		<title type="html"><![CDATA[Looking for way to match variations of text ...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12704#p12704"><![CDATA[
For misspellings you can use something like the metaphone algorithm.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Fri Nov 01, 2002 10:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Souperman]]></name></author>
		<updated>2002-11-01T15:42:23-04:00</updated>

		<published>2002-11-01T15:42:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12696#p12696</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12696#p12696"/>
		<title type="html"><![CDATA[Looking for way to match variations of text ...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12696#p12696"><![CDATA[
Yes, I'm probably going to include support for multiple answers as a lot of people have asked about it.<br><br>I'm thinking maybe some sort of "dictionary" where I can map words like color=colour and maybe common misspellings as well. Trivia shouldn't be a spelling contest in my opinion, if someone essentially has the right answer, they should get credited for it, not lose out because of minor spelling errors.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=801">Souperman</a> — Fri Nov 01, 2002 3:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-10-27T07:29:44-04:00</updated>

		<published>2002-10-27T07:29:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12449#p12449</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12449#p12449"/>
		<title type="html"><![CDATA[Looking for way to match variations of text ...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12449#p12449"><![CDATA[
There are afew ways to to this.<br><br>You could use a multiple answer database.<br><br>Depending on how you store your questions, you would store multiple answers to the question.<br><br>EG<div class="codebox"><p>Code: </p><pre><code>set Q1 "Orange is a:color,colour,fruit"proc matchanswer {text} {  global Q1  foreach a [split [lindex [split $Q1] 1] ,] {    if {[string tolower $a] == [string tolower $$text]} {      return 1    }  }  return 0}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Oct 27, 2002 7:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Souperman]]></name></author>
		<updated>2002-10-27T06:12:18-04:00</updated>

		<published>2002-10-27T06:12:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12447#p12447</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12447#p12447"/>
		<title type="html"><![CDATA[Looking for way to match variations of text ...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12447#p12447"><![CDATA[
Hey guys<br><br>I'm rewriting my trivia script and I'm looking for some way to match answers on a less strict basis. Does anyone know of a Tcl or module which will match text for different spelling (e.g. it will see "color" and "colour" as equivalents, etc.)?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=801">Souperman</a> — Sun Oct 27, 2002 6:12 am</p><hr />
]]></content>
	</entry>
	</feed>
