source: icGREP/icgrep-devel/icgrep/UCD/Jamo.h @ 5670

Last change on this file since 5670 was 5666, checked in by cameron, 22 months ago

Jamo Short Name support

File size: 2.4 KB
Line 
1#ifndef JAMO_H
2#define JAMO_H
3/*
4 *  Copyright (c) 2017 International Characters, Inc.
5 *  This software is licensed to the public under the Open Software License 3.0.
6 *  icgrep is a trademark of International Characters, Inc.
7 *
8 *  This file is generated by UCD_properties.py - manual edits may be lost.
9 */
10
11#include "PropertyAliases.h"
12#include "PropertyObjects.h"
13#include "PropertyValueAliases.h"
14#include "unicode_set.h"
15
16namespace UCD {
17    namespace JSN_ns {
18        /** Code Point Ranges for JSN mapping to <none>
19        [0000, 10ff], [110b, 110b], [1113, 1160], [1176, 11a7],
20        [11c3, 10ffff]**/
21
22        const UnicodeSet null_codepoint_set
23                    {{{Full, 136}, {Mixed, 1}, {Full, 2}, {Mixed, 1}, {Full, 1},
24              {Mixed, 2}, {Full, 34673}},
25             {0xfff80800, 0xffc00001, 0x000000ff, 0xfffffff8}};
26
27        /** Code Point Ranges for JSN mapping to <codepoint>
28        **/
29        const UnicodeSet reflexive_set
30                    {{{Empty, 34816}},
31             {}};
32
33        const unsigned buffer_length = 171;
34        const static char __attribute__ ((aligned (32))) string_buffer[256] = u8R"__(G
35GG
36N
37D
38DD
39R
40M
41B
42BB
43S
44SS
45J
46JJ
47C
48K
49T
50P
51H
52A
53AE
54YA
55YAE
56EO
57E
58YEO
59YE
60O
61WA
62WAE
63OE
64YO
65U
66WEO
67WE
68WI
69YU
70EU
71YI
72I
73G
74GG
75GS
76N
77NJ
78NH
79D
80L
81LG
82LM
83LB
84LS
85LT
86LP
87LH
88M
89B
90BS
91S
92SS
93NG
94J
95C
96K
97T
98P
99H
100)__";
101
102        const static std::vector<codepoint_t> defined_cps = {
103        0x1100, 0x1101, 0x1102, 0x1103, 0x1104, 0x1105, 0x1106, 0x1107,
104        0x1108, 0x1109, 0x110a, 0x110c, 0x110d, 0x110e, 0x110f, 0x1110,
105        0x1111, 0x1112, 0x1161, 0x1162, 0x1163, 0x1164, 0x1165, 0x1166,
106        0x1167, 0x1168, 0x1169, 0x116a, 0x116b, 0x116c, 0x116d, 0x116e,
107        0x116f, 0x1170, 0x1171, 0x1172, 0x1173, 0x1174, 0x1175, 0x11a8,
108        0x11a9, 0x11aa, 0x11ab, 0x11ac, 0x11ad, 0x11ae, 0x11af, 0x11b0,
109        0x11b1, 0x11b2, 0x11b3, 0x11b4, 0x11b5, 0x11b6, 0x11b7, 0x11b8,
110        0x11b9, 0x11ba, 0x11bb, 0x11bc, 0x11bd, 0x11be, 0x11bf, 0x11c0,
111        0x11c1, 0x11c2};
112        static StringPropertyObject property_object(JSN, 
113                                                    null_codepoint_set, 
114                                                    reflexive_set, 
115                                                    static_cast<const char *>(string_buffer), 
116                                                    buffer_length, 
117                                                    defined_cps);
118    }
119}
120
121#endif
Note: See TracBrowser for help on using the repository browser.