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

Re: Does 'Lecœur' occur in $text? Do you have a multi-

Subject: Re: Does 'Lecœur' occur in $text? Do you have a multi-factor XPath solution?
From: Wolfgang Laun <wolfgang.laun@xxxxxxxxx>
Date: Sat, 19 Jan 2013 09:06:40 +0100
Re:  Does 'Lecœur' occur in $text? Do you have a multi-
If the "slighly misspelled" is due to writing after hearing,
something like the Soundex algorithm is one possible solution.
The algorithm depends on the speaker's language. There
are a few variants for English. Other languages might be
found on the internet.
-W

On 18/01/2013, Costello, Roger L. <costello@xxxxxxxxx> wrote:
> Hi Folks,
>
> I want to determine if 'Lecur' occurs in $text.
>
> A naove solution is this XPath expression:
>
>       contains($text, 'Lecur')
>
> However, that does not take into account many important factors:
>
> 1. Perhaps 'Lecur' occurs, but in $text it is in uppercase
>
> 2. Perhaps instead of the '' ligature, $text uses 'oe'
>
> 3. Perhaps in $text 'Lecur' is split over two lines and thus is hyphenated
>
> 4. Perhaps 'Lecur' is slightly misspelled in $text and therefore requires
> fuzzy matching
>
> And there are many other important factors.
>
> Do you have an XPath solution to this problem that takes into account the
> many important factors?
>
> /Roger

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.