Re: [xsl] Similarity metric in XSLT 2?

Subject: Re: [xsl] Similarity metric in XSLT 2?
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Fri, 30 Mar 2012 21:46:03 +0100
If there were such a module / extension function for XPath / XSLT, I'd probably used it more often. If you find a Java library that is easy to interface with from Java-based XSLT processors, please let me know. I think that Levenshtein or more advanced algorithms will be too slow when implemented in XSLT, but may be readily available as an extension function.
See for implementation of Levenshtein in XSLT 2.0, with a lot of interesting follow-up.

Michael Kay

Current Thread