Solved

Perl and Porter Stemming algorithm

Posted on 1997-07-10
5
686 Views
Last Modified: 2008-03-17
Is there a perl program for the Porter Stemming Algorithm?  If so, where?
0
Comment
Question by:akil1071097
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 

Author Comment

by:akil1071097
ID: 1204821
The Port stemming algorithm is in the subject of Information Retreival which is a subtopic of computer science.
0
 
LVL 5

Expert Comment

by:icd
ID: 1204822
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
 

Author Comment

by:akil1071097
ID: 1204823
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
 
LVL 5

Expert Comment

by:icd
ID: 1204824
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
 
LVL 5

Accepted Solution

by:
icd earned 200 total points
ID: 1204825
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

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Six Sigma Control Plans

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question