|
|
Choosing A Webhost: |
Stemming 'communing' and 'communed': msg#00007search.snowball
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> |
|---|---|---|
| Previous by Date: | Re: Using libstemmer_c with an autotools package, Vegard Nossum |
|---|---|
| Next by Date: | Re: Stemming 'communing' and 'communed', Martin Porter |
| Previous by Thread: | Using libstemmer_c with an autotools packages, Vegard Nossum |
| Next by Thread: | Re: Stemming 'communing' and 'communed', Martin Porter |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive 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 |