[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Fuzzy analyze-string

Subject: Re: Fuzzy analyze-string
From: mozer <xmlizer@xxxxxxxxx>
Date: Wed, 19 Sep 2007 12:06:51 +0200
 Re: Fuzzy analyze-string
Dear,

Ok thinking trough it a bit more shows me it's obvious answer would be
to provide a different collation algorithm

Say now the problem has to be solved in XSLT 2.0 without creating a
non XSLT collation function

Is it possible to make it possible with an 100% XSLT 2.0 solution ?

Xmlizer

On 9/15/07, mozer <xmlizer@xxxxxxxxx> wrote:
> Dear XSLers,
>
> What I want to achieve is a fuzzy analyze string in XSLT 1.0
>
> That is
>
> Say I have a process
>
> String normalize(String)
>
> that takes a string and normalize it
>
> Then I have a bigger string in a div element
>
> <div>this is the string that I want tO analyze but with some
> variations without having troubles because multiple variation of typo
> of the same word could apply for exampe to TO tO or To</div>
>
> The problem is that I will have as input a variable string
>
> I will normalize it
>
> And have the string matching the previous string with normalize
>
> For example
>
> with 'TO' given as input and say that normalize('TO') gives 'to'
>
> I want this result
>
> <div>this is the string that I want <span>tO</span> analyze but with
> some variations without having troubles because multiple variation of
> typo of the same word could apply for exampe </span>to</span>
> <span>TO</span> <span>tO</span> or <span>To</span></div>
>
>
> Thanks in advance for the time taken
>
> Cheers,
>
> Xmlizer

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.