Solved

Perl and Porter Stemming algorithm

Posted on 1997-07-10
5
669 Views
Last Modified: 2008-03-17
Is there a perl program for the Porter Stemming Algorithm?  If so, where?
0
Comment
Question by:akil1071097
  • 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Connecting to linux server using Net::Telnet module 25 211
perl rename 2 137
Using Perl DBI to query oracle 3 30
create a gui in perl 3 46
On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

747 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now