Download Latest Version ooPorter.rex (26.3 kB)
Email in envelope

Get an email when there's a new version of ooPorter

Home
Name Modified Size InfoDownloads / Week
ooPorter 2016-06-26
Older Versions 2016-06-26
Comparative Tests 2016-06-21
Testdata 2016-06-21
readme.txt 2016-06-21 850 Bytes
Totals: 5 Items   850 Bytes 0
This is an ooRexx line-by-line port from Ansi-C to ooRexx of the stemming routine published by Martin Porter 1980. The original source code from Porter has been commented out and emulated by the corresponding (oo)Rexx code as far as possible.

This is not an example of good or fast (oo)Rexx programming, it is merely a demonstration of the Porter stemming routine ported to ooRexx, use and modify as necessary.

Input to the program is a textfile with words to be stemmed, one per line. Output from the program ends up in the terminal window (standard out) and may be redirected to an output file.

Syntax:
rexx ooPorter myInputfile.txt > myOutputfile.txt

The source code is distributed under a free beer license; you are free to use the ooRexx source code as you please and no restrictions whatsoever apply as far as the type of beer is involved.
Source: readme.txt, updated 2016-06-21