Perl and Porter Stemming algorithm

Is there a perl program for the Porter Stemming Algorithm?  If so, where?
akil1071097Asked:
Who is Participating?
 
icdConnect With a Mentor Commented:
Just after posting my last comment I did another search of the Internet and found something that might help.

The 'Roads' project is an indexing program that uses the Porter Stemming algorithm within it. Since it is possible to download the source for this project then it would be possible to extract the code that you need. The software is free and it can be modified and distributed under the same terms as perl itself.

You can find the Roads project at:-

http://weeble.lut.ac.uk/

The particular module that uses the algorithm is described at:-

http://weeble.lut.ac.uk/v1/Manual/cgi-bin/search.pl.html

I have not checked if it is possible to just download individual files, I suspect not. You may have to download the whole lot to get the search.pl module itself.

Good Luck.

0
 
akil1071097Author Commented:
The Port stemming algorithm is in the subject of Information Retreival which is a subtopic of computer science.
0
 
icdCommented:
I am sure there is, but probably build into a WAIS search engine and not as a specific 'routine'.

However if you have a sample of this algorithm in pseudo code or another language then there is probably someone here who can port it for you.
0
 
akil1071097Author Commented:
This can be a specific "routine" of a program within a search engine but it is also written in C and Pascal.  It can serve multiple purposes and not just as a search engine tool. Hope this can help!!
0
 
icdCommented:
Does not help very much since I can find no examples of this algorithm in any language on the Internet. If you know of one then I can look at it and see if it can be implemented in perl.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.