PHPackages                             esperecyan/dictionary-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. esperecyan/dictionary-api

ActiveProject

esperecyan/dictionary-api
=========================

従来の辞書形式を「主に単語で答えるゲームにおける汎用的な辞書形式」に変換する Web API を提供します。

v0.4.0(6y ago)02[2 PRs](https://github.com/esperecyan/dictionary-api/pulls)MPL-2.0PHPPHP &gt;=7.1

Since Feb 5Pushed 4y ago1 watchersCompare

[ Source](https://github.com/esperecyan/dictionary-api)[ Packagist](https://packagist.org/packages/esperecyan/dictionary-api)[ Docs](https://github.com/esperecyan/dictionary-api)[ RSS](/packages/esperecyan-dictionary-api/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (8)Dependencies (6)Versions (11)Used By (0)

主に単語で答えるゲームにおける汎用的な辞書形式に関するAPI
==============================

[](#主に単語で答えるゲームにおける汎用的な辞書形式に関するapi)

次のゲームの辞書を相互に変換できるようにする Web API を提供します。

- [主に単語で答えるゲームにおける汎用的な辞書形式](https://github.com/esperecyan/dictionary/blob/master/dictionary.md) (以下、汎用辞書形式)
- [キャッチフィーリング](https://forest.watch.impress.co.jp/library/software/catchfeeling/)、[Drawing Catch](https://www.houmotsuko.net/game/old/drawcatch/index) (\*.cfq)
- [きゃっちま](http://vodka-catchm.seesaa.net/article/115922159.html) (\*.dat) ※暗号化後のファイルは扱えません
- [Inteligenceω](http://loxee.web.fc2.com/inteli.html) (\*.txt, \*.zip) ※暗号化後のファイルは扱えません
- [ピクトセンス](https://pictsense.com/)

動作デモ
----

[](#動作デモ)

使い方
---

[](#使い方)

上記URLに対し、以下のパラメータをmultipart/form-data形式でPOSTします。

キー値input辞書ファイル。title辞書のタイトル。指定されていなければ、inputキーのファイル名から判断します。汎用辞書で `@title` フィールドが存在する場合、この指定は無視されます。from変換元の辞書形式。`キャッチフィーリング` `きゃっちま` `Inteligenceω クイズ` `Inteligenceω しりとり` `ピクトセンス` `汎用辞書` のいずれか。指定されていないか間違った値が指定されていれば、inputキーのファイル名から判断します。Inteligenceωについては、コメント行、空行を除く最初の行が `Q,` で始まるか否かで、クイズとしりとりを判別します。to変換先の辞書形式。`キャッチフィーリング` `きゃっちま` `Inteligenceω クイズ` `Inteligenceω しりとり` `ピクトセンス` `汎用辞書` のいずれか。指定されていないか間違った値が指定されていれば、`汎用辞書` になります。### レスポンス

[](#レスポンス)

以下のパラメータがmultipart/form-data形式で返ります。

キー値output辞書ファイル。`content-disposition` ヘッダの `filename*` パラメータにファイル名を含みます。parser-logs構文解析時のログ。ログが存在しない場合はこのキーも存在しない。serializer-logs直列化時のログ。ログが存在しない場合はこのキーも存在しない。ログはいずれも[application/problem+json](https://tools.ietf.org/html/rfc7807 "Problem Details for HTTP APIs")形式で問題点の一覧を返します。 拡張メンバの構造については  をご覧ください。

### エラー

[](#エラー)

4xxクラス、または5xxクラスのHTTPステータスコード、および[application/problem+json](https://tools.ietf.org/html/rfc7807 "Problem Details for HTTP APIs")形式でエラーの説明を返します。

typetitlestatus原因Malformed Syntax[400](https://triple-underscore.github.io/RFC7231-ja.html#status.400)指定された形式を想定した構文解析に失敗したことを表します。Serialize Error[400](https://triple-underscore.github.io/RFC7231-ja.html#status.400)指定された形式へ直列化できる辞書ではなかったことを表します。about:blankBad Request[400](https://triple-underscore.github.io/RFC7231-ja.html#status.400)inputキーで辞書ファイルが与えられなかった場合。about:blankMethod Not Allowed[405](https://triple-underscore.github.io/RFC7231-ja.html#status.405)POST以外のメソッドでリクエストした場合。about:blankNot Implemented[501](https://triple-underscore.github.io/RFC7231-ja.html#status.501)〃about:blankPayload Too Large[413](https://triple-underscore.github.io/RFC7231-ja.html#status.413)POSTしたファイル、またはPOSTデータ全体のファイルが大き過ぎることを表します。about:blankInternal Server Error[500](https://triple-underscore.github.io/RFC7231-ja.html#status.500)サーバー側の設定ミスなどに起因するエラー。Contribution
------------

[](#contribution)

Pull Request、または Issue よりお願いいたします。

ライセンス
-----

[](#ライセンス)

当スクリプトのライセンスは [Mozilla Public License Version 2.0](https://www.mozilla.org/MPL/2.0/) (MPL-2.0) です。

ただし、[tests/resources/inteligenceo/quiz-input.txt](tests/resources/inteligenceo/quiz-input.txt) および [tests/resources/inteligenceo/shiritori-input.txt](tests/resources/inteligenceo/shiritori-input.txt) は MPL-2.0 ではないフリーのファイルであり、著作権は[ろくしー様](https://twitter.com/loxeee)にあります。

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~207 days

Recently: every ~331 days

Total

8

Last Release

2301d ago

PHP version history (2 changes)v0.1.0PHP &gt;=7.0

v0.3.0PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/ef0c6e242f52cdd97618d9582ca24c84c4bf54121e08ee61e564230e8568150f?d=identicon)[100の人](/maintainers/100%E3%81%AE%E4%BA%BA)

---

Top Contributors

[![esperecyan](https://avatars.githubusercontent.com/u/3625160?v=4)](https://github.com/esperecyan "esperecyan (18 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/esperecyan-dictionary-api/health.svg)

```
[![Health](https://phpackages.com/badges/esperecyan-dictionary-api/health.svg)](https://phpackages.com/packages/esperecyan-dictionary-api)
```

###  Alternatives

[phpbb/phpbb

phpBB Forum Software application

1721.6k6](/packages/phpbb-phpbb)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
