Revision: 17827
http://sourceforge.net/p/gate/code/17827
Author: ian_roberts
Date: 2014-04-14 12:39:04 +0000 (Mon, 14 Apr 2014)
Log Message:
-----------
Code formatting (tabs to spaces)
Modified Paths:
--------------
gate/trunk/plugins/OpenNLP/src/gate/opennlp/OpenNlpTokenizer.java
Modified: gate/trunk/plugins/OpenNLP/src/gate/opennlp/OpenNlpTokenizer.java
===================================================================
--- gate/trunk/plugins/OpenNLP/src/gate/opennlp/OpenNlpTokenizer.java
2014-04-14 12:37:47 UTC (rev 17826)
+++ gate/trunk/plugins/OpenNLP/src/gate/opennlp/OpenNlpTokenizer.java
2014-04-14 12:39:04 UTC (rev 17827)
@@ -43,7 +43,7 @@
private String annotationSetName = null;
private URL modelUrl;
private TokenizerME tokenizer = null;
- private TokenizerModel model = null;
+ private TokenizerModel model = null;
public void execute() throws ExecutionException {
@@ -150,42 +150,42 @@
}
- /* CREOLE PARAMETERS */
+ /* CREOLE PARAMETERS */
- @RunTime
- @CreoleParameter(defaultValue = "",
- comment = "Output AS for Tokens")
- public void setAnnotationSetName(String a) {
- annotationSetName = a;
- }
+ @RunTime
+ @CreoleParameter(defaultValue = "",
+ comment = "Output AS for Tokens")
+ public void setAnnotationSetName(String a) {
+ annotationSetName = a;
+ }
- public String getAnnotationSetName() {
- return annotationSetName;
- }
-
-
- @CreoleParameter(defaultValue = "models/english/en-token.bin",
- comment = "location of the tokenizer model")
+ public String getAnnotationSetName() {
+ return annotationSetName;
+ }
+
+
+ @CreoleParameter(defaultValue = "models/english/en-token.bin",
+ comment = "location of the tokenizer model")
public void setModel(URL model) {
this.modelUrl = model;
}
- public URL getModel() {
- return modelUrl;
- }
+ public URL getModel() {
+ return modelUrl;
+ }
- /**
- * For internal use by the duplication mechanism.
- */
- @Sharable
- public void setTokenizerModel(TokenizerModel model) {
- this.model = model;
- }
-
/**
* For internal use by the duplication mechanism.
*/
- public TokenizerModel getTokenizerModel() {
- return model;
- }
+ @Sharable
+ public void setTokenizerModel(TokenizerModel model) {
+ this.model = model;
+ }
+
+ /**
+ * For internal use by the duplication mechanism.
+ */
+ public TokenizerModel getTokenizerModel() {
+ return model;
+ }
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs