0%

Linux 编译ltp4j和neoltp4j

编译ltp4j

1
2
3
4
5
6
7
8
9
10
11
12
13
git clone https://github.com/HIT-SCIR/ltp4j.git
cd ltp4j/
git submodule init
git submodule update
cd ltp/
git checkout master
sh configure
make
cd ..
cmake -DLTP_HOME="$PWD"/ltp/ .
make
ant
export LD_LIBRARY_PATH=LD_LIBRARY_PATH:"$PWD"/libs:"$PWD"/ltp/lib

编译neoltp4j

1
2
3
4
5
6
git clone https://github.com/HIT-SCIR/ltp4j.git
cd ltp4j
git checkout neoltp4j
git submodule init
git submodule update
mvn