Commit Graph

383 Commits

Author SHA1 Message Date
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
Miwa
be6b18e7a4 Merge pull request #178 from azooKey/dependabot/submodules/Sources/KanaKanjiConverterModuleWithDefaultDictionary/azooKey_dictionary_storage-cb41cee
build(deps): bump Sources/KanaKanjiConverterModuleWithDefaultDictionary/azooKey_dictionary_storage from `b05798b` to `cb41cee`
2025-05-20 22:40:56 +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
c0d5e46b47 Merge pull request #177 from azooKey/feat/azooKey_dictionary_builder_integration
feat: azooKey_dictionary_builderの機能をCliToolに統合
2025-05-04 14:53:38 +09:00
Miwa / Ensan
cf47927ed9 feat: azooKey_dictionary_builderの機能をCliToolに統合 2025-05-04 12:45:30 +09:00
Miwa
5f2717ac4d Merge pull request #176 from azooKey/feat/stable_release
feat: use versioning for dependencies
2025-04-26 17:01:32 +09:00
Miwa / Ensan
30d170f710 feat: use versioning for dependencies 2025-04-26 16:50:03 +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
66a341b7e6 Merge pull request #173 from azooKey/docs/cli
feat: ancoのインストールスクリプトとドキュメントを更新
2025-04-13 18:00:21 +09:00
Miwa / Ensan
64551982ad docs: update API description 2025-04-13 17:27:27 +09:00
Miwa / Ensan
5aebb7872e feat: update install_cli.sh to support --zenzai and improve stability 2025-04-13 17:27:12 +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
3a4e914624 Merge pull request #171 from azooKey/ensan-hcl/feat/add_time_expression
feat: Add time expression conversion function
2025-03-30 17:32:07 +09:00
Miwa / Ensan
eb040124e7 fix: add more test cases 2025-03-30 17:20:07 +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
e8f9eb2f80 Update testConvertToTimeExpression to use await for KanaKanjiConverter initialization
* Change `let converter = KanaKanjiConverter()` to `let converter = await KanaKanjiConverter()`
2025-03-30 16:58:10 +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
19dbbccd9f Add test cases for convertToTimeExpression function
* **Test cases**
  - Create `KanaKanjiConverter` instance
  - Use `makeDirectInput` to create `ComposingText` instances for test cases
  - Call `convertToTimeExpression` function with different inputs
  - Verify the results using `XCTAssertEqual` and `XCTAssertTrue`

* **Helper function**
  - Add `makeDirectInput(direct input: String) -> ComposingText` helper function

* **Concurrency**
  - Use `await` for the call of `convertToTimeExpression`
  - Call `convertToTimeExpression` outside of XCTest function
2025-03-30 16:55:34 +09:00
Miwa
65ac2fa3aa Update testConvertToTimeExpression function to use await for convertToTimeExpression calls
* Ensure `convertToTimeExpression` function is called asynchronously in all test cases
2025-03-30 16:48:17 +09:00
Miwa
ac8dfc8dc3 Update test cases for current convertToTimeExpression signature
* Add makeDirectInput function to create ComposingText instances
* Update testConvertToTimeExpression to use makeDirectInput for input conversion
2025-03-30 16:44:45 +09:00
Miwa
3b6d63c8d3 Add async/await to test functions in TimeExpressionTests.swift
* **testConvertToTimeExpression**
  - Change function signature to `async throws`
  - Initialize `KanaKanjiConverter` with `await`

* **testToTimeExpressionCandidates**
  - Change function signature to `async throws`
  - Initialize `KanaKanjiConverter` with `await`
2025-03-30 16:38:22 +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
271222a82a Merge pull request #169 from azooKey/perf/prediction_acceleration
perf: 予測変換候補の検索において早期に打ち切ることで高速化
2025-03-16 15:40:27 +09:00
Miwa / Ensan
1409575391 perf: 予測変換候補の検索において早期に打ち切ることで高速化 2025-03-16 15:30:23 +09:00
Miwa
42fdba530f Merge pull request #168 from azooKey/feat/swift_tools_version
feat: use swift-tools-version 6.0
2025-03-16 14:57:25 +09:00
Miwa / Ensan
d34915096d feat: use swift-tools-version 6.0 2025-03-16 14:43:05 +09:00
fkunn1326
a9f568ddd3 ci: devcontainerをサポート 2025-03-16 09:08:47 +09:00
fkunn1326
a2e6e4208d ci: fix for android build 2025-03-16 08:51:37 +09:00
fkunn1326
bd407171f8 Merge branch 'develop' into latest_llama 2025-03-16 08:49:15 +09:00
fkunn1326
d8a6b3b715 ci: build for release 2025-03-16 08:44:31 +09:00
fkunn1326
22dad49075 ci: copy needed files to build directory 2025-03-16 08:41:11 +09:00
fkunn1326
915e71b79f ci: linuxでのビルドを修正 2025-03-16 08:33:39 +09:00
fkunn1326
121cdd705c ci: fix path 2025-03-16 08:08:15 +09:00
fkunn1326
c805f22ec9 ci: support llama.cpp on windows / linux 2025-03-16 08:05:54 +09:00
Miwa
5423dfe59b Merge pull request #165 from azooKey/fix/minimum_ios_version
fix: set minimum version of iOS to v16
2025-03-15 18:59:29 +09:00
Miwa
1e0bf846cd fix: set minimum version of iOS to v16 2025-03-15 18:52:27 +09:00
Miwa
c6a9812549 Merge pull request #164 from azooKey/refactor/remove_graph_based_conversion
refactor: clear Graph-based input impls
2025-03-08 23:08:46 +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
fkunn1326
79b5a6a785 ci: macOSの依存関係を変更 2025-03-08 19:53:01 +09:00
ensan-hcl
ebaa31721c refactor: clear Graph-based input impls 2025-03-08 18:17:21 +09:00
Miwa
35b708997b Merge pull request #161 from azooKey/feat/fyu
feat: ローマ字入力中、fyu→ふゅ、を追加
2025-03-08 17:05:52 +09:00