Japanese NLP @ janome / spaCy / Python

Installation

install-japanese-nlp-spacy.sh


virtualenv .env
source .env/bin/activate
pip install -U janome jupyter 
pip install -U Cython git+https://github.com/explosion/spaCy
pip freeze > .env/requirements.txt

pip spacy is a bit old and Japanese support spacy.ja was not included, so as mentioned above, pip install -U git + https://github.com/explosion/spaCy is the latest version. Download and build. Cloud9 worked hard to build for about 30 minutes. Screenshot 2017-05-19 at 18.18.41.png

Run Jupyter Notebook on Cloud9 IDE After successfully installing spaCy, start Jupyter Notebook. With Cloud9:

start-jupyter-c9.sh


jupyter notebook --port $PORT --ip $IP --no-browser

Try Janome/spaCy

Open Notebook in Jupyter.

Screenshot 2017-05-19 at 18.44.40.png

Source: GitHub or nbviewer

NLTK? NLTK seems to be influential, but I haven't tried it yet.

install-nlp-nltk-python.sh


pip install -U nltk requests

Links

Recommended Posts

Japanese NLP @ janome / spaCy / Python
Python error list (Japanese)
Japanese output in Python
python Environmentally-friendly Japanese setting
Let's use python janome easily
Send Japanese email with Python3
I wrote python in Japanese
Japanese morphological analysis using Janome
Python: Japanese text: Morphological analysis
Japanese morphological analysis with Python
#python Python Japanese syntax error avoidance
I understand Python in Japanese!
tesseract-OCR for Python [Japanese version]
Get Japanese synonyms in Python
Use Stanford Core NLP from Python
Add Python 2.7 Japanese documentation to Dash.app
Japanese analysis processing using Janome part1
Speak Japanese text with OpenJTalk + python
How to handle Japanese in Python
Japanese prettyprint memo (also python2.7 & 3.5 windows7)