Commit Graph

193 Commits

Author SHA1 Message Date
Miwa / Ensan
543f6d93be feat: enable InternalImportsByDefault feature flag 2025-06-15 19:30:51 +09:00
Miwa / Ensan
4d4e54691c feat: enable MemberImportVisibility feature for future compatibility 2025-06-15 19:15:35 +09:00
Miwa / Ensan
f52c3814f1 fix: getWiseData関連の実装を修正し、bya→ビャなどの変換を適切に表示 2025-06-14 19:38:18 +09:00
Miwa / Ensan
dc4b0780df feat: update LearningManager to avoid accidentally depends on non-updated default options 2025-06-12 23:11:14 +09:00
dependabot[bot]
3a97952f6c build(deps): bump Sources/KanaKanjiConverterModuleWithDefaultDictionary/azooKey_dictionary_storage
Bumps [Sources/KanaKanjiConverterModuleWithDefaultDictionary/azooKey_dictionary_storage](https://github.com/ensan-hcl/azooKey_dictionary_storage) from `dd6ffab` to `7ed1c6b`.
- [Release notes](https://github.com/ensan-hcl/azooKey_dictionary_storage/releases)
- [Commits](dd6ffab8f1...7ed1c6b3e3)

---
updated-dependencies:
- dependency-name: Sources/KanaKanjiConverterModuleWithDefaultDictionary/azooKey_dictionary_storage
  dependency-version: 7ed1c6b3e361e9f453d23beefa344422f4027eb1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-04 07:01:10 +00:00
Miwa / Ensan
5b4f901d02 fix: broken when memory is enabled 2025-06-04 01:24:35 +09:00
Miwa
2b07b7e4c4 Update Sources/KanaKanjiConverterModule/DicdataStore/LearningMemory.swift
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-02 22:36:55 +09:00
Miwa / Ensan
2569d8475e fix: forget memoryの実装を「粗い」チェックに変更し、表層形の一致のみで判断するようにした 2025-06-02 22:32:17 +09:00
Miwa / Ensan
7af6d81ef6 feat: add forget memory test 2025-06-01 21:39:33 +09:00
Miwa / Ensan
53cb1e3b41 fix: update tests 2025-06-01 21:02:27 +09:00
Miwa / Ensan
750d9f87e4 fix: fix failed tests and update for clarity 2025-06-01 20:31:36 +09:00
Miwa
96b0bcce53 Merge branch 'develop' into codex/modify-learningmanager.init-and-add-error-handling 2025-06-01 20:26:39 +09:00
Miwa / Ensan
6d49f67164 feat: --readonly_memory optionを追加し、外部の学習データを用いたデバッグを実行可能にした 2025-06-01 18:41:34 +09:00
Miwa / Ensan
db76b988fd fix: setup時に必ずメモリーをリセットしてからロードするように変更 2025-06-01 18:40:49 +09:00
Miwa
7607f91d04 Merge pull request #182 from azooKey/dependabot/submodules/Sources/KanaKanjiConverterModuleWithDefaultDictionary/azooKey_dictionary_storage-dd6ffab
build(deps): bump Sources/KanaKanjiConverterModuleWithDefaultDictionary/azooKey_dictionary_storage from `cb41cee` to `dd6ffab`
2025-05-31 19:48:26 +09:00
Miwa
5a4b3e728e test: verify pause file recovery 2025-05-25 19:36:11 +09:00
Miwa
5e58458895 Add comma separated number special candidate 2025-05-25 18:40:18 +09:00
Miwa
987baa30c3 Merge pull request #183 from azooKey/feat/special_candidate_providers
feat: 特殊な変換のプロトコルを定め、外から挿入できるようにした
2025-05-25 18:28:45 +09:00
Miwa / Ensan
fcc6219484 feat: 特殊な変換のプロトコルを定め、外から挿入できるようにした 2025-05-25 18:20:08 +09:00
dependabot[bot]
15fe1ab166 build(deps): bump Sources/KanaKanjiConverterModuleWithDefaultDictionary/azooKey_dictionary_storage
Bumps [Sources/KanaKanjiConverterModuleWithDefaultDictionary/azooKey_dictionary_storage](https://github.com/ensan-hcl/azooKey_dictionary_storage) from `cb41cee` to `dd6ffab`.
- [Release notes](https://github.com/ensan-hcl/azooKey_dictionary_storage/releases)
- [Commits](cb41ceeb78...dd6ffab8f1)

---
updated-dependencies:
- dependency-name: Sources/KanaKanjiConverterModuleWithDefaultDictionary/azooKey_dictionary_storage
  dependency-version: dd6ffab8f11e789d30e84117577639b6797c517e
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-22 06:45:43 +00:00
Miwa
8f7819b6d8 Merge pull request #179 from azooKey/feat/azooKey_dictionary_builder_integration
feat: update dictionary setting
2025-05-22 01:38:46 +09:00
Miwa / Ensan
7e8f7cf253 feat: update 2025-05-22 01:07:13 +09:00
dependabot[bot]
14a7588b92 build(deps): bump Sources/KanaKanjiConverterModuleWithDefaultDictionary/azooKey_dictionary_storage
Bumps [Sources/KanaKanjiConverterModuleWithDefaultDictionary/azooKey_dictionary_storage](https://github.com/ensan-hcl/azooKey_dictionary_storage) from `b05798b` to `cb41cee`.
- [Release notes](https://github.com/ensan-hcl/azooKey_dictionary_storage/releases)
- [Commits](b05798b436...cb41ceeb78)

---
updated-dependencies:
- dependency-name: Sources/KanaKanjiConverterModuleWithDefaultDictionary/azooKey_dictionary_storage
  dependency-version: cb41ceeb78cb49ac90f5f4cd227ec4a6f3ded566
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-14 06:13:30 +00:00
Miwa / Ensan
cf47927ed9 feat: azooKey_dictionary_builderの機能をCliToolに統合 2025-05-04 12:45:30 +09:00
Miwa
9c6e30e8b0 Merge pull request #174 from azooKey/feat/update_emoji16.0
feat: use emoji 16.0
2025-04-25 00:19:16 +09:00
ensan-hcl
db1d2023ca feat: add test and update 2025-04-19 18:30:01 +09:00
ensan-hcl
786f5feab3 feat: use emoji 16.0 2025-04-19 18:22:28 +09:00
Miwa
2cde22d3e2 feat: introduce package traits of Swift 6.1 (#172)
* feat: introduce package traits of Swift 6.1

* fix: CI

* fix: android toolchain install script

* fix: ci for windows

* chore: add debug dump of sdk list

* fix: update devcontainer swift image

* fix?

* chore: remove LLAMA_MOCK=1 since it is no longer required

* chore: add debug print of configuration

* fix: typo

* chore: use signed xcframework of azooKey/llama.cpp

* chore: use updated xcframework

* chore: use updated xcframework

* chore: use updated xcframework

* chore: use updated xcframework

* chore: use updated xcframework

* docs: add usage of Zenzai trait
2025-04-06 17:49:14 +09:00
Miwa
858416289f Update digit check in convertToTimeExpression function
* Check if characters are ASCII digits instead of just digits
2025-03-30 17:09:02 +09:00
Miwa
a9971e6909 Add digit check to convertToTimeExpression function
* Check if all characters in the input string are digits before processing
* Return an empty array if the input string contains non-digit characters
2025-03-30 17:05:48 +09:00
Miwa
38b84fe3e8 Add convertToTimeExpression function to convert numbers into time expressions
* Add logic to handle 3-digit and 4-digit numbers
* Check if the number is 3 digits with the first digit between 0-9 and the last two digits between 00-60
* Check if the number is 4 digits with the first two digits between 00-24 and the last two digits between 00-59
* Convert the number into a time expression in the format 'HH:MM' if conditions are met
2025-03-30 17:04:30 +09:00
Miwa
feb5daa5bb Update convertToTimeExpression function to handle edge cases and correct time validation
* **TimeExpression.swift**
  - Change the validation for 3-digit numbers to allow last two digits between 00-59.
  - Change the validation for 4-digit numbers to allow first two digits between 00-24 and last two digits between 00-59.

* **TimeExpressionTests.swift**
  - Update test cases to reflect the new validation rules.
  - Change test input "1360" to "2440" and update expected results accordingly.
  - Update assertions for the modified test cases.
2025-03-30 16:57:46 +09:00
Miwa
ff8c38f76c Update KanaKanjiConverter to handle time expression conversion
* Rename `toTimeExpressionCandidates` function to `convertToTimeExpression`
* Remove `toTimeExpressionCandidates` function and integrate its logic into `convertToTimeExpression`
* Call `convertToTimeExpression` function in `getWiseCandidate` function
2025-03-30 16:35:31 +09:00
Miwa
ad580d5214 feat: Add time expression conversion function
Fixes #170

Add functionality to convert 3-digit and 4-digit numbers into time expressions in the format 'HH:MM'.

* Add `convertToTimeExpression` function in `Sources/KanaKanjiConverterModule/Converter/TimeExpression.swift` to handle the conversion.
* Modify `Sources/KanaKanjiConverterModule/Converter/KanaKanjiConverter.swift` to include the new function and call it within `getWiseCandidate`.
* Add tests in `Tests/KanaKanjiConverterModuleTests/ConverterTests/TimeExpressionTests.swift` to ensure the new function works correctly.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/azooKey/AzooKeyKanaKanjiConverter/issues/170?shareId=XXXX-XXXX-XXXX-XXXX).
2025-03-30 16:32:25 +09:00
Miwa
7d5dd99fd7 Merge pull request #157 from fkunn1326/latest_llama
feat: 最新のllama.cppに対応
2025-03-18 23:03:14 +09:00
Miwa / Ensan
1409575391 perf: 予測変換候補の検索において早期に打ち切ることで高速化 2025-03-16 15:30:23 +09:00
fkunn1326
bd407171f8 Merge branch 'develop' into latest_llama 2025-03-16 08:49:15 +09:00
fkunn1326
a164294c19 ci: llama-mockの抜けを修正 2025-03-08 20:10:58 +09:00
fkunn1326
b5765163fe ci: llama-mockを更新 2025-03-08 19:59:17 +09:00
Miwa
35b708997b Merge pull request #161 from azooKey/feat/fyu
feat: ローマ字入力中、fyu→ふゅ、を追加
2025-03-08 17:05:52 +09:00
Miwa
da09c69f04 Merge pull request #160 from azooKey/feat/session_command_replay
feat: sessionコマンドにdump/replayの機能を追加
2025-03-08 17:05:34 +09:00
ensan-hcl
f56ece1517 fyu→ふゅ、を追加 2025-03-08 16:00:30 +09:00
ensan-hcl
c240dec854 feat: sessionコマンドにdump/replayの機能を追加 2025-03-08 15:54:12 +09:00
ensan-hcl
99625951c7 fix: 前方文脈に半角スペースが入ると変換が不安定になっていた問題を修正 2025-03-08 15:52:13 +09:00
fkunn1326
6bb5d2d49f fix: accept suggestions 2025-03-06 18:37:29 +09:00
fkunn1326
d0397c62ca refactor: キャッシュしたデータをDicdataStoreに保持するように 2025-02-27 07:10:44 +09:00
fkunn1326
39b90389da perf: file I/Oでの遅延をなくすために、事前にキャッシュできるように 2025-02-26 20:24:27 +09:00
fkunn1326
d49fb598fe feat: 最新のllama.cppに対応 2025-02-26 15:52:18 +09:00
Miwa
24f506b5b5 feat: ngramの学習のresume処理を実装 (#156)
* feat: ngramの学習のresume処理を実装

* fix: mock signature for Android
2025-02-13 16:29:25 +09:00
fkunn1326
c307efa527 fix: Windows用のワークアラウンド (https://github.com/azooKey/AzooKeyKanaKanjiConverter/pull/122) を削除 (#154)
Swiftのアップデートで挙動が修正されたため
2025-02-11 18:16:52 +09:00