tagging release
[dasher.git] / Src / DasherCore / LanguageModelling / KanjiConversionCanna.h
blobc14b340180ffe8aa9f158bc23a1fb3fa38d4a52b
1 // KanjiConversionCanna.h
2 //
3 /////////////////////////////////////////////////////////////////////////////
4 //
5 // Copyright (c) 2005 Takashi Kaburagi
6 //
7 /////////////////////////////////////////////////////////////////////////////
9 #ifndef __KanjiConversionCanna_h__
10 #define __KanjiConversionCanna_h__
12 // For Kanji support
13 #include <canna/jrkanji.h>
14 #include <canna/RK.h>
15 #include <iconv.h>
17 #include "KanjiConversion.h"
19 #define BUFSIZE 10240
21 namespace Dasher {
22 /// \ingroup LM
23 /// \{
24 class CKanjiConversionCanna:public CKanjiConversion {
25 public:
26 CKanjiConversionCanna();
27 virtual ~ CKanjiConversionCanna();
29 int ConvertKanji(std::string);
30 int context_id;
32 /// \}
34 #endif /* #ifndef __KanjiConversionCanna_H__ */