Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Best way to print variables in regex

by jethro (Monsignor)
on Jan 20, 2014 at 23:24 UTC ( #1071394=note: print w/replies, xml ) Need Help??


in reply to Best way to print variables in regex

Where does get_exp come from, it isn't mentioned in tagger's documentation?

Just looked at the documentation and it seems there are methods that return hashes with occurrence frequencies ready to use. Especially get_nouns and get_proper_nouns seem to offer just what you want:

"get_proper_nouns TAGGED_TEXT

Given a POS-tagged text, this method returns a hash of all proper nouns and their occurrence frequencies...."

  • Comment on Re: Best way to print variables in regex

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2020-08-10 07:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (56 votes). Check out past polls.

    Notices?