Ignore:
Timestamp:
Dec 31, 2014, 9:44:46 PM (4 years ago)
Author:
cameron
Message:

UCD property resolution initial check in

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/UCD/PropertyAliases.h

    r4366 r4380  
    1515namespace UCD {
    1616  enum property_t {
    17 cjkaccountingnumeric, cjkothernumeric, cjkprimarynumeric, nv, cf,
    18     cjkcompatibilityvariant, dm, fc_nfkc, lc, nfkc_cf, scf, slc, stc, suc,
    19     tc, uc, bmg, bpb, cjkiicore, cjkirg_gsource, cjkirg_hsource,
    20     cjkirg_jsource, cjkirg_kpsource, cjkirg_ksource, cjkirg_msource,
    21     cjkirg_tsource, cjkirg_usource, cjkirg_vsource, cjkrsunicode, isc, jsn,
    22     na, na1, name_alias, scx, age, blk, sc, bc, bpt, ccc, dt, ea, gc, gcb,
    23     hst, inmc, insc, jg, jt, lb, nfc_qc, nfd_qc, nfkc_qc, nfkd_qc, nt, sb,
    24     wb, ahex, alpha, bidi_c, bidi_m, cased, ce, ci, comp_ex, cwcf, cwcm,
    25     cwkcf, cwl, cwt, cwu, dash, dep, di, dia, ext, gr_base, gr_ext, gr_link,
    26     hex, hyphen, idc, ideo, ids, idsb, idst, join_c, loe, lower, math,
    27     nchar, oalpha, odi, ogr_ext, oidc, oids, olower, omath, oupper, pat_syn,
    28     pat_ws, qmark, radical, sd, sterm, term, uideo, upper, vs, wspace, xidc,
    29     xids, xo_nfc, xo_nfd, xo_nfkc, xo_nfkd
     17cjkAccountingNumeric, cjkOtherNumeric, cjkPrimaryNumeric, nv, cf,
     18    cjkCompatibilityVariant, dm, FC_NFKC, lc, NFKC_CF, scf, slc, stc, suc,
     19    tc, uc, bmg, bpb, cjkIICore, cjkIRG_GSource, cjkIRG_HSource,
     20    cjkIRG_JSource, cjkIRG_KPSource, cjkIRG_KSource, cjkIRG_MSource,
     21    cjkIRG_TSource, cjkIRG_USource, cjkIRG_VSource, cjkRSUnicode, isc, JSN,
     22    na, na1, Name_Alias, scx, age, blk, sc, bc, bpt, ccc, dt, ea, gc, GCB,
     23    hst, InMC, InSC, jg, jt, lb, NFC_QC, NFD_QC, NFKC_QC, NFKD_QC, nt, SB,
     24    WB, AHex, Alpha, Bidi_C, Bidi_M, Cased, CE, CI, Comp_Ex, CWCF, CWCM,
     25    CWKCF, CWL, CWT, CWU, Dash, Dep, DI, Dia, Ext, Gr_Base, Gr_Ext, Gr_Link,
     26    Hex, Hyphen, IDC, Ideo, IDS, IDSB, IDST, Join_C, LOE, Lower, Math,
     27    NChar, OAlpha, ODI, OGr_Ext, OIDC, OIDS, OLower, OMath, OUpper, Pat_Syn,
     28    Pat_WS, QMark, Radical, SD, STerm, Term, UIdeo, Upper, VS, WSpace, XIDC,
     29    XIDS, XO_NFC, XO_NFD, XO_NFKC, XO_NFKD
    3030  };
    3131  const std::vector<std::string> property_full_name = {
     
    6969  };
    7070  const std::unordered_map<std::string, property_t> alias_map = {
    71 {"age", age}, {"ahex", ahex}, {"alpha", alpha}, {"alphabetic", alpha},
    72     {"asciihexdigit", ahex}, {"bc", bc}, {"bidic", bidi_c},
    73     {"bidiclass", bc}, {"bidicontrol", bidi_c}, {"bidim", bidi_m},
    74     {"bidimirrored", bidi_m}, {"bidimirroringglyph", bmg},
     71{"age", age}, {"ahex", AHex}, {"alpha", Alpha}, {"alphabetic", Alpha},
     72    {"asciihexdigit", AHex}, {"bc", bc}, {"bidic", Bidi_C},
     73    {"bidiclass", bc}, {"bidicontrol", Bidi_C}, {"bidim", Bidi_M},
     74    {"bidimirrored", Bidi_M}, {"bidimirroringglyph", bmg},
    7575    {"bidipairedbracket", bpb}, {"bidipairedbrackettype", bpt},
    7676    {"blk", blk}, {"block", blk}, {"bmg", bmg}, {"bpb", bpb}, {"bpt", bpt},
    77     {"c", isc}, {"canonicalcombiningclass", ccc}, {"cased", cased},
    78     {"casefolding", cf}, {"caseignorable", ci}, {"ccc", ccc}, {"ce", ce},
    79     {"cf", cf}, {"changeswhencasefolded", cwcf},
    80     {"changeswhencasemapped", cwcm}, {"changeswhenlowercased", cwl},
    81     {"changeswhennfkccasefolded", cwkcf}, {"changeswhentitlecased", cwt},
    82     {"changeswhenuppercased", cwu}, {"ci", ci},
    83     {"cjkaccountingnumeric", cjkaccountingnumeric},
    84     {"cjkcompatibilityvariant", cjkcompatibilityvariant},
    85     {"cjkiicore", cjkiicore}, {"cjkirggsource", cjkirg_gsource},
    86     {"cjkirghsource", cjkirg_hsource}, {"cjkirgjsource", cjkirg_jsource},
    87     {"cjkirgkpsource", cjkirg_kpsource}, {"cjkirgksource", cjkirg_ksource},
    88     {"cjkirgmsource", cjkirg_msource}, {"cjkirgtsource", cjkirg_tsource},
    89     {"cjkirgusource", cjkirg_usource}, {"cjkirgvsource", cjkirg_vsource},
    90     {"cjkothernumeric", cjkothernumeric},
    91     {"cjkprimarynumeric", cjkprimarynumeric},
    92     {"cjkrsunicode", cjkrsunicode}, {"compex", comp_ex},
    93     {"compositionexclusion", ce}, {"cwcf", cwcf}, {"cwcm", cwcm},
    94     {"cwkcf", cwkcf}, {"cwl", cwl}, {"cwt", cwt}, {"cwu", cwu},
    95     {"dash", dash}, {"decompositionmapping", dm}, {"decompositiontype", dt},
    96     {"defaultignorablecodepoint", di}, {"dep", dep}, {"deprecated", dep},
    97     {"di", di}, {"dia", dia}, {"diacritic", dia}, {"dm", dm}, {"dt", dt},
    98     {"ea", ea}, {"eastasianwidth", ea}, {"expandsonnfc", xo_nfc},
    99     {"expandsonnfd", xo_nfd}, {"expandsonnfkc", xo_nfkc},
    100     {"expandsonnfkd", xo_nfkd}, {"ext", ext}, {"extender", ext},
    101     {"fcnfkc", fc_nfkc}, {"fcnfkcclosure", fc_nfkc},
    102     {"fullcompositionexclusion", comp_ex}, {"gc", gc}, {"gcb", gcb},
    103     {"generalcategory", gc}, {"graphemebase", gr_base},
    104     {"graphemeclusterbreak", gcb}, {"graphemeextend", gr_ext},
    105     {"graphemelink", gr_link}, {"grbase", gr_base}, {"grext", gr_ext},
    106     {"grlink", gr_link}, {"hangulsyllabletype", hst}, {"hex", hex},
    107     {"hexdigit", hex}, {"hst", hst}, {"hyphen", hyphen}, {"idc", idc},
    108     {"idcontinue", idc}, {"ideo", ideo}, {"ideographic", ideo},
    109     {"ids", ids}, {"idsb", idsb}, {"idsbinaryoperator", idsb},
    110     {"idst", idst}, {"idstart", ids}, {"idstrinaryoperator", idst},
    111     {"indicmatracategory", inmc}, {"indicsyllabiccategory", insc},
    112     {"inmc", inmc}, {"insc", insc}, {"jamoshortname", jsn}, {"jg", jg},
    113     {"joinc", join_c}, {"joincontrol", join_c}, {"joininggroup", jg},
    114     {"joiningtype", jt}, {"jsn", jsn}, {"jt", jt},
    115     {"kaccountingnumeric", cjkaccountingnumeric},
    116     {"kcompatibilityvariant", cjkcompatibilityvariant},
    117     {"kiicore", cjkiicore}, {"kirggsource", cjkirg_gsource},
    118     {"kirghsource", cjkirg_hsource}, {"kirgjsource", cjkirg_jsource},
    119     {"kirgkpsource", cjkirg_kpsource}, {"kirgksource", cjkirg_ksource},
    120     {"kirgmsource", cjkirg_msource}, {"kirgtsource", cjkirg_tsource},
    121     {"kirgusource", cjkirg_usource}, {"kirgvsource", cjkirg_vsource},
    122     {"kothernumeric", cjkothernumeric},
    123     {"kprimarynumeric", cjkprimarynumeric}, {"krsunicode", cjkrsunicode},
    124     {"lb", lb}, {"lc", lc}, {"linebreak", lb}, {"loe", loe},
    125     {"logicalorderexception", loe}, {"lower", lower}, {"lowercase", lower},
    126     {"lowercasemapping", lc}, {"math", math}, {"na", na}, {"na1", na1},
    127     {"name", na}, {"namealias", name_alias}, {"nchar", nchar},
    128     {"nfcqc", nfc_qc}, {"nfcquickcheck", nfc_qc}, {"nfdqc", nfd_qc},
    129     {"nfdquickcheck", nfd_qc}, {"nfkccasefold", nfkc_cf},
    130     {"nfkccf", nfkc_cf}, {"nfkcqc", nfkc_qc}, {"nfkcquickcheck", nfkc_qc},
    131     {"nfkdqc", nfkd_qc}, {"nfkdquickcheck", nfkd_qc},
    132     {"noncharactercodepoint", nchar}, {"nt", nt}, {"numerictype", nt},
    133     {"numericvalue", nv}, {"nv", nv}, {"oalpha", oalpha}, {"ocomment", isc},
    134     {"odi", odi}, {"ogrext", ogr_ext}, {"oidc", oidc}, {"oids", oids},
    135     {"olower", olower}, {"omath", omath}, {"otheralphabetic", oalpha},
    136     {"otherdefaultignorablecodepoint", odi},
    137     {"othergraphemeextend", ogr_ext}, {"otheridcontinue", oidc},
    138     {"otheridstart", oids}, {"otherlowercase", olower},
    139     {"othermath", omath}, {"otheruppercase", oupper}, {"oupper", oupper},
    140     {"patsyn", pat_syn}, {"patternsyntax", pat_syn},
    141     {"patternwhitespace", pat_ws}, {"patws", pat_ws}, {"qmark", qmark},
    142     {"quotationmark", qmark}, {"radical", radical}, {"sb", sb}, {"sc", sc},
     77    {"canonicalcombiningclass", ccc}, {"cased", Cased}, {"casefolding", cf},
     78    {"caseignorable", CI}, {"ccc", ccc}, {"ce", CE}, {"cf", cf},
     79    {"changeswhencasefolded", CWCF}, {"changeswhencasemapped", CWCM},
     80    {"changeswhenlowercased", CWL}, {"changeswhennfkccasefolded", CWKCF},
     81    {"changeswhentitlecased", CWT}, {"changeswhenuppercased", CWU},
     82    {"ci", CI}, {"cjkaccountingnumeric", cjkAccountingNumeric},
     83    {"cjkcompatibilityvariant", cjkCompatibilityVariant},
     84    {"cjkiicore", cjkIICore}, {"cjkirggsource", cjkIRG_GSource},
     85    {"cjkirghsource", cjkIRG_HSource}, {"cjkirgjsource", cjkIRG_JSource},
     86    {"cjkirgkpsource", cjkIRG_KPSource}, {"cjkirgksource", cjkIRG_KSource},
     87    {"cjkirgmsource", cjkIRG_MSource}, {"cjkirgtsource", cjkIRG_TSource},
     88    {"cjkirgusource", cjkIRG_USource}, {"cjkirgvsource", cjkIRG_VSource},
     89    {"cjkothernumeric", cjkOtherNumeric},
     90    {"cjkprimarynumeric", cjkPrimaryNumeric},
     91    {"cjkrsunicode", cjkRSUnicode}, {"compex", Comp_Ex},
     92    {"compositionexclusion", CE}, {"cwcf", CWCF}, {"cwcm", CWCM},
     93    {"cwkcf", CWKCF}, {"cwl", CWL}, {"cwt", CWT}, {"cwu", CWU},
     94    {"dash", Dash}, {"decompositionmapping", dm}, {"decompositiontype", dt},
     95    {"defaultignorablecodepoint", DI}, {"dep", Dep}, {"deprecated", Dep},
     96    {"di", DI}, {"dia", Dia}, {"diacritic", Dia}, {"dm", dm}, {"dt", dt},
     97    {"ea", ea}, {"eastasianwidth", ea}, {"expandsonnfc", XO_NFC},
     98    {"expandsonnfd", XO_NFD}, {"expandsonnfkc", XO_NFKC},
     99    {"expandsonnfkd", XO_NFKD}, {"ext", Ext}, {"extender", Ext},
     100    {"fcnfkc", FC_NFKC}, {"fcnfkcclosure", FC_NFKC},
     101    {"fullcompositionexclusion", Comp_Ex}, {"gc", gc}, {"gcb", GCB},
     102    {"generalcategory", gc}, {"graphemebase", Gr_Base},
     103    {"graphemeclusterbreak", GCB}, {"graphemeextend", Gr_Ext},
     104    {"graphemelink", Gr_Link}, {"grbase", Gr_Base}, {"grext", Gr_Ext},
     105    {"grlink", Gr_Link}, {"hangulsyllabletype", hst}, {"hex", Hex},
     106    {"hexdigit", Hex}, {"hst", hst}, {"hyphen", Hyphen}, {"idc", IDC},
     107    {"idcontinue", IDC}, {"ideo", Ideo}, {"ideographic", Ideo},
     108    {"ids", IDS}, {"idsb", IDSB}, {"idsbinaryoperator", IDSB},
     109    {"idst", IDST}, {"idstart", IDS}, {"idstrinaryoperator", IDST},
     110    {"indicmatracategory", InMC}, {"indicsyllabiccategory", InSC},
     111    {"inmc", InMC}, {"insc", InSC}, {"isc", isc}, {"isocomment", isc},
     112    {"jamoshortname", JSN}, {"jg", jg}, {"joinc", Join_C},
     113    {"joincontrol", Join_C}, {"joininggroup", jg}, {"joiningtype", jt},
     114    {"jsn", JSN}, {"jt", jt}, {"kaccountingnumeric", cjkAccountingNumeric},
     115    {"kcompatibilityvariant", cjkCompatibilityVariant},
     116    {"kiicore", cjkIICore}, {"kirggsource", cjkIRG_GSource},
     117    {"kirghsource", cjkIRG_HSource}, {"kirgjsource", cjkIRG_JSource},
     118    {"kirgkpsource", cjkIRG_KPSource}, {"kirgksource", cjkIRG_KSource},
     119    {"kirgmsource", cjkIRG_MSource}, {"kirgtsource", cjkIRG_TSource},
     120    {"kirgusource", cjkIRG_USource}, {"kirgvsource", cjkIRG_VSource},
     121    {"kothernumeric", cjkOtherNumeric},
     122    {"kprimarynumeric", cjkPrimaryNumeric}, {"krsunicode", cjkRSUnicode},
     123    {"lb", lb}, {"lc", lc}, {"linebreak", lb}, {"loe", LOE},
     124    {"logicalorderexception", LOE}, {"lower", Lower}, {"lowercase", Lower},
     125    {"lowercasemapping", lc}, {"math", Math}, {"na", na}, {"na1", na1},
     126    {"name", na}, {"namealias", Name_Alias}, {"nchar", NChar},
     127    {"nfcqc", NFC_QC}, {"nfcquickcheck", NFC_QC}, {"nfdqc", NFD_QC},
     128    {"nfdquickcheck", NFD_QC}, {"nfkccasefold", NFKC_CF},
     129    {"nfkccf", NFKC_CF}, {"nfkcqc", NFKC_QC}, {"nfkcquickcheck", NFKC_QC},
     130    {"nfkdqc", NFKD_QC}, {"nfkdquickcheck", NFKD_QC},
     131    {"noncharactercodepoint", NChar}, {"nt", nt}, {"numerictype", nt},
     132    {"numericvalue", nv}, {"nv", nv}, {"oalpha", OAlpha}, {"odi", ODI},
     133    {"ogrext", OGr_Ext}, {"oidc", OIDC}, {"oids", OIDS}, {"olower", OLower},
     134    {"omath", OMath}, {"otheralphabetic", OAlpha},
     135    {"otherdefaultignorablecodepoint", ODI},
     136    {"othergraphemeextend", OGr_Ext}, {"otheridcontinue", OIDC},
     137    {"otheridstart", OIDS}, {"otherlowercase", OLower},
     138    {"othermath", OMath}, {"otheruppercase", OUpper}, {"oupper", OUpper},
     139    {"patsyn", Pat_Syn}, {"patternsyntax", Pat_Syn},
     140    {"patternwhitespace", Pat_WS}, {"patws", Pat_WS}, {"qmark", QMark},
     141    {"quotationmark", QMark}, {"radical", Radical}, {"sb", SB}, {"sc", sc},
    143142    {"scf", scf}, {"script", sc}, {"scriptextensions", scx}, {"scx", scx},
    144     {"sd", sd}, {"sentencebreak", sb}, {"sfc", scf},
     143    {"sd", SD}, {"sentencebreak", SB}, {"sfc", scf},
    145144    {"simplecasefolding", scf}, {"simplelowercasemapping", slc},
    146145    {"simpletitlecasemapping", stc}, {"simpleuppercasemapping", suc},
    147     {"slc", slc}, {"softdotted", sd}, {"space", wspace}, {"stc", stc},
    148     {"sterm", sterm}, {"suc", suc}, {"tc", tc}, {"term", term},
    149     {"terminalpunctuation", term}, {"titlecasemapping", tc}, {"uc", uc},
    150     {"uideo", uideo}, {"unicode1name", na1},
    151     {"unicoderadicalstroke", cjkrsunicode}, {"unifiedideograph", uideo},
    152     {"upper", upper}, {"uppercase", upper}, {"uppercasemapping", uc},
    153     {"urs", cjkrsunicode}, {"variationselector", vs}, {"vs", vs},
    154     {"wb", wb}, {"whitespace", wspace}, {"wordbreak", wb},
    155     {"wspace", wspace}, {"xidc", xidc}, {"xidcontinue", xidc},
    156     {"xids", xids}, {"xidstart", xids}, {"xonfc", xo_nfc},
    157     {"xonfd", xo_nfd}, {"xonfkc", xo_nfkc}, {"xonfkd", xo_nfkd}
     146    {"slc", slc}, {"softdotted", SD}, {"space", WSpace}, {"stc", stc},
     147    {"sterm", STerm}, {"suc", suc}, {"tc", tc}, {"term", Term},
     148    {"terminalpunctuation", Term}, {"titlecasemapping", tc}, {"uc", uc},
     149    {"uideo", UIdeo}, {"unicode1name", na1},
     150    {"unicoderadicalstroke", cjkRSUnicode}, {"unifiedideograph", UIdeo},
     151    {"upper", Upper}, {"uppercase", Upper}, {"uppercasemapping", uc},
     152    {"urs", cjkRSUnicode}, {"variationselector", VS}, {"vs", VS},
     153    {"wb", WB}, {"whitespace", WSpace}, {"wordbreak", WB},
     154    {"wspace", WSpace}, {"xidc", XIDC}, {"xidcontinue", XIDC},
     155    {"xids", XIDS}, {"xidstart", XIDS}, {"xonfc", XO_NFC},
     156    {"xonfd", XO_NFD}, {"xonfkc", XO_NFKC}, {"xonfkd", XO_NFKD}
    158157  };
    159158}
Note: See TracChangeset for help on using the changeset viewer.