ACPredictorの超逐次変換を選択可能に。
1 parent f132325 commit 220a55f3ad412e9d247b7aaecd7745bc3de19f82
@tamra tamra authored on 29 Sep 2005
Showing 2 changed files
View
3
■■
honoka/src/acpredictor.cpp
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
 
#include "acpredictor.h"
#include <honoka_def.h>
#include <convertor.h>
#include <vector>
 
#ifdef HAVE_CONFIG_H
ACPredictor::ACPredictor(ConfigPointer cfg, HonokaInstance *i)
: Predictor(cfg)
{
instance = i;
multi_mode = true;
multi_mode = cfg->read(String(HONOKA_CONFIG_ACPREDICTOR_MULTI),HONOKA_DEFAULT_ACPREDICTOR_MULTI);
}
 
 
ACPredictor::~ACPredictor()
View
3
■■
honoka/src/honoka_def.h
#define HONOKA_DEFAULT_DEFAULT_CONVERTOR "Wnn,Anthy"
#define HONOKA_CONFIG_DEFAULT_PREDICTOR "/IMEngine/Honoka/DefaultPredictor"
#define HONOKA_DEFAULT_DEFAULT_PREDICTOR "WnnPredictor,SimplePredictor"
 
#define HONOKA_CONFIG_ACPREDICTOR_MULTI "/IMEngine/Honoka/ACPredictor/Multiple"
#define HONOKA_DEFAULT_ACPREDICTOR_MULTI true
 
#define HONOKA_CONFIG_PLUGINLOADER_PREFIX "/IMEngine/Honoka/PluginLoader"
 
#define HONOKA_CONFIG_MINISTATUS "/IMEngine/Honoka/MiniStatus"
#define HONOKA_DEFAULT_MINISTATUS false