Re:NLP analysis of Pride and Prejudice
by Xeoncross on Wednesday December 14, 2016 @12:31PM
(#13177803)
Spacy is a great library and tutorials like this give a clear and simple path for testing it out. They even included a function for reading a file, rather than assuming the audience are all python programers.
(Not that reading a file is hard, but it's an extra few minutes as you google how to read a file in X language.)
Re:NLP analysis of Pride and Prejudice
by czep on Wednesday December 14, 2016 @02:22PM
(#13178860)
Spacy is awesome. The API is clean and powerful. I have been using it heavily over the past few months, using it almost exclusively for feature extraction now. I'm currently working on extracting subject-verb-object tuples, which is amazingly easy to do, because I am finding these to be much more powerful than unigrams or ngrams for classification.
Named Entity extraction in Spacy is another killer feature. It's been instrumental in some fraud detection work I've been doing as well.
Additionally, Jupyter Notebooks on GitHub do not render; instead, you should visit the site of the original post: http://www.cytora.com/insights/2016/11/30/natural-language-p...
https://github.com/chartbeat-labs/textacy
https://textacy.readthedocs.io/en/latest/api_reference.html#...
(Not that reading a file is hard, but it's an extra few minutes as you google how to read a file in X language.)
Named Entity extraction in Spacy is another killer feature. It's been instrumental in some fraud detection work I've been doing as well.
Can you share any of your work or give examples?
Anyway, this is the 2nd part of a 3 part tutorial. Full setup instructions and the 2 other parts are available here: https://github.com/cytora/pycon-nlp-in-10-lines