diff --git a/lucene/classification/src/java/org/apache/lucene/classification/SimpleNaiveBayesClassifier.java b/lucene/classification/src/java/org/apache/lucene/classification/SimpleNaiveBayesClassifier.java index 5a99cef09d2..c5a68f288d1 100644 --- a/lucene/classification/src/java/org/apache/lucene/classification/SimpleNaiveBayesClassifier.java +++ b/lucene/classification/src/java/org/apache/lucene/classification/SimpleNaiveBayesClassifier.java @@ -221,7 +221,7 @@ public class SimpleNaiveBayesClassifier implements Classifier { * tokenize a String on this classifier's text fields and analyzer * * @param doc the String representing an input text (to be classified) - * @return + * @return a String array of the resulting tokens * @throws IOException */ protected String[] tokenizeDoc(String doc) throws IOException {