#!/usr/bin/python3
# -*- coding: utf-8 -*-
################################################################################
#    DChars Copyright (C) 2012 Suizokukan
#    Contact: suizokukan _A.T._ orange dot fr
#
#    This file is part of DChars.
#    DChars is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#
#    DChars is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with DChars.  If not, see <http://www.gnu.org/licenses/>.
################################################################################
"""
    ❏DChars❏ : dchars/languages/bod/sorting_methods_tables.py
"""

#===============================================================================
# "basic" sorting method
#===============================================================================

# vowels value
BASIC_SORTMETHOD__VOWELS_VALUE = {
    None            : 0,
    "A"             : 100,
    "AA"            : 101,
    "I"             : 102,
    "II"            : 103,
    "REVERSED I"    : 104,
    "REVERSED II"   : 105,
    "U"             : 106,
    "UU"            : 107,
    "E"             : 108,
    "AI"            : 109,
    "O"             : 110,
    "AU"            : 111,
    "VOCALIC R"     : 112,
    "VOCALIC RR"    : 113,
}

# consonants value
BASIC_SORTMETHOD__CONS_VALUE = {
    None : 100,
    'K'  : 101,
    'KH' : 102,
    'G'  : 103,
    'GH' : 104,
    'NG' : 105,
    'C'  : 106,
    'CH' : 107,
    'J'  : 108,
    'NY' : 109,
    'T'  : 110,
    'TH' : 111,
    'TT' : 112,
    'TTH': 113,
    'D'  : 114,
    'DH' : 115,
    'DD' : 116,
    'DDH': 117,
    'N'  : 118,
    'NN' : 119,
    'P'  : 120,
    'PH' : 121,
    'B'  : 122,
    'BH' : 123,
    'M'  : 124,
    'TS' : 125,
    'TSH': 126,
    'DZ' : 127,
    'DZH': 128,
    'W'  : 129,
    'ZH' : 130,
    'Z'  : 131,
    '-'  : 132,
    'Y'  : 133,
    'R'  : 134,
    'L'  : 135,
    'SH' : 136,
    'SS' : 137,
    'S'  : 138,
    'H'  : 139,
    'KSS': 140,
    'FIXED-FORM R': 141,
    'KK' : 142,
    'RR' : 143,
    'TIB. TRANS. OF CHIN. SOUND F': 145,
    'TIB. TRANS. OF CHIN. SOUND V': 146,
    'A'  : 147,
    }


