Commit Graph

368 Commits

Author SHA1 Message Date
Miwa
a39216b0d2 Merge branch 'develop' into feat/enhance-email-lookup 2025-02-09 02:45:31 +09:00
Miwa
5879613c4f Merge pull request #152 from ensan-hcl/fix/ci
feat: update to swift 6.0 to fix CI
2025-02-09 02:43:59 +09:00
Miwa / Ensan
8fe580c793 remove: redundant print 2025-02-09 02:32:02 +09:00
Miwa / Ensan
50c0f07877 change windows version into 6.0.3 2025-02-09 02:10:18 +09:00
Miwa / Ensan
de03a921e8 fix: minor 2025-02-09 02:04:35 +09:00
Miwa / Ensan
aa7ec778a6 feat: update devcontainer 2025-02-09 01:55:49 +09:00
Miwa / Ensan
0e4842c2bf feat: Swift 6.0 移行はこのあとにする 2025-02-09 01:46:11 +09:00
Miwa / Ensan
e94ecdc951 fix: fix build errors 2025-02-09 01:43:37 +09:00
Miwa / Ensan
362cfe653a feat: update to swift 6.0 2025-02-09 01:14:57 +09:00
Miwa
e5214c3d5c feat: Enhance email address conversion feature
Fixes #75

Enhance the email address conversion feature to filter suggestions based on partial domain inputs.

* Update `toEmailAddressCandidates` function in `Sources/KanaKanjiConverterModule/Converter/EmailAddress.swift` to filter suggestions based on the characters before '@'.
* Add logic to check if the input ends with '@' and filter the suggestions based on the characters before '@'.
* Generate suggestions for email domains that match the partial domain input.
* Add tests in `Tests/KanaKanjiConverterModuleTests/ConverterTests/EmailAddressConversionTests.swift` to verify the new filtering functionality for partial domain inputs like '@g' and '@y'.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/ensan-hcl/AzooKeyKanaKanjiConverter/issues/75?shareId=XXXX-XXXX-XXXX-XXXX).
2025-02-09 00:14:32 +09:00
Miwa
00375ba20a Merge pull request #150 from ensan-hcl/feat/zenz-v3
feat: support zenz-v3 and n-gram based personalization
2025-02-08 22:43:03 +09:00
Miwa / Ensan
f18dc75f6c optimize: do not calclate when alpha is zero 2025-02-08 22:42:11 +09:00
Miwa / Ensan
c6fa42fdfe fix: log(logprob) is ridiculous 2025-02-08 19:02:13 +09:00
Miwa / Ensan
36277064b4 feat: support N-gram based personalization 2025-02-08 18:57:04 +09:00
Miwa
b47aa2d90a Merge branch 'develop' into feat/zenz-v3 2025-02-06 23:03:07 +09:00
Miwa / Ensan
9142f3e493 support zenz-v3 2025-02-06 23:01:51 +09:00
Miwa
f095aac64f Merge pull request #149 from ensan-hcl/feat/evaluation_tools
impl for eval
2025-02-06 22:03:48 +09:00
Miwa
bb05da3924 Merge branch 'develop' into feat/evaluation_tools 2025-02-06 22:03:08 +09:00
Miwa / Ensan
4e3921cee2 impl for eval 2025-02-06 21:58:26 +09:00
Miwa
ea4093aa99 Merge pull request #148 from ensan-hcl/feat/code_cleanup
refactor: ソースコードの警告に対処
2024-12-01 12:27:04 +09:00
Miwa / Ensan
77d6f396cb fix: use shortend profile for complexity control 2024-12-01 12:04:47 +09:00
Miwa / Ensan
4ab9bb94d4 fix: resolve mutability-related warning 2024-12-01 12:04:27 +09:00
Miwa / Ensan
63ade4d6e9 feat: resolve -related warnings 2024-12-01 12:03:59 +09:00
Miwa
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
Miwa
254a8ca7db Merge pull request #147 from fkunn1326/ci/android
AndroidでのCIを修正
2024-11-02 14:12:46 +09:00
fkunn1326
3a8356da92 Ci android (#4)
* ci: change to swift bundle

* ci: remove branch limitations

* ci: fix variable name

* ci: fix maybe

* ci: guest to target

* ci: target

* ci: use swift 6.0.1?

* ci: integrate swift versions

* fix...?

* debug

* ci: setup swift

* ci: echo

* ci: arch

* ci: fix arch target

* ci: fix android abi

* ci: arch

* ci: clean
2024-11-02 09:18:08 +09:00
Miwa
01321ecca8 Merge pull request #145 from phoepsilonix/tools/linux_cli
Added 'objc' to the linker target of CliTool(Linux)
2024-10-13 22:12:46 +09:00
Masato TOYOSHIMA
db29ea2de1 Added 'objc' to the linker target of CliTool(Linux) #145
pr #145
Linuxにおいて、Link時にObjcのライブラリが見つからないエラーが出るため、swift build,swift testが失敗します。
それを修正するものです。

Ubuntuのclang-15環境では問題がないようです。
Arch系のclang-18の環境でエラーが出ています。
Ubuntuのclang-15だと-lobjcはエラーになるようです。
なおAndroidでも、-lobjcはエラーになるとのことでした。
そもそも、objective-c環境がない方が、Linuxには多いと思います。
Anrdoid以外のLinuxにおいて、ダミーのファイルをclangにコンパイルさせ、-lobjcオプションが有効かどうかを判断させます。この処理を加えることで、clangなどのバージョンに関係なく、判別できるかと思います。
```sh
swift build -Xswiftc -strict-concurrency=complete -Xcxx -xobjective-c++ -v
```
```
error: link command failed with exit code 1 (use -v to see invocation)
AzooKeyKanaKanjiConverter/.build/x86_64-unknown-linux-gnu/release/llama.build/llama.cpp.o:llama.cpp:DW.ref.__gnu_objc_personality_v0:(.data.DW.ref.__gnu_objc_personality_v0+0x0): error: undefined reference to '__gnu_objc_personality_v0'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[2/3] Linking CliTool
```
2024-10-13 05:09:11 +09:00
fkunn1326
96e8f37a01 CI: Androidのビルドサポートを追加 (#142)
* ci: change swift version to stable

* ci: change trigger for test

* revert changes

* ci: fix version

* ci: change display text from branch to tag

* a

* ci

* fix trigger

* fix

* fix for android (use float func)

* ci: heckout with submodules

* ci: remove unneccesary files

* ふぃふぃふぃ

* ci: copy neccesary files

* ci: fix for arm build

* ci: arm

* nn>

* a

* tree

* cp -r

* haaa?

* ci: 大文字と小文字

* ci: re

* ci: copy resource folder

* ci: change path

* ci: default dictionary

* ci: こうか?

* ci: revert changes

* ci: clean workflow

* fix

* n

* a

* ci: incorporate jobs

* fix variable

* fix path

* ci: incorporate android actions to swift.yml

* fix

* ci: fix yaml syntax error

* ci: fix syntax error?

* ci: format

* ci: use valid yml

* ci: use release tag instead of latest tag

* ci: cache

* ci: build llama on android?

* ci: add header include path

* a

* a

* hensu

* fix: llama mock

* uninclude llama

* change os(android) to canimport(andoid)

* a

* remove linux

* a

* n

* ci: check with env value

* fix LLAMA_MOCK

* Update .gitignore
2024-09-30 22:13:01 +09:00
Miwa
36a73c135d Merge pull request #140 from ensan-hcl/refactor/ergonomic_error_message
refactor: ファイルが読み込めなかった際のエラーメッセージを改善し、深刻であるのかをわかりやすくした
2024-09-29 16:32:02 +09:00
Miwa / Ensan
378c9eb2f3 refactor: ファイルが読み込めなかった際のエラーメッセージを改善し、深刻であるのかをわかりやすくした 2024-09-29 15:58:57 +09:00
Miwa
552d6d803b Merge pull request #139 from ensan-hcl/fix/incremental_dynamic_user_dictionary
fix: dynamic user dictionaryがgetLOUDSDataで効かない問題を修正
2024-09-28 18:38:05 +09:00
Miwa / Ensan
d32b90581e fix: dynamic user dictionaryがgetLOUDSDataで効かない問題を修正 2024-09-28 18:14:29 +09:00
Miwa
38cfe74003 Merge pull request #136 from ensan-hcl/fix/enable_user_dictionary_wo_zenzai
fix: Zenzaiが無い状態でも動的ユーザ辞書を有効化
2024-09-28 18:04:59 +09:00
Miwa / Ensan
84dfb9fe97 fix: testコードでのエラーを修正 2024-09-28 17:35:21 +09:00
Miwa / Ensan
5916f3450a Merge branch 'develop' into fix/enable_user_dictionary_wo_zenzai 2024-09-28 17:27:51 +09:00
Miwa
753bcf6c73 Merge pull request #137 from ensan-hcl/fix/swift6_build_errors
fix: Concurrency周りのビルドエラー
2024-09-28 17:27:27 +09:00
Miwa / Ensan
6d482abdca fix: build errors in CliTools 2024-09-28 17:06:41 +09:00
Miwa / Ensan
0f488d987c fix: Zenzaiが無い状態でもユーザ辞書を有効化 2024-09-28 16:57:47 +09:00
Miwa
6e5c08215c Merge pull request #134 from ensan-hcl/fix/xn
fix: xn→ん の変換が n+子音→ん+子音 の挙動で上書きされてしまう問題を修正
2024-09-22 11:16:09 +09:00
Miwa / Ensan
fa65be47a3 fix: xn→ん の変換が n+子音→ん+子音 の挙動で上書きされてしまう問題を修正 2024-09-22 10:09:56 +09:00
Miwa
8cf7aabf63 feat: Zenzaiでユーザ辞書を有効化 (#132)
* feat: add 'isFromUserDictionary' attribute

* fix: support dynamic user dict

* feat: ユーザ辞書機能を有効化

* feat: evaluate commandを修正

* fix: avoid using 'consume'

* fix: logic error which damages accuracy

* chore: minor prompt engineering
2024-09-22 01:31:35 +09:00
Miwa
88414a2ace Merge pull request #133 from ensan-hcl/fix/install_script
fix: Xcode 16以降でZenzai対応ビルドができなくなっていた問題を修正
2024-09-22 00:26:41 +09:00
Miwa / Ensan
6854c5b022 fix: add build command for xcode 16+ 2024-09-22 00:26:08 +09:00
Miwa
49304e9cff Merge pull request #131 from ensan-hcl/docs/update_zenzai_document
docs: Zenzaiに関する記述を更新
2024-09-21 13:54:46 +09:00
ensan-hcl
52144affe2 docs: add zenzai 2024-09-21 13:30:42 +09:00
Miwa
bab70ac150 Merge pull request #130 from ensan-hcl/fix/disable_typo_correction
fix: typo correctionの無効化に関して、条件分岐を逆に指定したミスを修正
2024-09-15 00:55:06 +09:00
Miwa / Ensan
9f8735a1ae fix: 条件が逆だった問題を修正 2024-09-15 00:53:11 +09:00
Miwa
b909d9783b Merge pull request #129 from ensan-hcl/fix/dakuten
fix: 濁点の処理修正PRで存在していた実装の漏れを修正
2024-09-15 00:42:12 +09:00
Miwa / Ensan
8e4579dfb3 fix: 実装の漏れを修正 2024-09-15 00:34:52 +09:00