![形態素解析](https://mitikusa-engineer.com/wp-content/uploads/2022/07/Python-1024x538.png)
Pythonで形態素解析ライブラリである『Janome』についてまとめました。
インストール環境
ホストOS | Windows 10 21H1(19043.1826) 64bit |
仮想化ソフトウェア | VirtualBox 6.1.34 r150636 (Qt5.6.2) |
ゲストOS | Ubuntu 22.04 |
python | 3.10.4 |
準備
公式に従い、下記コマンドでmecabのpythonバインディングモジュールをインストールします。
pip install mecab-python3
pip install unidic-lite
サンプル
文章を解析する