Skip to content

Commit

Permalink
#8122 AggregatingSentenceIterator builder - addSentencePreProcessor -…
Browse files Browse the repository at this point in the history
…> sentencePreProcessor

Signed-off-by: AlexDBlack <blacka101@gmail.com>
  • Loading branch information
AlexDBlack committed Aug 21, 2019
1 parent f40cde2 commit f99370c
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,15 @@ public Builder addSentenceIterators(@NonNull Collection<SentenceIterator> iterat
return this;
}

/**
* @deprecated Use {@link #sentencePreProcessor(SentencePreProcessor)}
*/
@Deprecated
public Builder addSentencePreProcessor(@NonNull SentencePreProcessor preProcessor) {
return sentencePreProcessor(preProcessor);
}

public Builder sentencePreProcessor(@NonNull SentencePreProcessor preProcessor) {
this.preProcessor = preProcessor;
return this;
}
Expand Down

0 comments on commit f99370c

Please sign in to comment.