Created
September 30, 2023 07:01
-
-
Save ochilab/0c363fc3d529ce7844ac4484c3ac2c58 to your computer and use it in GitHub Desktop.
ColaboratoryにMecabを入れる初期設定
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### MeCabと辞書をインストール | |
!sudo apt install mecab | |
!sudo apt install libmecab-dev | |
!sudo apt install mecab-ipadic-utf8 | |
### 辞書を使える場所に移す | |
!mv /etc/mecabrc /usr/local/etc/ | |
### Mecabライブラリのインストール | |
!pip3 install mecab-python3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment