xsl-list
[Top] [All Lists]

[xsl] Re: Efficient dictionary lookup

2012-03-23 10:02:55
On 12-03-23 02:12 AM, David Carlisle wrote:
On 23/03/2012 00:49, Martin Holmes wrote:
the spellcheck dictionary is big

It depends on what you are doing of course, but if the dictionary
doesn't change much and you need to process a lot of documents against
it, it is possible to just parse and index the dictionary key once and
so that cost is shared out across all the documents. the details are
highly processor specific of course so probably best to ask on the
product lists about that, rather than this one.

Ultimately I think this will be done using a Lucene index in an eXist database. But the <xsl:key> approach is fast enough for the development phase.

Cheers,
Martin



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>