Hi Robert 

Am Montag, 25. April 2005 01.45 schrieb Robert Kerry:
> I want to use Perl to extract keywords from plaintext, don't know
> whether there are some exsiting package / algorithm for doing that?
> Thank you.

In the case you know the keywords 
(I suppose so, otherwise you would search words, right?)
you could use the following strategy:

1. Put your keywords in a hash
2. Split your text into words
3. handle the split words found in the keyword hash according to your "extract 
rules".

Depending on your "extract rules", other/extended methods may be more 
appropriate.

hth, joe

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to