Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
lucene / include / org / apache / lucene / classification / CachingNaiveBayesClassifier.h
Size: Mime:
#ifndef org_apache_lucene_classification_CachingNaiveBayesClassifier_H
#define org_apache_lucene_classification_CachingNaiveBayesClassifier_H

#include "org/apache/lucene/classification/SimpleNaiveBayesClassifier.h"

namespace java {
  namespace lang {
    class String;
    class Class;
  }
  namespace io {
    class IOException;
  }
}
namespace org {
  namespace apache {
    namespace lucene {
      namespace analysis {
        class Analyzer;
      }
      namespace index {
        class IndexReader;
      }
      namespace search {
        class Query;
      }
    }
  }
}
template<class T> class JArray;

namespace org {
  namespace apache {
    namespace lucene {
      namespace classification {

        class CachingNaiveBayesClassifier : public ::org::apache::lucene::classification::SimpleNaiveBayesClassifier {
         public:
          enum {
            mid_init$_7409a33a4c119807,
            mid_reInitCache_25ba4d10ce4820e3,
            mid_assignClassNormalizedList_321dbcaae65353fa,
            max_mid
          };

          static ::java::lang::Class *class$;
          static jmethodID *mids$;
          static bool live$;
          static jclass initializeClass(bool);

          explicit CachingNaiveBayesClassifier(jobject obj) : ::org::apache::lucene::classification::SimpleNaiveBayesClassifier(obj) {
            if (obj != NULL && mids$ == NULL)
              env->getClass(initializeClass);
          }
          CachingNaiveBayesClassifier(const CachingNaiveBayesClassifier& obj) : ::org::apache::lucene::classification::SimpleNaiveBayesClassifier(obj) {}

          CachingNaiveBayesClassifier(const ::org::apache::lucene::index::IndexReader &, const ::org::apache::lucene::analysis::Analyzer &, const ::org::apache::lucene::search::Query &, const ::java::lang::String &, const JArray< ::java::lang::String > &);

          void reInitCache(jint, jboolean) const;
        };
      }
    }
  }
}

#include <Python.h>

namespace org {
  namespace apache {
    namespace lucene {
      namespace classification {
        extern PyType_Def PY_TYPE_DEF(CachingNaiveBayesClassifier);
        extern PyTypeObject *PY_TYPE(CachingNaiveBayesClassifier);

        class t_CachingNaiveBayesClassifier {
        public:
          PyObject_HEAD
          CachingNaiveBayesClassifier object;
          static PyObject *wrap_Object(const CachingNaiveBayesClassifier&);
          static PyObject *wrap_jobject(const jobject&);
          static void install(PyObject *module);
          static void initialize(PyObject *module);
        };
      }
    }
  }
}

#endif