mirror of https://github.com/apache/lucene.git
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:
parent
091a13c02f
commit
d2bee4788a
|
@ -58,4 +58,4 @@ public interface DocumentClassifier<T> {
|
|||
*/
|
||||
List<ClassificationResult<T>> getClasses(Document document, int max) throws IOException;
|
||||
|
||||
}
|
||||
}
|
|
@ -147,4 +147,4 @@ public class KNearestNeighborDocumentClassifier extends KNearestNeighborClassifi
|
|||
}
|
||||
return indexSearcher.search(mltQuery.build(), k);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -286,4 +286,4 @@ public class SimpleNaiveBayesDocumentClassifier extends SimpleNaiveBayesClassifi
|
|||
private int docCount(BytesRef countedClass) throws IOException {
|
||||
return leafReader.docFreq(new Term(classFieldName, countedClass));
|
||||
}
|
||||
}
|
||||
}
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
/**
|
||||
* Uses already seen data (the indexed documents) to classify new documents.
|
||||
* <p>
|
||||
*
|
||||
* Currently contains a (simplistic) Naive Bayes classifier and a k-Nearest
|
||||
* Neighbor classifier.
|
||||
*/
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
/**
|
||||
* 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
|
||||
* Neighbor classifier and a Perceptron based classifier.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue