Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_analysis_standard_StandardTokenizer_H
#define org_apache_lucene_analysis_standard_StandardTokenizer_H
#include "org/apache/lucene/analysis/Tokenizer.h"
namespace java {
namespace lang {
class String;
class Class;
}
namespace io {
class IOException;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace util {
class AttributeFactory;
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace analysis {
namespace standard {
class StandardTokenizer : public ::org::apache::lucene::analysis::Tokenizer {
public:
enum {
mid_init$_d7775b228e076e62,
mid_init$_c4a65ca936129e58,
mid_close_d7775b228e076e62,
mid_end_d7775b228e076e62,
mid_getMaxTokenLength_9135e6328d9d7dfd,
mid_incrementToken_c20c2fcd6b89d9a9,
mid_reset_d7775b228e076e62,
mid_setMaxTokenLength_54889bef30791899,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit StandardTokenizer(jobject obj) : ::org::apache::lucene::analysis::Tokenizer(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
StandardTokenizer(const StandardTokenizer& obj) : ::org::apache::lucene::analysis::Tokenizer(obj) {}
static jint ALPHANUM;
static jint EMOJI;
static jint HANGUL;
static jint HIRAGANA;
static jint IDEOGRAPHIC;
static jint KATAKANA;
static jint MAX_TOKEN_LENGTH_LIMIT;
static jint NUM;
static jint SOUTHEAST_ASIAN;
static JArray< ::java::lang::String > *TOKEN_TYPES;
StandardTokenizer();
StandardTokenizer(const ::org::apache::lucene::util::AttributeFactory &);
void close() const;
void end() const;
jint getMaxTokenLength() const;
jboolean incrementToken() const;
void reset() const;
void setMaxTokenLength(jint) const;
};
}
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace analysis {
namespace standard {
extern PyType_Def PY_TYPE_DEF(StandardTokenizer);
extern PyTypeObject *PY_TYPE(StandardTokenizer);
class t_StandardTokenizer {
public:
PyObject_HEAD
StandardTokenizer object;
static PyObject *wrap_Object(const StandardTokenizer&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
}
#endif