[xsl] Re: Porter stemmer in XSLT?

Subject: [xsl] Re: Porter stemmer in XSLT?
From: "Martin Holmes gtxxgm-xsl-list-2@xxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 20 Mar 2018 17:44:48 -0000
Hi Mukul,

I'm thinking that it would be a useful exercise for me to write one myself if none exists. I've used the Java implementation before, but it's one more level of complexity, and I don't see why it couldn't be done in XSLT. It would be handy to have.

Cheers,
Martin

On 2018-03-20 02:01 AM, Mukul Gandhi gandhi.mukul@xxxxxxxxx wrote:
Hi Martin,
B B I've just reviewed the languages in which "Porter stemmer" is already available (from the link you've provided). It seems XSLT implementation is yet not available.


I can write this for somebody in XSLT 2.0 or 1.0, as a freelance activity for a small payment. If that sounds ok, please contact me privately.

Another approach is, pick the Java implementation from the link you've provided, and invoke it from XSLT (XSLT can invoke Java code). I guess, this would require some modifications to the Java code like having static methods instead of the instance methods.

On Mon, Mar 19, 2018 at 10:14 PM, Martin Holmes gtxxgm-xsl-list-2@xxxxxxxxxxx <mailto:gtxxgm-xsl-list-2@xxxxxxxxxxx> <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx <mailto:xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>> wrote:

Hi all,

    Does anyone know of a Porter Stemmer written in XSLT? There isn't
    one listed on the official page:

    <https://tartarus.org/martin/PorterStemmer/
    <https://tartarus.org/martin/PorterStemmer/>>

    Cheers,
    Martin




--
Regards,
Mukul Gandhi
XSL-List info and archive <http://www.mulberrytech.com/xsl/xsl-list>
EasyUnsubscribe <-list/1309990> (by email <>)

Current Thread