55 Commits

Author SHA1 Message Date
d8b06e9367 Merge pull request #227 from azooKey/feat/mapped_input_style
feat: `.mapped(id)`を新たな入力スタイルとして導入し、カスタムローマ字かな変換テーブルに対応
2025-07-23 23:35:36 +09:00
988bfd3634 refactor: remove table-specific implementation 2025-07-21 18:32:22 +09:00
7b520e5793 refactor: possibleNextsを手動で列挙せず、自動で列挙できるようにした 2025-07-21 18:01:05 +09:00
59cde2a2ca Merge pull request #224 from azooKey/refactor/remove_complicated_boundary_checker
refactor: 特定のローマ字かな変換テーブルを前提にした複雑な境界チェックを廃止する
2025-07-21 17:33:47 +09:00
031f3f466c fix: input kimi and then delete, you won't get any conversion result 2025-07-15 14:52:35 -07:00
48c267f47e fix: itta-then-delete crash 2025-07-15 14:05:44 -07:00
1757546802 fix: test build error 2025-07-15 09:53:16 -07:00
58e18f2a88 feat: add tests for typo 2025-07-14 13:55:31 -07:00
b9bd88a247 refactor: clean up API 2025-07-15 05:02:29 +09:00
704fa9871f feat: Latticeの操作をconvertTargetベースのindexとinputベースのindexの二重化 2025-07-10 01:12:11 +09:00
947ca5e689 fix: input rangeの間違った設定を修正 2025-07-06 18:51:46 +09:00
9d66ef0851 fix: 動的ユーザ辞書が適切に読めていなかった問題を修正 2025-07-06 16:57:27 +09:00
b29fa62f17 fix: minor fixes 2025-07-03 22:51:35 +09:00
fe2c1ec4ae feat: getLOUDSData関数をgetLOUDSDataInRange関数に統合。最適化を行っていない実装にもかかわらず、従来実装の1.2倍程度の高速化効果が得られる 2025-06-29 19:52:27 +09:00
763b059a45 feat: support roman version of pruning 2025-06-29 14:16:25 +09:00
f5037e393c perf: 同じloudsに対する検索をバルク処理することによって、処理の効率化を実現 (#208)
* perf: 同じloudsに対する検索をバルク処理することによって、処理の効率化を実現

* fix: bug

* test: add typo correction test

* chore: finalize imp;
2025-06-27 22:32:46 +09:00
a1cb34e81c test: 「的な」は複合語であり、必ずしも必要ではないので削除 2025-06-04 21:44:06 +09:00
e45671a9f3 test: add basic vocabulary check for all prefixes, to avoid collapse 2025-06-02 23:14:23 +09:00
9c6e30e8b0 Merge pull request #174 from azooKey/feat/update_emoji16.0
feat: use emoji 16.0
2025-04-25 00:19:16 +09:00
db1d2023ca feat: add test and update 2025-04-19 18:30:01 +09:00
ebaa31721c refactor: clear Graph-based input impls 2025-03-08 18:17:21 +09:00
fe3fe96e9b feat: use azooKey_emoji_dictionary_storage (#146)
* feat: use azooKey_emoji_dictionary_storage

* feat: add test

* fix: test case

* feat: fix build error

* fix: build error

* fix: fix android build

* fix: confirm libicu-dev is installed

* test: add non-empty test case

* fix: continue on empty line
2024-12-01 00:59:27 +09:00
84dfb9fe97 fix: testコードでのエラーを修正 2024-09-28 17:35:21 +09:00
fbf09a76eb feat: エスケープされた辞書名をサポート(v2.3.b2) (#106)
* feat: support v2.3.b2 dictionary (https://github.com/ensan-hcl/azooKey_dictionary_storage/pull/3)

* update to v2.3.b2
2024-06-23 17:53:13 +09:00
c2e88ae720 [Fix] 漢数字周りのエラーを修正 (#104)
* fix: 漢数字変換が正しくない問題を修正

* test: add check for long number inptu
2024-06-20 23:55:50 +09:00
55ffe3c708 [Experimental] Zenzai (#92)
* experimental rinna integration

* Update impl

* update

* Bump swift-actions/setup-swift from 1 to 2

Bumps [swift-actions/setup-swift](https://github.com/swift-actions/setup-swift) from 1 to 2.
- [Release notes](https://github.com/swift-actions/setup-swift/releases)
- [Commits](https://github.com/swift-actions/setup-swift/compare/v1...v2)

---
updated-dependencies:
- dependency-name: swift-actions/setup-swift
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* change test

* change impl

* take gpt2 weight as option

* don't use async

* support status check

* enhance error

* avoid percent encode

* update

* GPT-2 based kana-kanji conversion is now perfectly workinggit statusgit status

* fix a bug

* Rename gpt2/llama -> zenz

* cleanup

* internal apiを綺麗にした

* cleanup experimental commands

* update

* partially support incremental input using cache

* fix names

* fix bug

* support roman2kana

* cleanup

* fix minor bugs

* improve logic

* fix minor bug

* fix minor bug

* fix minor bug

* optimize

* optimize performance

* Optimize cache hit

* cli: add anco session command

* fix cache hit bugs

* improve session commands

* maybe this will work better for incremental input environment

* speed up zenzai by using n_best alternatives

* update zenz context

* adding no_typo api

* add inference limit

* fix bug

* reset install_cli

* make package buildable -- but llama.cpp features just do not work at this point because metal is not preprocessed

* add proper availability checks

* change macOS minimum version

* fix several problems

* code cleanup

* enable ubuntu build

* fix build error

* fix ubuntu build

* fix borrowing

* update install_cli.sh

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-15 01:36:45 +09:00
861ac7a026 feat: MetadataのAPIをより柔軟にした (#89) 2024-05-04 11:56:09 +09:00
a5e794d858 [Experimental] 削除操作についてもグラフベースに変更 (#79)
* switch to ComposingTextV2

* delete操作を実装
2024-04-09 01:01:12 +09:00
afabe8a734 implement ComposingTextV2 for practical use (#78) 2024-04-09 00:16:37 +09:00
7a3f1d3c3c [Experimental] ConvertGraphの差分ベース構築を実装 (#77)
* 差分ビルドを実装

* テストケース追加
2024-04-07 23:51:58 +09:00
2e341ea40c format 2024-03-31 01:35:52 +09:00
ac3b8cd4bf _experimental_additionalの実装にも反映 2024-03-31 01:35:32 +09:00
199129fd68 lint 2024-03-31 00:11:37 +09:00
35675207a3 split files 2024-03-31 00:10:38 +09:00
5714b320da LookupGraphの差分構築を実装 2024-03-31 00:08:54 +09:00
e8e3b4f380 add another test case (#70) 2024-03-18 01:05:03 +09:00
30908e1bb1 add document 2024-03-17 23:39:34 +09:00
b6d2817c4d add comments 2024-03-17 22:52:38 +09:00
fef03c9ff7 fix test 2024-03-17 18:33:57 +09:00
a084e86033 giving up differential input graph construction 2024-03-17 18:32:44 +09:00
e9142810cf cleanupのロジックを修正 2024-03-17 12:20:55 +09:00
44cecf2242 差分ビルド用の実装 2024-03-17 12:07:41 +09:00
09914f919b further cleanup 2024-03-17 10:46:23 +09:00
f4e48610a3 Remove unused impl and apply lint 2024-03-17 10:38:45 +09:00
460dd1b214 Now it works as expected 2024-03-17 02:38:38 +09:00
54bce5a5e4 WIP: switching to new architecture 2024-03-17 02:24:55 +09:00
85c3bd3d02 Merge branch 'develop' into feature/improve_convert_graph_impls 2024-03-16 11:56:56 +09:00
2c4af95885 fix build error in swift 5.10 2024-03-06 23:29:41 +09:00
ea0219e66e add failing case 2024-02-27 23:04:19 +09:00
cda10cc87e add more test cases 2024-02-27 01:48:14 +09:00