Email::Store::NamedEntityEmail::Store::NamedEntity is a Perl module that provides a list of named entities for an email. | |
Download |
Email::Store::NamedEntity Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Simon Wistow
- Publisher web site:
- http://search.cpan.org/~simonw/
Email::Store::NamedEntity Tags
Email::Store::NamedEntity Description
Email::Store::NamedEntity is a Perl module that provides a list of named entities for an email. Email::Store::NamedEntity is a Perl module that provides a list of named entities for an email.SYNOPSISRemember to create the database table: % make install % perl -MEmail::Store="..." -e 'Email::Store->setup'And now: foreach my $e ($mail->named_entities) { print $e->thing," which is a ", $e->description,"(score=",$e->score(),")n"; }Named entities is the NLP jargon for proper nouns which represent people, places, organisations, and so on. Clearly this is useful meta data to extract from a body of emails.This extension for Email::Store adds the named_entity table, and exports the named_entities method to the Email::Store::Mail class which returns a list of Email::Store::NamedEntity objects.A Email::Store::NamedEntity object has three fields -thingThe entity we've extracted e.g "Bob Smith" or "London" wdescriptionWhat class of entity it is e.g "person", "organisation" or "place"scoreHow likely like it is to be that class.Email::Store::NamedEntity will also attempt to index each field so that if you ahve the Email::Store::Plucene module installed then you could search using something like place:London Requirements: · Perl
Email::Store::NamedEntity Related Software