1 Star 1 Fork 1

lightjake/pyltp

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
CMakeLists.txt 620 Bytes
Copy Edit Raw Blame History
cmake_minimum_required(VERSION 2.8.12)
project(pyltp)
set(PYBIND11_CPP_STANDARD -std=c++14)
add_subdirectory(pybind11)
add_subdirectory(ltp)
add_library(pyltp MODULE src/pyltp.cpp)
target_link_libraries(
pyltp PRIVATE
pybind11::module
ner_static_lib
parser_static_lib
postagger_static_lib
segmentor_static_lib
splitsnt_static_lib
srl_static_lib
)
target_include_directories(
pyltp PRIVATE
ltp/include
)
set_target_properties(
pyltp
PROPERTIES PREFIX "${PYTHON_MODULE_PREFIX}"
SUFFIX "${PYTHON_MODULE_EXTENSION}"
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lightjake/pyltp.git
git@gitee.com:lightjake/pyltp.git
lightjake
pyltp
pyltp
master

Search