<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Efficient auto-complete with a ternary search tree</title>
	<atom:link href="http://igoro.com/archive/efficient-auto-complete-with-a-ternary-search-tree/feed/" rel="self" type="application/rss+xml" />
	<link>http://igoro.com/archive/efficient-auto-complete-with-a-ternary-search-tree/</link>
	<description>On programming, technology, and random things of interest</description>
	<lastBuildDate>Fri, 11 May 2012 19:47:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: Anonymous</title>
		<link>http://igoro.com/archive/efficient-auto-complete-with-a-ternary-search-tree/comment-page-1/#comment-40917</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Mon, 05 Mar 2012 10:01:21 +0000</pubDate>
		<guid isPermaLink="false">http://igoro.com/?p=177#comment-40917</guid>
		<description>Ternary Search Tree is cool. I have just released a key-value data store based on Ternary Search Tree. Here is the URL: http://code.google.com/p/tstdb/</description>
		<content:encoded><![CDATA[<p>Ternary Search Tree is cool. I have just released a key-value data store based on Ternary Search Tree. Here is the URL: <a href="http://code.google.com/p/tstdb/" rel="nofollow">http://code.google.com/p/tstdb/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick</title>
		<link>http://igoro.com/archive/efficient-auto-complete-with-a-ternary-search-tree/comment-page-1/#comment-27022</link>
		<dc:creator>Rick</dc:creator>
		<pubDate>Wed, 02 Nov 2011 08:02:19 +0000</pubDate>
		<guid isPermaLink="false">http://igoro.com/?p=177#comment-27022</guid>
		<description>Contains(string) will return if the word is there in tree or not
How will autocomplete work?? 
i.e How will you generate the list of all words with prefix s(string) ?

Can you suggest any iterative or recursive method for same</description>
		<content:encoded><![CDATA[<p>Contains(string) will return if the word is there in tree or not<br />
How will autocomplete work??<br />
i.e How will you generate the list of all words with prefix s(string) ?</p>
<p>Can you suggest any iterative or recursive method for same</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Igor Ostrovsky</title>
		<link>http://igoro.com/archive/efficient-auto-complete-with-a-ternary-search-tree/comment-page-1/#comment-2303</link>
		<dc:creator>Igor Ostrovsky</dc:creator>
		<pubDate>Mon, 31 Jan 2011 22:03:29 +0000</pubDate>
		<guid isPermaLink="false">http://igoro.com/?p=177#comment-2303</guid>
		<description>Fair enough. When I made that diagram, I was only thinking about making sure that the tree in the diagram holds the right strings. I didn&#039;t think about making the tree consistent with the implied insertion order.</description>
		<content:encoded><![CDATA[<p>Fair enough. When I made that diagram, I was only thinking about making sure that the tree in the diagram holds the right strings. I didn&#8217;t think about making the tree consistent with the implied insertion order.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A. Shiraz</title>
		<link>http://igoro.com/archive/efficient-auto-complete-with-a-ternary-search-tree/comment-page-1/#comment-2302</link>
		<dc:creator>A. Shiraz</dc:creator>
		<pubDate>Mon, 31 Jan 2011 21:38:58 +0000</pubDate>
		<guid isPermaLink="false">http://igoro.com/?p=177#comment-2302</guid>
		<description>ok I assumed that was the order of insertion implied in the text. 
AB, ABBA, ABCD, and BCD.</description>
		<content:encoded><![CDATA[<p>ok I assumed that was the order of insertion implied in the text.<br />
AB, ABBA, ABCD, and BCD.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Igor Ostrovsky</title>
		<link>http://igoro.com/archive/efficient-auto-complete-with-a-ternary-search-tree/comment-page-1/#comment-2298</link>
		<dc:creator>Igor Ostrovsky</dc:creator>
		<pubDate>Mon, 31 Jan 2011 09:39:50 +0000</pubDate>
		<guid isPermaLink="false">http://igoro.com/?p=177#comment-2298</guid>
		<description>A. Shiraz: That depends on the order of insertions. If ABBA was inserted before ABCD then yes, ABBA would be one straight branch.</description>
		<content:encoded><![CDATA[<p>A. Shiraz: That depends on the order of insertions. If ABBA was inserted before ABCD then yes, ABBA would be one straight branch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A. Shiraz</title>
		<link>http://igoro.com/archive/efficient-auto-complete-with-a-ternary-search-tree/comment-page-1/#comment-2297</link>
		<dc:creator>A. Shiraz</dc:creator>
		<pubDate>Mon, 31 Jan 2011 04:46:54 +0000</pubDate>
		<guid isPermaLink="false">http://igoro.com/?p=177#comment-2297</guid>
		<description>Perhaps your ternary search tree is incorrect? ABBA should be one straight branch. I have re written this here : 

http://techpanacea.blogspot.com/2011/01/ternary-search-trees.html</description>
		<content:encoded><![CDATA[<p>Perhaps your ternary search tree is incorrect? ABBA should be one straight branch. I have re written this here : </p>
<p><a href="http://techpanacea.blogspot.com/2011/01/ternary-search-trees.html" rel="nofollow">http://techpanacea.blogspot.co.....trees.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: handbag on sale</title>
		<link>http://igoro.com/archive/efficient-auto-complete-with-a-ternary-search-tree/comment-page-1/#comment-1915</link>
		<dc:creator>handbag on sale</dc:creator>
		<pubDate>Mon, 13 Dec 2010 04:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://igoro.com/?p=177#comment-1915</guid>
		<description>Excellent story once again! Thumbs up:)</description>
		<content:encoded><![CDATA[<p>Excellent story once again! Thumbs up:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://igoro.com/archive/efficient-auto-complete-with-a-ternary-search-tree/comment-page-1/#comment-1810</link>
		<dc:creator>john</dc:creator>
		<pubDate>Thu, 02 Dec 2010 13:44:52 +0000</pubDate>
		<guid isPermaLink="false">http://igoro.com/?p=177#comment-1810</guid>
		<description>Great post! Nice!</description>
		<content:encoded><![CDATA[<p>Great post! Nice!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Haugeland</title>
		<link>http://igoro.com/archive/efficient-auto-complete-with-a-ternary-search-tree/comment-page-1/#comment-679</link>
		<dc:creator>John Haugeland</dc:creator>
		<pubDate>Wed, 03 Feb 2010 02:20:11 +0000</pubDate>
		<guid isPermaLink="false">http://igoro.com/?p=177#comment-679</guid>
		<description>Igor: If you want to support nearest match, the easiest thing to do is to store and search against lexemes (say, metaphone or soundex or whatever).  If you want, you can take the Levenstein difference between the potential string and the source string as a quick sort criterion for small matches; it wouldn&#039;t scale, though, since you&#039;d have to apply it to every source string available.  

For larger matching that scales on machines with a fair amount of memory available, the easiest way to deal with it is to knock out one lexeme from the word at a time, and match the gap with a GADDAG or something.

Also, a suffix trie is a rather simpler way to resolve this quandry you&#039;re approaching.</description>
		<content:encoded><![CDATA[<p>Igor: If you want to support nearest match, the easiest thing to do is to store and search against lexemes (say, metaphone or soundex or whatever).  If you want, you can take the Levenstein difference between the potential string and the source string as a quick sort criterion for small matches; it wouldn&#8217;t scale, though, since you&#8217;d have to apply it to every source string available.  </p>
<p>For larger matching that scales on machines with a fair amount of memory available, the easiest way to deal with it is to knock out one lexeme from the word at a time, and match the gap with a GADDAG or something.</p>
<p>Also, a suffix trie is a rather simpler way to resolve this quandry you&#8217;re approaching.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gallery of Processor Cache Effects</title>
		<link>http://igoro.com/archive/efficient-auto-complete-with-a-ternary-search-tree/comment-page-1/#comment-656</link>
		<dc:creator>Gallery of Processor Cache Effects</dc:creator>
		<pubDate>Tue, 02 Feb 2010 06:42:47 +0000</pubDate>
		<guid isPermaLink="false">http://igoro.com/?p=177#comment-656</guid>
		<description>[...] Efficient auto-complete with a ternary search tree [...]</description>
		<content:encoded><![CDATA[<p>[...] Efficient auto-complete with a ternary search tree [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

