news-relay 
Author Message
 news-relay

Hi

I'm trying to write a stemmer similar to the 'Porter Stemming Algorithm' in
POP11. When I input a word such as 'walking', 'walks' or 'walked' (etc) I
want it to return 'walk' to me.

I need to enter this word as a list [walking]->word, I can work out what the
ending of the word is by matching the letters to the ascii code eg: to see
if the end letter is g I do:

word(1)(wordlength)->char1;

if [^char1] = [103] then
...

but I can't then delete these end letters without having the resulting stem
returned as [w a l k] not [walk]. I've tried using delete(), and other ways,
and have read up on lists etc but to no avail.

please help!

Nicki Brown
Electronic Engineering
University of Birmingham



Mon, 22 Aug 2005 20:06:41 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. news-relay

2. news-relay

3. news-relay

4. news-relay

5. news-relay

6. None (mail relay)

7. FastCGI relay with Apache

8. None (mail relay)

9. wave relay as a .dll on NT?

10. Any one using Frame Relay??

11. VWAVE CGI RELAY

12. SCXI 1161 Multi Purpose Relays Card

 

 
Powered by phpBB® Forum Software