1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00
freebsd-ports/textproc/p5-Lingua-EN-NamedEntity/pkg-descr
Sunpoet Po-Chuan Hsieh ad4f267b7a Update WWW
search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.

With hat:	perl
2018-05-27 20:15:16 +00:00

17 lines
735 B
Plaintext

"Named entities" is the NLP jargon for proper nouns which
represent people, places, organisations, and so on.
This module provides a very simple way of extracting these from a text.
If we run the "extract_entities" routine on a piece of news coverage of
recent UK political events, we should expect to see it return a list of
hash references looking like this:
{ entity => 'Mr Howard', class => 'person', scores => { ... }, },
{ entity => 'Ministry of Defence', class => 'organisation', ... },
{ entity => 'Oxfordshire', class => 'place', ... },
The additional "scores" hash reference in there breaks down the various
possible classes for this entity in an open-ended scale.
WWW: https://metacpan.org/release/Lingua-EN-NamedEntity