OpenJTalk のネイティブ共有ライブラリ。日本語テキストから音素変換を行う C API を提供する。
./scripts/fetch_dependencies.sh
./scripts/build_dependencies.sh
cmake -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=ON
cmake --build build -j$(nproc)
cd build && ctest --output-on-failure.\scripts\fetch_dependencies.ps1
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release- ライブラリ名:
openjtalk_native - API 接頭辞:
openjtalk_native_ - エクスポートマクロ:
OPENJTALK_NATIVE_EXPORTS - C99 準拠
- パブリック API は
include/openjtalk_native.hで定義
include/— パブリックヘッダーsrc/— コア実装cmake/— 依存関係の CMake ビルド設定scripts/— ビルドスクリプトtest/— テストdocker/— Docker ビルド環境external/— ビルド時にダウンロードされるソース(.gitignore 対象)
cmake -B build -DBUILD_TESTS=ON
cmake --build build
cd build && ctest --output-on-failureタグを push すると GitHub Actions が自動的にリリースを作成する。
git tag v1.0.0
git push origin v1.0.0