Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

An RuntimeError #25

@peco2282

Description

@peco2282

コード

    tagger = MeCab.Tagger(
        '-d "D:/Program Files/MeCab/dic/ipadic" -u "D:/Program Files/MeCab/dic/NEologd/NEologd.20200910-u.dic"')

エラー

Traceback (most recent call last):
  File "D:\path\to\program\prog.py", line 41, in <module>
    main()
  File "D:\path\to\program\prog.py", line 27, in main
    tagger = MeCab.Tagger(
  File "D:\path\to\program\prog.py", line 355, in __init__
    _MeCab.Tagger_swiginit(self, _MeCab.new_Tagger(*args))
RuntimeError

同じコードがmecab-python3では動くのですが、このライブラリだと動きません。
mecab.exeのパスは通っています。

バージョン:
python: 3.10.8
mecab: 0.996.3

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions