# Package org.apache.lucene.classification.document

Uses already seen data (the indexed documents) to classify new documents.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  DocumentClassifier<T> | A classifier, see `http://en.wikipedia.org/wiki/Classifier_(mathematics)`, which assign classes of type `T` to a `Document`s

- Class Summary
  Class | Description
  --- | ---
  KNearestNeighborDocumentClassifier | A k-Nearest Neighbor Document classifier (see `http://en.wikipedia.org/wiki/K-nearest_neighbors`) based on `MoreLikeThis` .
  SimpleNaiveBayesDocumentClassifier | A simplistic Lucene based NaiveBayes classifier, see `http://en.wikipedia.org/wiki/Naive_Bayes_classifier`

## Package org.apache.lucene.classification.document Description

Uses already seen data (the indexed documents) to classify new documents. Currently contains a (simplistic) Naive Bayes classifier and a k-Nearest Neighbor classifier.

Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.