# Cppjieba **Repository Path**: xueyayang/cppjieba ## Basic Information - **Project Name**: Cppjieba - **Description**: "结巴"中文分词的C++版本 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 3 - **Created**: 2025-10-26 - **Last Updated**: 2025-10-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # CppJieba-fork 原项目在: https://gitee.com/mirrors/cppjieba ## 简介 This fork does nothing more than ​​add a single .cpp file and compile it into a .dll to provide simple APIs​​: init()and cut(char*), which ​​are​​ called from Lua hosted in Neovim. 此 fork 版本仅做了一件事:​​添加了一个 .cpp 文件并将其编译成 .dll,以提供简单的 API​​:init()和 cut(char*)。这些 API 由 [Neovim 内嵌的 Lua 调用](https://gitee.com/xueyayang/x_cmp_cn/tree/master)。 ### 编译 在 windows ```sh git clone https://github.com/yanyiwu/cppjieba.git cd cppjieba git submodule init git submodule update mkdir build cd build cmake .. cmake --build . --config Release cmake --install . --prefix C:\your\install\path\ ``` ## 使用示例 You should never need to compile, use, or test this project directly. The .dll has already been packaged into the Neovim plugin [x_cmp_cn](https://gitee.com/xueyayang/x_cmp_cn/tree/master). Only if you want to see what quick, dirty, brute, yet effective things I’ve done to this beautiful, holy, innocent, and neat library — and you want to do it again (rebuild the native binaries and bring in new power). 理论你不会有需要来直接编译、使用或测试此项目。 该 .dll 文件已经打包进 Neovim 插件 [x_cmp_cn](https://gitee.com/xueyayang/x_cmp_cn/tree/master)。 除非你想看看我对这个原本美丽、神圣、纯洁又整洁的库做了哪些迅速无礼粗暴有效的事 —— 并且你也想亲自再来一次(自己编译生成dll,注入新力量)。