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.

Project Samples

Project Activity

See All Activity >

License

Public Domain

Follow ooPorter

ooPorter Web Site

nel_h2
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ooPorter!

Additional Project Details

Intended Audience

Developers, Information Technology, Science/Research

User Interface

Command-line, Console/Terminal

Programming Language

C, Rexx

Related Categories

Rexx Information Analysis Software, Rexx Linguistics Software, C Information Analysis Software, C Linguistics Software

Registered

2016-06-21