Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Kotlin かな漢字変換プログラム

License

NotificationsYou must be signed in to change notification settings

KazumaProject/kotlin-kana-kanji-converter

Repository files navigation

Build and Release

概要

このプログラムは、Kotlinを使用して実装されたかな漢字変換システムです。ひらがなを入力すると、トライ構造とトークン配列を使用して効率的に漢字に変換されます。ビタビアルゴリズムを活用し、最適な変換結果を提供します。また、辞書ファイルはカスタマイズ可能で、さまざまな用途に応じた設定が可能です。

特徴

  • ひらがなから漢字への迅速な変換
  • カスタマイズ可能な辞書ファイル
  • トライ構造による柔軟なデータ処理
  • ビタビアルゴリズムを使用した最適な経路選択

自動ビルドとリリース

GitHub Actions を使用して、プッシュされたタグに基づいてビルドとリリースを自動化しています。このプロセスには、辞書ファイルのダウンロード、Kotlinアプリケーションのビルド、アーティファクトの生成、および GitHub Release へのアップロードが含まれます。

インストール

git clone https://github.com/KazumaProject/kotlin-kana-kanji-converter.gitcd kotlin-kana-kanji-converter./gradlew build

使い方

  1. 辞書ファイルを準備し、プログラムを実行します。
  2. ひらがな文字列を入力すると漢字に変換されます。

ライセンス

このプロジェクトはMIT ライセンス のもとで提供されています。


English README

Kana-Kanji Conversion Program

Overview

This program is a kana-kanji conversion system implemented in Kotlin. It efficiently converts hiragana input to kanji byleveraging trie structures and token arrays. The program uses the Viterbi algorithm to calculate the shortest path forselecting the most suitable kanji from multiple candidates. Customizable dictionary files are supported to allow forvarious uses.

Features

  • Fast conversion from hiragana to kanji
  • Customizable dictionary files
  • Flexible trie-based data processing
  • Optimal path selection using the Viterbi algorithm

Automated Build and Release

This project uses GitHub Actions to automate the build and release process based on pushed tags. The process includesdownloading dictionary files, building the Kotlin application, generating artifacts, and uploading them to GitHubReleases.

Installation

git clone https://github.com/KazumaProject/kotlin-kana-kanji-converter.gitcd kotlin-kana-kanji-converter./gradlew build

Usage

  1. Prepare the dictionary files and run the program.
  2. Input a hiragana string to convert it to kanji.

License

This project is licensed under theMIT License.

About

Kotlin かな漢字変換プログラム

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp