forked from HIT-SCIR/ltp4j
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
179 lines (174 loc) · 6.77 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>edu.hit.ir.ltp4j</groupId>
<artifactId>ltp4j</artifactId>
<version>0.1.0-SNAPSHOT</version>
<packaging>nar</packaging>
<name>hitscir-ltp4j</name>
<description>Language Technology Platform for Java</description>
<url>http://github.com/HIT-SCIR/ltp4j</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<skipTests>true</skipTests>
</properties>
<licenses>
<license>
<name>The Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<distributionManagement>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
<repository>
<id>sonatype-nexus-staging</id>
<name>Nexus Release Repository</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.7</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<defaultGoal>install</defaultGoal>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.github.maven-nar</groupId>
<artifactId>nar-maven-plugin</artifactId>
<version>3.5.0</version>
<extensions>true</extensions>
<configuration>
<!--<linker>-->
<!--<libs>-->
<!--<lib>-->
<!--<name>boost_program_options</name>-->
<!--<type>static</type>-->
<!--<directory>src/main/c++/ltp/lib</directory>-->
<!--</lib>-->
<!--<lib>-->
<!--<name>boost_regex</name>-->
<!--<type>static</type>-->
<!--<directory>src/main/c++/ltp/lib</directory>-->
<!--</lib>-->
<!--<lib>-->
<!--<name>boost_serialization</name>-->
<!--<type>static</type>-->
<!--<directory>src/main/c++/ltp/lib</directory>-->
<!--</lib>-->
<!--<lib>-->
<!--<name>boost_smart_ptr</name>-->
<!--<type>static</type>-->
<!--<directory>src/main/c++/ltp/lib</directory>-->
<!--</lib>-->
<!--</libs>-->
<!--</linker>-->
<cpp>
<sourceDirectory>src/main/c++</sourceDirectory>
<excludes>
<exclude>ltp/examples/*</exclude>
<exclude>ltp/src/console/*</exclude>
<exclude>ltp/src/ltp/*</exclude>
<exclude>ltp/src/segmentor/io.cpp</exclude>
<exclude>ltp/src/segmentor/otcws.cpp</exclude>
<exclude>ltp/src/segmentor/segmentor_frontend.cpp</exclude>
<exclude>ltp/src/segmentor/customized_segmentor_frontend.cpp</exclude>
<exclude>ltp/src/postagger/io.cpp</exclude>
<exclude>ltp/src/postagger/otpos.cpp</exclude>
<exclude>ltp/src/postagger/postagger_frontend.cpp</exclude>
<exclude>ltp/src/ner/io.cpp</exclude>
<exclude>ltp/src/ner/otner.cpp</exclude>
<exclude>ltp/src/ner/ner_frontend.cpp</exclude>
<exclude>ltp/src/parser/*</exclude>
<exclude>ltp/src/parser.n/io.cpp</exclude>
<exclude>ltp/src/parser.n/main.cpp</exclude>
<exclude>ltp/src/parser.n/parser_frontend.cpp</exclude>
<exclude>ltp/src/srl/**/process/*</exclude>
<exclude>ltp/src/srl/*/pred.cpp</exclude>
<exclude>ltp/src/srl/*/train.cpp</exclude>
<exclude>ltp/src/srl/tool/merge.cpp</exclude>
<exclude>ltp/src/server/*</exclude>
<exclude>ltp/src/xml4nlp/*</exclude>
<exclude>ltp/src/unittest/*</exclude>
<exclude>ltp/thirdparty/eigen/unsupported/**/*</exclude>
<exclude>ltp/thirdparty/dynet/dynet/cuda.cc</exclude>
<exclude>ltp/thirdparty/tinyxml/*</exclude>
<exclude>ltp/thirdparty/tinythreadpp/*</exclude>
<exclude>ltp/thirdparty/maxent/train.cpp</exclude>
<exclude>ltp/thirdparty/maxent/predict.cpp</exclude>
<exclude>ltp/thirdparty/gtest/**/*</exclude>
</excludes>
<includePaths>
<path>src/main/c++/ltp/src</path>
<path>src/main/c++/ltp/src/srl</path>
<path>src/main/c++/ltp/src/srl/common</path>
<path>src/main/c++/ltp/src/srl/include</path>
<path>src/main/c++/ltp/src/utils</path>
<path>src/main/c++/ltp/thirdparty/boost/include</path>
<path>src/main/c++/ltp/thirdparty/maxent</path>
<path>src/main/c++/ltp/thirdparty/eigen</path>
<path>src/main/c++/ltp/thirdparty/dynet</path>
<path>src/main/c++/ltp/thirdparty/jsoncpp/include</path>
</includePaths>
<debug>false</debug>
<options>
<option>-std=c++0x</option>
<option>-w</option>
<option>-O2</option>
<!--<option>-Wall</option>
<option>-Wno-sign-conversion</option>
<option>-Wno-unused-variable</option>
<option>-Wno-conversion</option>
<option>-Wno-shorten-64-to-32</option>
<option>-Wno-reorder</option>-->
<!--<option>-v</option>-->
<!--<option>-Wno-unknown-pragmas</option>-->
</options>
</cpp>
<c>
<excludes>
<exclude>**/*</exclude>
</excludes>
</c>
<libraries>
<library>
<type>jni</type>
<narSystemPackage>edu.hit.ir.ltp4j</narSystemPackage>
<linkCPP>false</linkCPP>
</library>
</libraries>
<javah>
<includes>
<include></include>
</includes>
</javah>
<tests>
<test>
<name>Segmentor</name>
<name>Postagger</name>
<name>NER</name>
<name>Parser</name>
<name>SRL</name>
</test>
</tests>
</configuration>
</plugin>
</plugins>
</build>
</project>