{"id":32165353,"url":"https://github.com/tex2e/mecab-elixir","last_synced_at":"2026-02-19T13:34:40.785Z","repository":{"id":57522362,"uuid":"77903171","full_name":"tex2e/mecab-elixir","owner":"tex2e","description":"Elixir bindings for MeCab, a Japanese morphological analyzer.","archived":false,"fork":false,"pushed_at":"2018-06-14T07:50:40.000Z","size":14,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-16T19:02:42.070Z","etag":null,"topics":["elixir","mecab"],"latest_commit_sha":null,"homepage":"https://hex.pm/packages/mecab","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tex2e.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-03T09:37:08.000Z","updated_at":"2023-04-20T03:04:44.000Z","dependencies_parsed_at":"2022-08-26T23:41:40.118Z","dependency_job_id":null,"html_url":"https://github.com/tex2e/mecab-elixir","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tex2e/mecab-elixir","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tex2e%2Fmecab-elixir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tex2e%2Fmecab-elixir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tex2e%2Fmecab-elixir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tex2e%2Fmecab-elixir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tex2e","download_url":"https://codeload.github.com/tex2e/mecab-elixir/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tex2e%2Fmecab-elixir/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29614982,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T13:04:20.082Z","status":"ssl_error","status_checked_at":"2026-02-19T13:03:33.775Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elixir","mecab"],"created_at":"2025-10-21T15:00:49.489Z","updated_at":"2026-02-19T13:34:40.780Z","avatar_url":"https://github.com/tex2e.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mecab\n\nElixir bindings for MeCab, a Japanese morphological analyzer.\n\n\n## Installation\n\nIf [available in Hex](https://hex.pm/docs/publish), the package can be installed as:\n\n  1. Add `mecab` to your list of dependencies in `mix.exs`:\n\n    def deps do\n      [{:mecab, \"~\u003e 1.0\"}]\n    end\n\n  2. Ensure `mecab` command is available for your environment:\n\n    # MacOS\n    brew install mecab mecab-ipadic\n\n## Usage\n\nFurther information is available at\n[Hex Online Documentation](https://hexdocs.pm/mecab/Mecab.html)\n\nThe way of parsing given string is as follows:\n\n    iex\u003e Mecab.parse(\"今日は晴れです\")\n    [%{\"conjugation\" =\u003e \"\",\n       \"conjugation_form\" =\u003e \"\",\n       \"lexical_form\" =\u003e \"今日\",\n       \"part_of_speech\" =\u003e \"名詞\",\n       \"part_of_speech_subcategory1\" =\u003e \"副詞可能\",\n       \"part_of_speech_subcategory2\" =\u003e \"\",\n       \"part_of_speech_subcategory3\" =\u003e \"\",\n       \"pronunciation\" =\u003e \"キョー\",\n       \"surface_form\" =\u003e \"今日\",\n       \"yomi\" =\u003e \"キョウ\"},\n     %{\"conjugation\" =\u003e \"\",\n       \"conjugation_form\" =\u003e \"\",\n       \"lexical_form\" =\u003e \"は\",\n       \"part_of_speech\" =\u003e \"助詞\",\n       \"part_of_speech_subcategory1\" =\u003e \"係助詞\",\n       \"part_of_speech_subcategory2\" =\u003e \"\",\n       \"part_of_speech_subcategory3\" =\u003e \"\",\n       \"pronunciation\" =\u003e \"ワ\",\n       \"surface_form\" =\u003e \"は\",\n       \"yomi\" =\u003e \"ハ\"},\n     %{\"conjugation\" =\u003e \"\",\n       \"conjugation_form\" =\u003e \"\",\n       \"lexical_form\" =\u003e \"晴れ\",\n       \"part_of_speech\" =\u003e \"名詞\",\n       \"part_of_speech_subcategory1\" =\u003e \"一般\",\n       \"part_of_speech_subcategory2\" =\u003e \"\",\n       \"part_of_speech_subcategory3\" =\u003e \"\",\n       \"pronunciation\" =\u003e \"ハレ\",\n       \"surface_form\" =\u003e \"晴れ\",\n       \"yomi\" =\u003e \"ハレ\"},\n     %{\"conjugation\" =\u003e \"基本形\",\n       \"conjugation_form\" =\u003e \"特殊・デス\",\n       \"lexical_form\" =\u003e \"です\",\n       \"part_of_speech\" =\u003e \"助動詞\",\n       \"part_of_speech_subcategory1\" =\u003e \"\",\n       \"part_of_speech_subcategory2\" =\u003e \"\",\n       \"part_of_speech_subcategory3\" =\u003e \"\",\n       \"pronunciation\" =\u003e \"デス\",\n       \"surface_form\" =\u003e \"です\",\n       \"yomi\" =\u003e \"デス\"},\n     %{\"conjugation\" =\u003e \"\",\n       \"conjugation_form\" =\u003e \"\",\n       \"lexical_form\" =\u003e \"\",\n       \"part_of_speech\" =\u003e \"\",\n       \"part_of_speech_subcategory1\" =\u003e \"\",\n       \"part_of_speech_subcategory2\" =\u003e \"\",\n       \"part_of_speech_subcategory3\" =\u003e \"\",\n       \"pronunciation\" =\u003e \"\"\n       \"surface_form\" =\u003e \"EOS\",\n       \"yomi\" =\u003e \"\"}]\n\n\nThe way of parsing given file is as follows:\n\n    iex\u003e Mecab.read!(\"sentences.txt\")\n\n\nEach parser function returns a list of map.\nThe map's keys meanings is as follows.\n\n- `surface_form`: 表層形\n- `part_of_speech`: 品詞\n- `part_of_speech_subcategory1`: 品詞細分類1\n- `part_of_speech_subcategory2`: 品詞細分類2\n- `part_of_speech_subcategory3`: 品詞細分類3\n- `conjugation_form`: 活用形\n- `conjugation`: 活用型\n- `lexical_form`: 原形\n- `yomi`: 読み\n- `pronunciation`: 発音\n\n\nSee Also\n-------------\n\n- [Hex Mecab](https://hex.pm/packages/mecab)\n- [Online Documentation](https://hexdocs.pm/mecab/Mecab.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftex2e%2Fmecab-elixir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftex2e%2Fmecab-elixir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftex2e%2Fmecab-elixir/lists"}