You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by jo...@apache.org on 2017/06/06 10:09:57 UTC
[13/21] opennlp git commit: OPENNLP-1077 Made the constructors for
the BratNameSampleStream public.
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/LangDetect
Commit: 1aa543286acbcb3c23aebaba003fa024a54aabb2
Parents: 6f80a89
Author: Daniel Russ <dr...@mail.nih.gov>
Authored: Wed May 24 15:47:12 2017 -0400
Committer: Daniel Russ <dr...@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);