{"id":23187406,"url":"https://github.com/ncaq/dic-nico-intersection-pixiv","last_synced_at":"2025-03-05T00:07:50.734Z","repository":{"id":151197700,"uuid":"84377246","full_name":"ncaq/dic-nico-intersection-pixiv","owner":"ncaq","description":"ニコニコ大百科とピクシブ百科事典の共通部分のIME辞書","archived":false,"fork":false,"pushed_at":"2024-09-03T07:55:48.000Z","size":1570,"stargazers_count":71,"open_issues_count":1,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-25T22:05:36.178Z","etag":null,"topics":["dictionary","google-ime","google-japanese-input","haskell","ime","japanese","mozc","niconico","pixiv"],"latest_commit_sha":null,"homepage":"https://raw.githubusercontent.com/ncaq/dic-nico-intersection-pixiv/master/public/dic-nico-intersection-pixiv-google.txt","language":"Haskell","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/ncaq.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-03-08T23:44:21.000Z","updated_at":"2024-12-09T09:25:40.000Z","dependencies_parsed_at":"2024-04-19T05:29:23.519Z","dependency_job_id":"c46a9962-348e-4954-8e4d-10f79323455c","html_url":"https://github.com/ncaq/dic-nico-intersection-pixiv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncaq%2Fdic-nico-intersection-pixiv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncaq%2Fdic-nico-intersection-pixiv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncaq%2Fdic-nico-intersection-pixiv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncaq%2Fdic-nico-intersection-pixiv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ncaq","download_url":"https://codeload.github.com/ncaq/dic-nico-intersection-pixiv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241935277,"owners_count":20044826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["dictionary","google-ime","google-japanese-input","haskell","ime","japanese","mozc","niconico","pixiv"],"created_at":"2024-12-18T10:19:24.430Z","updated_at":"2025-03-05T00:07:50.711Z","avatar_url":"https://github.com/ncaq.png","language":"Haskell","funding_links":[],"categories":["Haskell"],"sub_categories":[],"readme":"# dic-nico-intersection-pixiv\n\nニコニコ大百科とピクシブ百科事典の共通部分のIME辞書。\n\n# ダウンロード\n\n[dic-nico-intersection-pixiv-google.txt](https://raw.githubusercontent.com/ncaq/dic-nico-intersection-pixiv/master/public/dic-nico-intersection-pixiv-google.txt)\n\nGoogle日本語入力およびMozc形式です。\n\n# 説明\n\nニコニコ大百科とピクシブ百科事典の双方に登録されている単語の辞書です。\n読みがなはニコニコ大百科のデータを使っています。\n\n[ニコニコ大百科](http://dic.nicovideo.jp/)と、[ピクシブ百科事典](https://dic.pixiv.net/)のデータを利用させていただいています。\n\nルールベースでIME辞書の役に立たなそうな単語を除外しています。\n\n曖昧に絞り込んでいるので、本当はPixiv百科事典に存在しないのに単語が載っていたり、逆に存在していても載っていなかったりします。\n\n誤変換指摘の記事をなるべく除外しようとしていますが、擬陽性や偽陰性が存在します。\n\n品詞は諦めて全部アスキー文字の場合`アルファベット`、そうでない場合`固有名詞`にしています。\nあまり変換に影響しないので気にしていません。\n\n# 想定利用シーン\n\n* 標準辞書が貧弱なMozcの拡張辞書\n* Android版Google日本語入力に入れてサジェストを強化\n* 東方Project辞書(名前、曲、スペルカードなど)\n* ネットスラング、作品名、VTuber、ポケモン、アイドルマスター辞書\n\n# 開発動機\n\n主に東方Project関連の単語の変換を行いたかったのですが、[東方Project辞書 | Cue:LAB](https://9lab.jp/works/dic/th-dic.php)は開発当時は東方紺珠伝に対応していなかったことと、複数の辞書を世界の固有名詞が増えるたびに更新していくのは大変だという理由で、あまり使いたくありませんでした。\n\n色々な単語を備えてうってつけなのが、[ニコニコ大百科IME辞書](http://tkido.com/blog/1019.html)に思えますが、これは単語量が多すぎて、PCならともかくスマートフォンのGoogle日本語入力が重たくなってしまいます。\nまた量が多すぎて読みで遊んでいる単語([読みが通常の読み方とは異なる記事の一覧](https://dic.nicovideo.jp/id/4652210)に載っているような単語)が沢山あって、誤爆をしやすいという問題がありました。\nさらに下記のブログ記事に書いたように、括弧を使った単語が括弧なしの単語とコンフリクトしてしまい、括弧なしの単語がうまく変換できませんでした。\nよって自分でニコニコ大百科をスクレイピングしています。\n\n単語をメジャーなものだけに絞り、遊んでいる読みの単語を排除するにはどうすれば良いか考えた結果、ピクシブ百科事典にも登録されている単語のみを採用すれば良いと思いつきました。\n\nニコニコ大百科のデータの処理に関しては、[ニコニコ大百科IME辞書 神は細部に宿り給う](http://tkido.com/blog/1019.html)の処理方法を参考にさせて頂きました。\n\n読みが違う単語を弾くために、[読みが通常の読み方とは異なる記事の一覧](https://dic.nicovideo.jp/id/4652210)のデータを使用して私自身も編集に参加しています。\n\n# ライセンス\n\nコード部分はMITライセンスです。\n\n生成物はスクレイピング結果を利用している都合上、著作権は主張しません。\n\n# ブログ記事\n\n* [軽量なネット用語辞書が欲しかったので, ニコニコ大百科とピクシブ百科事典の共通部分の辞書であるdic-nico-intersection-pixivを作りました - ncaq](https://www.ncaq.net/2017/03/10/)\n* [dic-nico-intersection-pixivをpixivのサイトマップを使って生成するように変更しました - ncaq](https://www.ncaq.net/2017/08/23/)\n* [dic-nico-intersection-pixivの直リンクを見て意味わからないと言われてしまったのでファイルにコメントを追加しました - ncaq](https://www.ncaq.net/2017/11/09/16/26/13/)\n* [dic-nico-intersection-pixivをニコニコ大百科のデータを自前でスクレイピングするように変更しました - ncaq](https://www.ncaq.net/2019/08/20/13/16/20/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fncaq%2Fdic-nico-intersection-pixiv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fncaq%2Fdic-nico-intersection-pixiv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fncaq%2Fdic-nico-intersection-pixiv/lists"}