CJK Namespace Reference


Functions

bool is_cjk_enabled ()
 Should we use the CJK n-gram code?
bool codepoint_is_cjk (unsigned codepoint)
std::string get_cjk (Xapian::Utf8Iterator &it)

Function Documentation

bool CJK::codepoint_is_cjk ( unsigned  codepoint  ) 

string CJK::get_cjk ( Xapian::Utf8Iterator it  ) 

bool CJK::is_cjk_enabled (  ) 

Should we use the CJK n-gram code?

The first time this is called it reads the environmental variable XAPIAN_CJK_NGRAM and returns true if it is set to a non-empty value. Subsequent calls cache and return the same value.

Definition at line 43 of file cjk-tokenizer.cc.

Referenced by Xapian::TermGenerator::Internal::index_text().


Documentation for Xapian (version 1.2.9).
Generated on 10 May 2012 by Doxygen 1.5.9.