aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-Lingua-EN-NamedEntity/pkg-descr
blob: d4a6d41b77326f8545be1be84d9e351a70169165 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"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