This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commit d284593 committed Feb 18, 2025 · 1 / 1
1 parent 3fd9a4b commit d284593 Copy full SHA for d284593
File tree 12 files changed +280
-72
lines changed
12 files changed +280
-72
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1
- // CSharpened and further development by (c) 2022 and onwards The vChewing Project (MIT License).
2
- // Was initially rebranded from (c) Lukhnos Liu's C++ library "Gramambular 2" (MIT License).
3
- // Walking algorithm (Dijkstra) implemented by (c) 2025 and onwards The vChewing Project (MIT License).
1
+ // (c) 2023 and onwards The vChewing Project (LGPL v3.0 License or later).
4
2
// ====================
5
- // This code is released under the MIT license ( SPDX-License-Identifier: MIT)
3
+ // This code is released under the SPDX-License-Identifier: `LGPL-3.0-or-later`.
6
4
7
5
using System ;
8
6
using System . Collections . Generic ;
Original file line number Diff line number Diff line change 1
- // CSharpened and further development by (c) 2022 and onwards The vChewing Project (MIT License).
2
- // Was initially rebranded from (c) Lukhnos Liu's C++ library "Gramambular 2" (MIT License).
3
- // Walking algorithm (Dijkstra) implemented by (c) 2025 and onwards The vChewing Project (MIT License).
1
+ // (c) 2023 and onwards The vChewing Project (LGPL v3.0 License or later).
4
2
// ====================
5
- // This code is released under the MIT license ( SPDX-License-Identifier: MIT)
3
+ // This code is released under the SPDX-License-Identifier: `LGPL-3.0-or-later`.
6
4
7
5
using System . Collections . Generic ;
8
6
using System . Linq ;
Original file line number Diff line number Diff line change 1
- // CSharpened and further development by (c) 2022 and onwards The vChewing Project (MIT License).
2
- // Was initially rebranded from (c) Lukhnos Liu's C++ library "Gramambular 2" (MIT License).
3
- // Walking algorithm (Dijkstra) implemented by (c) 2025 and onwards The vChewing Project (MIT License).
1
+ // (c) 2023 and onwards The vChewing Project (LGPL v3.0 License or later).
4
2
// ====================
5
- // This code is released under the MIT license ( SPDX-License-Identifier: MIT)
3
+ // This code is released under the SPDX-License-Identifier: `LGPL-3.0-or-later`.
6
4
7
5
#pragma warning disable CS1591
8
6
Original file line number Diff line number Diff line change 1
- // CSharpened and further development by (c) 2022 and onwards The vChewing Project (MIT License).
2
- // Was initially rebranded from (c) Lukhnos Liu's C++ library "Gramambular 2" (MIT License).
3
- // Walking algorithm (Dijkstra) implemented by (c) 2025 and onwards The vChewing Project (MIT License).
1
+ // (c) 2023 and onwards The vChewing Project (LGPL v3.0 License or later).
4
2
// ====================
5
- // This code is released under the MIT license ( SPDX-License-Identifier: MIT)
3
+ // This code is released under the SPDX-License-Identifier: `LGPL-3.0-or-later`.
6
4
7
5
using System ;
8
6
using System . Collections . Generic ;
Original file line number Diff line number Diff line change 1
- // CSharpened and further development by (c) 2022 and onwards The vChewing Project (MIT License).
2
- // Was initially rebranded from (c) Lukhnos Liu's C++ library "Gramambular 2" (MIT License).
3
- // Walking algorithm (Dijkstra) implemented by (c) 2025 and onwards The vChewing Project (MIT License).
1
+ // (c) 2023 and onwards The vChewing Project (LGPL v3.0 License or later).
4
2
// ====================
5
- // This code is released under the MIT license ( SPDX-License-Identifier: MIT)
3
+ // This code is released under the SPDX-License-Identifier: `LGPL-3.0-or-later`.
6
4
7
5
using System ;
8
6
using System . Collections . Generic ;
Original file line number Diff line number Diff line change 1
- // CSharpened and further development by (c) 2022 and onwards The vChewing Project (MIT License).
2
- // Was initially rebranded from (c) Lukhnos Liu's C++ library "Gramambular 2" (MIT License).
3
- // Walking algorithm (Dijkstra) implemented by (c) 2025 and onwards The vChewing Project (MIT License).
1
+ // (c) 2023 and onwards The vChewing Project (LGPL v3.0 License or later).
4
2
// ====================
5
- // This code is released under the MIT license ( SPDX-License-Identifier: MIT)
3
+ // This code is released under the SPDX-License-Identifier: `LGPL-3.0-or-later`.
6
4
7
5
using System ;
8
6
using System . Collections . Generic ;
Original file line number Diff line number Diff line change 1
- // CSharpened and further development by (c) 2022 and onwards The vChewing Project (MIT License).
2
- // Was initially rebranded from (c) Lukhnos Liu's C++ library "Gramambular 2" (MIT License).
3
- // Walking algorithm (Dijkstra) implemented by (c) 2025 and onwards The vChewing Project (MIT License).
1
+ // (c) 2023 and onwards The vChewing Project (LGPL v3.0 License or later).
4
2
// ====================
5
- // This code is released under the MIT license ( SPDX-License-Identifier: MIT)
3
+ // This code is released under the SPDX-License-Identifier: `LGPL-3.0-or-later`.
6
4
7
5
using System ;
8
6
using System . Collections . Generic ;
Original file line number Diff line number Diff line change 1
- // CSharpened and further development by (c) 2022 and onwards The vChewing Project (MIT License).
2
- // Was initially rebranded from (c) Lukhnos Liu's C++ library "Gramambular 2" (MIT License).
3
- // Walking algorithm (Dijkstra) implemented by (c) 2025 and onwards The vChewing Project (MIT License).
1
+ // (c) 2023 and onwards The vChewing Project (LGPL v3.0 License or later).
4
2
// ====================
5
- // This code is released under the MIT license ( SPDX-License-Identifier: MIT)
3
+ // This code is released under the SPDX-License-Identifier: `LGPL-3.0-or-later`.
6
4
7
5
using System ;
8
6
using System . Collections . Generic ;
Original file line number Diff line number Diff line change 1
- // CSharpened and further development by (c) 2022 and onwards The vChewing Project (MIT License).
2
- // Was initially rebranded from (c) Lukhnos Liu's C++ library "Gramambular 2" (MIT License).
3
- // Walking algorithm (Dijkstra) implemented by (c) 2025 and onwards The vChewing Project (MIT License).
1
+ // (c) 2023 and onwards The vChewing Project (LGPL v3.0 License or later).
4
2
// ====================
5
- // This code is released under the MIT license ( SPDX-License-Identifier: MIT)
3
+ // This code is released under the SPDX-License-Identifier: `LGPL-3.0-or-later`.
6
4
7
5
using System . Collections . Generic ;
8
6
Original file line number Diff line number Diff line change 1
- // CSharpened and further development by (c) 2022 and onwards The vChewing Project (MIT License).
2
- // Was initially rebranded from (c) Lukhnos Liu's C++ library "Gramambular 2" (MIT License).
3
- // Walking algorithm (Dijkstra) implemented by (c) 2025 and onwards The vChewing Project (MIT License).
1
+ // (c) 2023 and onwards The vChewing Project (LGPL v3.0 License or later).
4
2
// ====================
5
- // This code is released under the MIT license ( SPDX-License-Identifier: MIT)
3
+ // This code is released under the SPDX-License-Identifier: `LGPL-3.0-or-later`.
6
4
7
5
using System ;
8
6
using System . Collections . Generic ;
Original file line number Diff line number Diff line change 7
7
8
8
Megrez Engine is a module made for processing lingual data of an input method. This repository is part of Operation Longinus of The vChewing Project.
9
9
10
- 相關使用說明請參見 Swift 版的倉庫的 README.MD。函式用法完全一致。
11
-
12
- ## 與 Gramambular 2 的區別
13
-
14
- 敝專案一開始是 Gramambular 2 (Lukhnos Liu 著,MIT License) 的 C# 實作,但經歷了大量修改。主要區別如下:
10
+ ## 專案特色
15
11
16
12
- 原生 C# 實作,擁有完備的 .NET 6 支援、也可以用作任何新版 .NET 專案的相依套件(需使用者自行處理對跨執行緒安全性的需求)。
17
13
- API 經過重新設計,以陣列的形式處理輸入的 key。而且,在獲取候選字詞內容的時候,也可以徹底篩除橫跨游標的詞。
18
14
- 爬軌算法(Walking Algorithm)改為 Dijkstra 的算法,且經過效能最佳化處理、擁有比 DAG-Relax 算法更優的效能。
19
15
16
+ ## 使用說明
17
+
18
+ ` MegrezTests.cs ` 展示了詳細的使用方法。
19
+
20
20
## 著作權 (Credits)
21
21
22
- - CSharpened and further development by (c) 2022 and onwards The vChewing Project (MIT License).
23
- - Original Swift programmer: Shiki Suen
24
- - Was initially rebranded from (c) Lukhnos Liu's C++ library "Gramambular 2" (MIT License).
25
- - Walking algorithm (Dijkstra) implemented by (c) 2025 and onwards The vChewing Project (MIT License).
26
- - Original Swift programmer: Shiki Suen
22
+ - (c) 2022 and onwards The vChewing Project (LGPL v3.0 License or later).
27
23
- The unit tests utilizes certain contents extracted from libvchewing-data by (c) 2022 and onwards The vChewing Project (BSD-3-Clause).
24
+
25
+ 敝專案採雙授權發佈措施。除了 LGPLv3 以外,對商業使用者也提供不同的授權條款(比如允許閉源使用等)。詳情請[ 電郵聯絡作者] ( shikisuen@yeah.net ) 。
You can’t perform that action at this time.
0 commit comments