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.
rexx ooPorter myInputfile.txt > myOutputfile.txt
The program only works for stemming English words.
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.
Rate This ProjectLogin To Rate This Project
Be the first to post a review of ooPorter!