Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Optimising Lingua::EN::NamedEntity for Very Strings

by EdwardG (Vicar)
on May 10, 2006 at 14:19 UTC ( #548468=note: print w/ replies, xml ) Need Help??


in reply to Optimising Lingua::EN::NamedEntity for Very Strings

       Any suggestions so I can send the maintainer a patch?

Perhaps parameterisation, as in

use Lingua::EN::NamedEntity; my @entities = extract_entities($some_text, $max_string_length);
or filter the output (but not solve your problem)
my @entities = extract_entities($some_text, $max_entity_length);

A reasonable default for either option might be 92 characters, which would accomodate a variant spelling of the name of a hill in my country of origin;

Tetaumatawhakatangihangakoauaotamateaurehaeaturipukapihimaungahoronukupokaiwhenuaakitanarahu (link goes to image).

 


Comment on Re: Optimising Lingua::EN::NamedEntity for Very Strings
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://548468]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (17)
As of 2015-07-06 17:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (80 votes), past polls