ChristianSch / crime-stats-nlp

NLP based crime stats extraction for police reports taken from http://www.presseportal.de
MIT License
2 stars 0 forks source link

TODO

Dependencies

To run the code you need the following packages:

Acknowledgements

This work heavily relies on the Stanford Named Entity Tagger and the german models for it.

Problems

If you get errors like this:

LookupError: 
**********************************************************************
  Resource u'corpora/stopwords' not found.  Please use the NLTK
  Downloader to obtain the resource:  >>> nltk.download()
  Searched in:
    - '/Users/username/nltk_data'
    - '/usr/share/nltk_data'
    - '/usr/local/share/nltk_data'
    - '/usr/lib/nltk_data'
    - '/usr/local/lib/nltk_data'
**********************************************************************

You should run

>>> import ntlk
>>> nltk.download()

in the Python interpreter and download the resource described above.