FONTAINE  1.0
Pinyin.h
Go to the documentation of this file.
1 //
2 // The Fontaine Font Analysis Project
3 //
4 // Copyright (c) 2009 by Edward H. Trager
5 // All Rights Reserved
6 //
7 // Released under the GNU GPL version 2.0 or later.
8 //
9 
10 
11 //
12 // Pinyin.h
13 //
14 
15 #ifndef ORTHOGRAPHY_DATA
16 #include "../OrthographyData.h"
17 #endif
18 
19 #ifndef PINYIN
20 #define PINYIN
21 
22 namespace Pinyin{
23 
24 //
25 // Unicode values
26 //
28  0x0101,
29  0x00E1,
30  0x01CE,
31  0x00E0,
32  0x0113,
33  0x00E9,
34  0x011B,
35  0x00E8,
36  0x012B,
37  0x00ED,
38  0x01D0,
39  0x00EC,
40  0x014D,
41  0x00F3,
42  0x01D2,
43  0x00F2,
44  0x016B,
45  0x00FA,
46  0x01D4,
47  0x00F9,
48  0x01D6,
49  0x01D8,
50  0x01DA,
51  0x01DC,
52  0x00FC,
54 };
55 
56 //
57 // Sample sentences
58 //
59 const char *sentences[]={
60  "hàn yǔ pīn yīn",
62 };
63 
64 
65 //
66 //
67 //
69  "Pinyin",
70  "汉语拼音",
71  0x01DA, // 3RD TONE U WITH UMLAUT
72  values,
73  "āáǎàēéěèǘǚǜü",
74  sentences
75 };
76 
78 
79 }; // end of namespace
80 
81 #endif