986 Commits

Author SHA1 Message Date
yanyiwu
9cda7f33e8 build: upgrade googletest from 1.11.0 to 1.12.1 2025-04-12 10:02:10 +08:00
Yanyi Wu
338603b676
Merge pull request #196 from ahmadov/ahmadov/fix-ns-2
avoid implicit namespaces
2025-04-11 08:59:41 +08:00
Elmi Ahmadov
d93dda397c avoid implicit namespaces
This PR fixes the ambigious `partial_sort` in KeywordExtractor.hpp.
We also have a definition for it and the compiler is consufed which
implementation should be used. To fix it, we can use the `std` namespace
explicitly.

Also, use the `std` namespace for the other data structures and include
their headers.
2025-04-10 19:10:05 +02:00
Yanyi Wu
7730deee52
Merge pull request #195 from ahmadov/ahmadov/fix-ns
fix missing includes and make namespaces explicit
2025-04-10 23:01:18 +08:00
Elmi Ahmadov
588860b5b6 fix missing includes and make namespaces explicit 2025-04-10 16:11:20 +02:00
Yanyi Wu
0523949aa8
Update stale-issues.yml 2025-04-05 17:26:58 +08:00
Yanyi Wu
b11fd29697
Update README.md 2025-03-08 17:33:48 +08:00
yanyiwu
15b8086a2a Add CMake workflow for Windows ARM64 builds
This commit introduces a new GitHub Actions workflow for building and testing CMake projects on Windows ARM64. The workflow includes steps for checking out the repository, configuring CMake with multiple C++ standards, building the project, and running tests. This enhancement supports continuous integration for ARM64 architecture, improving the project's build versatility.
2025-01-18 20:58:17 +08:00
yanyiwu
1d74caf705 Update CMake minimum version requirement to 3.10 2025-01-18 20:47:06 +08:00
Yanyi Wu
0c7c5228d0
Update README.md 2025-01-17 23:47:09 +08:00
yanyiwu
016fc17575 Improve error logging for UTF-8 decoding failures across cppjieba components. Updated error messages in DictTrie, PosTagger, PreFilter, and SegmentBase to provide clearer context on the specific input causing the failure. This change enhances the debugging experience when handling UTF-8 encoded strings. v5.4.1 2024-12-08 17:26:28 +08:00
yanyiwu
39fc58f081 Remove macOS 12 from CI workflow in cmake.yml 2024-12-08 17:03:39 +08:00
yanyiwu
42a93a4b98 Refactor decoding functions to use UTF-8 compliant methods
Updated multiple files to replace instances of DecodeRunesInString with DecodeUTF8RunesInString, ensuring proper handling of UTF-8 encoded strings. This change enhances the robustness of string decoding across the cppjieba library, including updates in DictTrie, HMMModel, PosTagger, PreFilter, SegmentBase, and Unicode files. Additionally, corresponding unit tests have been modified to reflect these changes.
2024-12-08 16:46:24 +08:00
yanyiwu
5ee74d788e [stale-isssues] Monthly on the 3rd day of the month at midnight 2024-11-03 17:22:28 +08:00
yanyiwu
9b45e084a3 v5.4.0 v5.4.0 2024-09-22 10:02:53 +08:00
yanyiwu
aa1def5ddb class Jiaba unittest add default argument input 2024-09-22 09:43:04 +08:00
yanyiwu
732812cdfb class Jieba: support default dictpath 2024-09-22 09:38:31 +08:00
yanyiwu
6e167a30dd cmake: avoid testing when FetchContent by other project 2024-09-22 00:25:23 +08:00
yanyiwu
5ef74f335a Revert "cmake: enable windows/msvc test"
This reverts commit 63392627552b018ea018848c82965c263b0030fa.
2024-09-21 23:58:59 +08:00
yanyiwu
6339262755 cmake: enable windows/msvc test 2024-09-21 21:49:56 +08:00
yanyiwu
cc58d4f858 DictTrie: removed unused var 2024-09-21 21:29:55 +08:00
yanyiwu
dbebc7cacb cmake: enable windows/msvc test 2024-09-21 21:10:53 +08:00
yanyiwu
e5b98af199 v5.3.2 v5.3.2 2024-09-21 20:45:46 +08:00
yanyiwu
e521f26456 removed test/demo.cpp and linked https://github.com/yanyiwu/cppjieba-demo 2024-09-21 17:26:19 +08:00
Yanyi Wu
30aaf7b9ad
Update Demo Link in README.md 2024-09-21 17:21:54 +08:00
yanyiwu
84bca4bc50 [github/actions] stale 1 year ago issues 2024-09-14 21:49:46 +08:00
yanyiwu
3c8663472b [github/actions] stale 3 years ago issues 2024-09-14 21:37:25 +08:00
yanyiwu
12341a2f21 [stale issues] Run weekly on Sunday at midnight 2024-09-11 21:41:15 +08:00
yanyiwu
165bee901c [github/actions] stale issues 2024-09-07 20:58:52 +08:00
yanyiwu
e691b631b2 limonp v0.9.0 -> v1.0.0 2024-09-07 17:21:59 +08:00
yanyiwu
31dfe0f9d0 v5.3.1 v5.3.1 2024-08-17 17:21:44 +08:00
yanyiwu
a110ab10cc [cmake] fetch googletest 2024-08-16 10:13:07 +08:00
yanyiwu
fe88bd29ac [submodules] rm test/googletest 2024-08-16 10:08:36 +08:00
yanyiwu
00c8f8fa84 v5.3.0 v5.3.0 2024-08-10 22:00:50 +08:00
yanyiwu
90174da597 [c++17,c++20] compatibility 2024-08-10 21:50:01 +08:00
yanyiwu
a7adc22a6e limonp version 0.6.7 -> 0.9.0 2024-08-10 21:47:27 +08:00
yanyiwu
30ab2c3860 v5.2.0 v5.2.0 2024-07-28 23:25:58 +08:00
yanyiwu
3748b56928 [README] platform updated 2024-07-28 23:18:53 +08:00
yanyiwu
79a235223d [CI] windows-[2019,2022] 2024-07-28 23:16:11 +08:00
yanyiwu
c39fd30f93 [googletest] v1.6.0->v1.10.0 2024-07-28 22:41:20 +08:00
yanyiwu
f4c87c2ff4 [CI] ubuntu version from 20 to 22, macos version from 12 to 14 2024-07-28 22:32:46 +08:00
yanyiwu
f8d063101c [CMake] mini_required 2.6->3.5 and fix CXX_VERSION variable passed from cmd 2024-07-27 19:24:57 +08:00
yanyiwu
732fec41e6 [CI] matrix and multi cpp version 2024-07-27 18:58:36 +08:00
yanyiwu
bc162dbd84 v5.1.3 v5.1.3 2024-07-22 22:53:53 +08:00
yanyiwu
8aad517375 git submodule add googletest-1.6.0 2024-07-22 22:36:45 +08:00
yanyiwu
4ec3204280 [Changelog] v5.1.2 v5.1.2 2024-07-16 07:27:24 +08:00
yanyiwu
c83c7111ab README fix typo 2024-07-15 22:56:01 +08:00
yanyiwu
e334fc2ce0 [submodule:deps/limonp] upgrade to v0.6.7 2024-07-14 22:58:39 +08:00
yanyiwu
bc90a8276e rm useless code 2024-07-14 09:47:34 +08:00
yanyiwu
4b2f257a6a README_EN.md is useless for AI-age 2024-07-14 00:09:49 +08:00