note
jethro
<p>Where does get_exp come from, it isn't mentioned in tagger's documentation?</p>
<p>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:</p>
<p>"get_proper_nouns TAGGED_TEXT</p>
<blockquote>
Given a POS-tagged text, this method returns a hash of all proper nouns and their occurrence frequencies...."
</blockquote></p>
1071391
1071391