|
Subject: [xsl] Re: Fuzzy analyze-string From: mozer <xmlizer@xxxxxxxxx> Date: Wed, 19 Sep 2007 12:06:51 +0200 |
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 |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Fuzzy analyze-string, mozer | Thread | Re: [xsl] Re: Fuzzy analyze-string, David Carlisle |
| Re: [xsl] Document() question, Abel Braaksma | Date | Re: [xsl] Re: Fuzzy analyze-string, David Carlisle |
| Month |