Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Stemming 'communing' and 'communed': msg#00007

search.snowball

Subject: Stemming 'communing' and 'communed'

Greetings!

I am about to release the first version of my Porter2 stemming algorithm for PHP (native PHP code, no C, no extensions). I have tested the algorithm against the sample vocabulary word lists and am down to one error. Where the sample word lists show that "communing" should stem to "commune" my algorithm stems it to "commun". While not listed in the sample vocabulary, "communed" is also stemmed to "commune" using the online Porter2 demo hosted at the snowball.tartarus.org site, while my algorithm stems it to "commun". I have run through the spec 'by-hand' many times and cannot figure out how to get to the proper stemming.

The below is a run-thru of how I am interpreting the spec to get to 'commun':

1) Begin with 'communing'
2) R1: ing (per prefix exceptions for 'gener', 'commun', 'arsen'), R2: null
2) Prelude
3) Step 0
4) Step 1a
5) Step 1b, delete 'ing', get 'commun',
Note: try as I might, I cannot figure out how to come away with the conclusion that the word is short and thus I should add an 'e' to the end.
6) Step 1c
7) Step 2
8) Step 3
9) Step 4
10) Step 5
11) Postlude

Result: 'commun'

Any thoughts or clarification would be much appreciated.

Best regards,
Michael Edwards
_______________________________________________
Snowball-discuss mailing list
Snowball-discuss@xxxxxxxxxxxxxxxxxx
http://lists.tartarus.org/mailman/listinfo/snowball-discuss
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe