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 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.
14 Reviews
- Over 50 business-class features
- Easy setup. Professional installation.
- CRM integration
Website | https://ooporter.sourceforge.io |
Tags | Information AnalysisLinguistics |
License | Public Domain |
Features |
|