Package com.enigmastation.classifier

Examples of com.enigmastation.classifier.CategoryIncrement


   */
  void incc(String category) {

    incrementCategory(getCategoryDocCount(), category);

    CategoryIncrement ci = null;
    if (trainingListeners != null) {
      for (ClassifierListener l : trainingListeners) {
        if (ci == null) {
          ci = new CategoryIncrement(category, getCategoryDocCount()
              .get(category));
          ci.setCountDelta(1);
        }
        l.handleCategoryUpdate(ci);
      }
    }

View Full Code Here

TOP

Related Classes of com.enigmastation.classifier.CategoryIncrement

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.