fast-xinci:新词发现 Chinese New Words Finder (c++ library)

时间:2021-05-10 19:00:52
【文件属性】:
文件名称:fast-xinci:新词发现 Chinese New Words Finder (c++ library)
文件大小:980KB
文件格式:ZIP
更新时间:2021-05-10 19:00:52
nlp C++ 目录 介绍 fast-xinci是一个用于中文新词发现的C ++库。 另请参阅Python包 还在嫌Python包速度不都快吗?C ++版新词发现算法来啦,赶快来star吧! 要求 通常, fast-xinci建立在现代Mac OS和Linux发行版上。 由于它使用了某些C ++ 11功能,因此需要具有良好C ++ 11支持的编译器。 这些包括 : (g ++-4.7.2或更高版本)或(clang-3.3或更高版本) CMake的版本至少为2.8.9。 建设快新词 $ git clone https://github.com/Lapis-Hong/fast-xinci.git $ cd fast-xinci $ mkdir build && cd build && cmake .. $ make 这将创建快速更新二进制文件以及所有相关的库(共享的,静态的,PIC)。 例子 该库有两个主
【文件预览】:
fast-xinci-master
----common.dic(1.52MB)
----test.txt(112KB)
----src()
--------dictionary.h(405B)
--------selector.cpp(751B)
--------indexer.cpp(1KB)
--------args.h(664B)
--------utils.cpp(424B)
--------args.cpp(6KB)
--------model.cpp(2KB)
--------dictionary.cpp(724B)
--------indexer.h(611B)
--------extractor.cpp(3KB)
--------main.cpp(1KB)
--------utils.h(397B)
--------model.h(603B)
--------selector.h(487B)
--------extractor.h(754B)
----.gitignore(283B)
----CMakeLists.txt(569B)
----README.md(2KB)

网友评论