opennlp-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dr...@apache.org
Subject opennlp git commit: OPENNLP-1077 Made the constructors for the BratNameSampleStream public.
Date Wed, 24 May 2017 20:03:37 GMT
Repository: opennlp
Updated Branches:
  refs/heads/master 6f80a8970 -> 1aa543286


OPENNLP-1077 Made the constructors for the BratNameSampleStream public.

Project: http://git-wip-us.apache.org/repos/asf/opennlp/repo
Commit: http://git-wip-us.apache.org/repos/asf/opennlp/commit/1aa54328
Tree: http://git-wip-us.apache.org/repos/asf/opennlp/tree/1aa54328
Diff: http://git-wip-us.apache.org/repos/asf/opennlp/diff/1aa54328

Branch: refs/heads/master
Commit: 1aa543286acbcb3c23aebaba003fa024a54aabb2
Parents: 6f80a89
Author: Daniel Russ <druss@mail.nih.gov>
Authored: Wed May 24 15:47:12 2017 -0400
Committer: Daniel Russ <druss@mail.nih.gov>
Committed: Wed May 24 15:47:12 2017 -0400

----------------------------------------------------------------------
 .../java/opennlp/tools/formats/brat/BratNameSampleStream.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/opennlp/blob/1aa54328/opennlp-tools/src/main/java/opennlp/tools/formats/brat/BratNameSampleStream.java
----------------------------------------------------------------------
diff --git a/opennlp-tools/src/main/java/opennlp/tools/formats/brat/BratNameSampleStream.java
b/opennlp-tools/src/main/java/opennlp/tools/formats/brat/BratNameSampleStream.java
index 5a96d2d..569f450 100644
--- a/opennlp-tools/src/main/java/opennlp/tools/formats/brat/BratNameSampleStream.java
+++ b/opennlp-tools/src/main/java/opennlp/tools/formats/brat/BratNameSampleStream.java
@@ -43,7 +43,7 @@ public class BratNameSampleStream extends SegmenterObjectStream<BratDocument,
Na
   private SentenceDetector sentDetector;
   private Tokenizer tokenizer;
 
-  protected BratNameSampleStream(SentenceDetector sentDetector,
+  public BratNameSampleStream(SentenceDetector sentDetector,
       Tokenizer tokenizer, ObjectStream<BratDocument> samples) {
     super(samples);
 
@@ -51,7 +51,7 @@ public class BratNameSampleStream extends SegmenterObjectStream<BratDocument,
Na
     this.tokenizer = tokenizer;
   }
 
-  protected BratNameSampleStream(SentenceModel sentModel, TokenizerModel tokenModel,
+  public BratNameSampleStream(SentenceModel sentModel, TokenizerModel tokenModel,
       ObjectStream<BratDocument> samples) {
     super(samples);
 


Mime
View raw message