noun-hound

Finds nouns and noun phrases in any given text.


Keywords
nlp, natural, language, processing, phrase, extraction, chunking
License
Apache-2.0
Install
pip install noun-hound==1.0.0

Documentation

NounHound

Description

Extract noun and noun phrases from any given text.

Install

pip install noun_hound

Usage

>>> from noun_hound import NounHound
>>> noun_hound = NounHound()
>>> noun_hound.process('''Long time Pythoneer Tim Peters
... succinctly channels the BDFL's
... guiding principles for Python's design into 20 aphorisms, only 19
... of which have been written down.''')
    {u'noun_phrases': [u'Long time Pythoneer Tim Peters',
      u"Python design's",
      u"BDFL's",
      u'guiding principles',
      u'20 aphorisms',
      u'channels'],
    u'nouns': [u'Pythoneer',
      u"Python's",
      u'Peters',
      u"BDFL's",
      u'Tim',
      u'principles',
      u'aphorisms',
      u'channels',
      u'design',
      u'time']}

Testing

./tests/noun_hound_tests.py

Copyright

Copyright (C) 2015 David Lettier.

License

For license information, see LICENSE.txt.