Skip to content

Commit 7f72e7a

Browse files
committedApr 17, 2014
minor bug
1 parent 6cb8637 commit 7f72e7a

File tree

2 files changed

+15
-10
lines changed

2 files changed

+15
-10
lines changed
 

‎pom.xml

+10-5
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,9 @@
44
<groupId>es.ehu.si</groupId>
55
<artifactId>ixa.pipe.nerc</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.0</version>
7+
<version>1.0.0</version>
88
<name>ixa-pipe-nerc</name>
9-
<description>NERC tagger of IXA pipeline, a multilingual NLP pipeline.
10-
All models trained by the IXA NLP Group of the University of the
11-
Basque Country (ixa.si.ehu.es).
12-
</description>
9+
<description>NERC tagger of IXA pipeline, a multilingual NLP pipeline. All models trained by the IXA NLP Group of the University of the Basque Country (ixa.si.ehu.es).</description>
1310
<developers>
1411
<developer>
1512
<id>ragerri</id>
@@ -111,4 +108,12 @@
111108

112109
</plugins>
113110
</build>
111+
<organization>
112+
<url>ixa2.si.ehu.es/ixa-pipes</url>
113+
<name>IXA Pipeline</name>
114+
</organization>
115+
<scm>
116+
<url>https://github.com/ixa-ehu/ixa-pipe-nerc</url>
117+
<developerConnection>ragerri</developerConnection>
118+
</scm>
114119
</project>

‎src/main/java/es/ehu/si/ixa/pipe/nerc/CLI.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ public class CLI {
4545
* Argument parser instance.
4646
*/
4747
private ArgumentParser argParser = ArgumentParsers
48-
.newArgumentParser("ixa-pipe-nerc-1.0.jar")
48+
.newArgumentParser("ixa-pipe-nerc-$version.jar")
4949
.description(
50-
"ixa-pipe-nerc-1.0 is a multilingual NERC module developed by IXA NLP Group.\n");
50+
"ixa-pipe-nerc is a multilingual NERC module developed by IXA NLP Group.\n");
5151
/**
5252
* Sub parser instance.
5353
*/
@@ -118,7 +118,7 @@ public final void parseCLI(final String[] args) throws IOException {
118118
} catch (ArgumentParserException e) {
119119
argParser.handleError(e);
120120
System.out
121-
.println("Run java -jar target/ixa-pipe-nerc-1.0.jar (tag|train|eval) -help for details");
121+
.println("Run java -jar target/ixa-pipe-nerc-$version.jar (tag|train|eval) -help for details");
122122
System.exit(1);
123123
}
124124
}
@@ -267,7 +267,7 @@ private void loadAnnotateParameters() {
267267
.required(false)
268268
.help("Choose a language to perform annotation with ixa-pipe-nerc");
269269
annotateParser.addArgument("-f", "--features")
270-
.choices("opennlp", "baseline", "baseline2", "dictlbj")
270+
.choices("opennlp", "baseline","dictlbj")
271271
.required(false).setDefault("baseline")
272272
.help("Choose features for NERC; it defaults to baseline");
273273
annotateParser.addArgument("-m", "--model").required(false)
@@ -292,7 +292,7 @@ private void loadAnnotateParameters() {
292292
*/
293293
private void loadTrainingParameters() {
294294
trainParser.addArgument("-f", "--features")
295-
.choices("opennlp", "baseline", "baseline2", "dictlbj")
295+
.choices("opennlp", "baseline", "dictlbj")
296296
.required(true).help("Choose features to train NERC model");
297297
trainParser.addArgument("-p", "--params").required(true)
298298
.help("Load the parameters file");

0 commit comments

Comments
 (0)