FONTAINE 1.0

Kana.h

Go to the documentation of this file.
00001 //
00002 // The Fontaine Font Analysis Project 
00003 // 
00004 // Copyright (c) 2009 by Edward H. Trager
00005 // All Rights Reserved
00006 // 
00007 // Released under the GNU GPL version 2.0 or later.
00008 //     
00009 
00010 
00011 //
00012 // Kana.h
00013 //
00014 
00015 #ifndef ORTHOGRAPHY_DATA
00016 #include "../OrthographyData.h"
00017 #endif
00018 
00019 #ifndef KANA
00020 #define KANA
00021 
00022 namespace Kana{
00023 
00024 //
00025 // Unicode values 
00026 //
00027 UINT32 values[]={
00028         START_RANGE_PAIR,
00029         0x3041,0x3094,
00030         START_RANGE_PAIR,
00031         0x3099,0x309e,
00032         START_RANGE_PAIR,
00033         0x30A1,0x30FE,
00034         END_OF_DATA
00035 };
00036 
00037 //
00038 // Sample sentences
00039 // 
00040 const char *sentences[]={
00041         "いろはにほへと ちりぬるを わかよたれそ つねならむ うゐのおくやま けふこえて あさきゆめみし ゑひもせす",
00042         END_OF_DATA
00043 };
00044 
00045 
00046 //
00047 // 
00048 //
00049 OrthographyData data={
00050         "Kana",
00051         "仮名",
00052         0x3042, // HIRAGANA LETTER A
00053         values,
00054         "いろはにほへと",
00055         sentences
00056 };
00057 
00058 const OrthographyData *pData = &data;
00059 
00060 }; // end of namespace
00061 
00062 #endif