LUCENE-6631 - fixed svn eol-style

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1709575 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Tommaso Teofili 2015-10-20 11:48:53 +00:00
parent 091a13c02f
commit d2bee4788a
5 changed files with 5 additions and 5 deletions

View File

@ -58,4 +58,4 @@ public interface DocumentClassifier<T> {
*/ */
List<ClassificationResult<T>> getClasses(Document document, int max) throws IOException; List<ClassificationResult<T>> getClasses(Document document, int max) throws IOException;
} }

View File

@ -147,4 +147,4 @@ public class KNearestNeighborDocumentClassifier extends KNearestNeighborClassifi
} }
return indexSearcher.search(mltQuery.build(), k); return indexSearcher.search(mltQuery.build(), k);
} }
} }

View File

@ -286,4 +286,4 @@ public class SimpleNaiveBayesDocumentClassifier extends SimpleNaiveBayesClassifi
private int docCount(BytesRef countedClass) throws IOException { private int docCount(BytesRef countedClass) throws IOException {
return leafReader.docFreq(new Term(classFieldName, countedClass)); return leafReader.docFreq(new Term(classFieldName, countedClass));
} }
} }

View File

@ -17,7 +17,7 @@
/** /**
* Uses already seen data (the indexed documents) to classify new documents. * Uses already seen data (the indexed documents) to classify new documents.
* <p> *
* Currently contains a (simplistic) Naive Bayes classifier and a k-Nearest * Currently contains a (simplistic) Naive Bayes classifier and a k-Nearest
* Neighbor classifier. * Neighbor classifier.
*/ */

View File

@ -17,7 +17,7 @@
/** /**
* Uses already seen data (the indexed documents) to classify an input ( can be simple text or a structured document). * Uses already seen data (the indexed documents) to classify an input ( can be simple text or a structured document).
* <p> *
* Currently contains a (simplistic) Naive Bayes classifier, a k-Nearest * Currently contains a (simplistic) Naive Bayes classifier, a k-Nearest
* Neighbor classifier and a Perceptron based classifier. * Neighbor classifier and a Perceptron based classifier.
*/ */