Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
NamedEntity(3)	      User Contributed Perl Documentation	NamedEntity(3)

NAME
       Lingua::EN::NamedEntity - Basic Named Entity Extraction algorithm

SYNOPSIS
	 use Lingua::EN::NamedEntity;
	 my @entities =	extract_entities($some_text);

DESCRIPTION
       "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.

       The hash	also includes the number of occurrences	for that entity.

       Naturally, the more text	you throw at this, the more accurate it
       becomes.

   extract_entities
       Pass to "<extract_entities"> a text, and	it will	return a list of
       entities, as described above.

AUTHOR
       Simon Cozens, "simon@kasei.com"

       Maintained by Alberto SimA<micro>es, "ambs@cpan.org"

ACKNOWLEDGMENTS
       Thanks to Jon Allen for help with Makefile.PL failure.

       Thanks to Bo Adler for a	patch with entity count.

COPYRIGHT AND LICENSE
       Copyright 2004-2008 by Alberto SimA<micro>es Copyright 2003 by Simon
       Cozens

       This library is free software; you can redistribute it and/or modify it
       under the same terms as Perl itself.

perl v5.24.1			  2015-10-10			NamedEntity(3)

NAME | SYNOPSIS | DESCRIPTION | AUTHOR | ACKNOWLEDGMENTS | COPYRIGHT AND LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Lingua::EN::NamedEntity&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help