xsl-list
[Top] [All Lists]

[xsl] Re: Porter stemmer in XSLT?

2018-03-20 12:44:54
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(_dot_)mukul(_at_)gmail(_dot_)com 
wrote:
Hi Martin,
    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(_at_)m(_dot_)gmane(_dot_)org <mailto:gtxxgm-xsl-list-2(_at_)m(_dot_)gmane(_dot_)org> <xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com <mailto:xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com>> 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 <>)
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>