Skip to main content

高性能日本語形態素解析ライブラリ - SudachiPyとGemini AIによるテキスト分析

Project description

Mirage-Core

日本語文章解析エンジン。伝統的な自然言語処理(NLP)とLLMを組み合わせたハイブリッドアーキテクチャを採用しています。

🚀 クイックスタート

Docker Hub から実行(最も簡単)

# Docker Hub から最新イメージを取得
docker pull stayforge/mirage:latest

# コンテナを起動
docker run -d -p 8000:8000 stayforge/mirage:latest

# API にアクセス
curl http://localhost:8000/analysis/health

Docker Compose で実行

# リポジトリをクローン
git clone https://github.com/[your-repo]/Mirage-Core.git
cd Mirage-Core

# Docker Compose で起動
docker-compose up -d

# API にアクセス
curl http://localhost:8000/analysis/health

詳細は DOCKER.md を参照

ローカル環境で実行

# 依存関係をインストール
pip install -r requirements.txt

# UniDic 辞書をダウンロード(初回のみ)
python -m unidic download

# API サーバーを起動
python main.py

📚 API ドキュメント

起動後、以下の URL でアクセス:

🧪 テスト

# 全テストを実行
pytest tests/ -v

# API テストのみ
pytest tests/test_api.py -v

# 分析機能テストのみ
pytest tests/test_analysis.py -v

🔄 CI/CD

GitHub Actions による自動ビルド・デプロイを設定済み

  • main ブランチ: stayforge/mirage:latest
  • dev ブランチ: stayforge/mirage:dev
  • バージョンタグ: stayforge/mirage:v1.0.0

セットアップ方法: CI_SETUP.md

🛠️ Tools

A tool to convert other formats (mainly Aozora Bunko) to .MDI

Supported file(text) formats:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymirage-0.1.1.dev2.tar.gz (23.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pymirage-0.1.1.dev2-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

Details for the file pymirage-0.1.1.dev2.tar.gz.

File metadata

  • Download URL: pymirage-0.1.1.dev2.tar.gz
  • Upload date:
  • Size: 23.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pymirage-0.1.1.dev2.tar.gz
Algorithm Hash digest
SHA256 f37ec537f7e1504f61fd8901e78f0f2845b9876a503452a9bfd4723402013de8
MD5 f7c6c7e933395ec8c8aa69d49e8416ea
BLAKE2b-256 00c043e4b3e0000905f0678edb7aa24ede9013a8061c85970507427d7c80cc1c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymirage-0.1.1.dev2.tar.gz:

Publisher: pypi.yml on stayforge/Mirage-Core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymirage-0.1.1.dev2-py3-none-any.whl.

File metadata

  • Download URL: pymirage-0.1.1.dev2-py3-none-any.whl
  • Upload date:
  • Size: 20.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pymirage-0.1.1.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 179b7036b1fa13cd6ef224e604050a4a0948393bba7bc384c3812d1856333151
MD5 00e90d7b3cf209b9e5c0d99834c93fff
BLAKE2b-256 dd84fd2aedcc7cbf98c8a3f9a0f244a02f9a56a243a5d229d7aa3d50040ab286

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymirage-0.1.1.dev2-py3-none-any.whl:

Publisher: pypi.yml on stayforge/Mirage-Core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page