GithubHelp home page GithubHelp logo

mecab-mozcdic's Introduction

mecab-mozcdic

概要

open source mozc dictionaryをMeCab辞書のフォーマットに変換したものです。

使用方法

matrix.def.gzを展開後、

$ mecab-dict-index -d . -o . -f UTF-8 -t UTF-8

を実行して解析用バイナリ辞書を作成し、MeCabから使用します。

解析例

$ mecab -d .
さくらのはながさきました。
さくらのはな 名詞,一般,*,*,*,*,NULL,桜の花,NULL
が           助詞,格助詞,一般,*,*,*,NULL,が,NULL
さき         動詞,自立,*,*,五段・カ行イ音便,連用形,NULL,咲き,NULL
まし         助動詞,*,*,*,特殊・マス,連用形,NULL,まし,NULL
た           助動詞,*,*,*,特殊・タ,基本形,NULL,た,NULL
。           記号,句点,*,*,*,*,NULL,。,NULL
EOS

エントリのフォーマットについて

  • mecab-ipadicと同じです。
  • 元の辞書が仮名漢字変換用なので、通常の形態素解析用辞書と異なり、「表層形」と「読み」が逆です。
  • 「原形」と「発音」については、一律「NULL」としています。

注意事項

  • Mozcは、単に辞書を使うだけでなく、誤変換を防ぐために色々な工夫を行っているため、mecab-mozcdicで「変換」した結果とは一致しない場合があります。
  • 生成過程のミス等により、結果として変なファイルが生成されているおそれがあります。

ライセンス

  • dictionary*.csv、left-id.def、right-id.def、matrix.defは、Open source mozc dictionaryから生成されています。
  • dicrc、unk.def、rewrite.defは、mecab-ipadic-2.7.0-20070801から生成されています。

詳細については、LICENSE.txtを参照してください。

mecab-mozcdic's People

Contributors

akirakubo avatar

Stargazers

Yuta Nakamura avatar Masato TOYOSHIMA avatar XS avatar Yuzuru Suzuki avatar Yad avatar himkt avatar IKEGAMI Yukino avatar

Watchers

James Cloos avatar  avatar

Forkers

phoepsilonix

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.