<commit_before># -*- coding: utf-8 -*-

# Apple Slicer
#
# Copyright (c) 2015 fedoco <<EMAIL>>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

# List of countries handled by Apple USA and each of Apple's (currently four) foreign subsidiaries.
# Information is taken from Schedule 2, Exhibit A of Apple's "iOS / Mac OS X Paid Applications" contract as effecive of January, 2015.

australia = {
'AU': 'Australia',
'NZ': 'New Zealand'
}

canada = {
'CA': 'Canada' 
}

europe = {
'AL': 'Albania',
'DZ': 'Algeria',
'AO': 'Angola',
'AM': 'Armenia',
'AT': 'Austria',
'AZ': 'Azerbaijan',
'BH': 'Bahrain',
'BY': 'Belarus',
'BE': 'Belgium',
'BJ': 'Benin',
'BT': 'Bhutan',
'BW': 'Botswana',
'BN': 'Brunei',
'BG': 'Bulgaria',
'BF': 'Burkina-Faso',
'KH': 'Cambodia',
'CV': 'Cape Verde',
'TD': 'Chad',
'CN': 'China',
'CD': 'Republic of Congo',
'HR': 'Croatia',
'CY': 'Cyprus',
'CZ': 'Czech Republic',
'DK': 'Denmark',
'EG': 'Egypt',
'EE': 'Estonia',
'FJ': 'Fiji',
'FI': 'Finland',
'FR': 'France',
'GM': 'Gambia',
'DE': 'Germany',
'GH': 'Ghana',
'GR': 'Greece',
'GW': 'Guinea-Bissau',
'HK': 'Hong Kong',
'HU': 'Hungary',
'IS': 'Iceland',
'IN': 'India',
'ID': 'Indonesia',
'IE': 'Ireland',
'IL': 'Israel',
'IT': 'Italy',
'JO': 'Jordan',
'KZ': 'Kazakhstan',
'KE': 'Kenya',
'KR': 'Korea',
'KW': 'Kuwait',
'KG': 'Kyrgyzstan',
'LA': 'Laos',
'LV': 'Latvia',
'LB': 'Lebanon',
'LR': 'Liberia',
'LT': 'Lithuania',
'LU': 'Luxembourg',
'MO': 'Macao',
'MK': 'Macedonia',
'MG': 'Madagascar',
'MW': 'Malawi',
'MY': 'Malaysia',
'ML': 'Mali',
'MT': 'Republic of Malta',
'MR': 'Mauritania',
'MU': 'Mauritius',
'FM': 'Federal States of Micronesia',
'MD': 'Moldova',
'MN': 'Mongolia',
'MZ': 'Mozambique',
'NA': 'Namibia',
'NP': 'Nepal',
'NL': 'Netherlands',
'NE': 'Niger',
'NG': 'Nigeria',
'NO': 'Norway',
'OM': 'Oman',
'PK': 'Pakistan',
'PW': 'Palau',
'PG': 'Papua New Guinea',
'PH': 'Philippines',
'PL': 'Poland',
'PT': 'Portugal',
'QA': 'Qatar',
'RO': 'Romania',
'RU': 'Russia',
'ST': 'Sao Tome e Principe',
'SA': 'Saudi Arabia',
'SN': 'Senegal',
'SC': 'Seychelles',
'SL': 'Sierra Leone',
'SG': 'Singapore',
'SK': 'Slovakia',
'SI': 'Slovenia',
'SB': 'Solomon Islands',
'ZA': 'South Africa',
'ES': 'Spain',
'LK': 'Sri Lanka',
'SZ': 'Swaziland',
'SE': 'Sweden',
'CH': 'Switzerland',
'TW': 'Taiwan',
'TJ': 'Tajikistan',
'TZ': 'Tanzania',
'TH': 'Thailand',
'TN': 'Tunisia',
'TR': 'Turkey',
'TM': 'Turkmenistan',
'AE': 'United Arab Emirates',
'UG': 'Uganda',
'UA': 'Ukraine',
'GB': 'United Kingdom',
'UZ': 'Uzbekistan',
'VN': 'Vietnam',
'YE': 'Yemen',
'ZW': 'Zimbabwe'
}

japan = {
'JP': 'Japan'
}

us = {
'AR': 'Argentinia',
'AI': 'Anguilla',
'AG': 'Antigua & Barbuda',
'BS': 'Bahamas',
'BB': 'Barbados',
'BZ': 'Belize',
'BM': 'Bermuda',
'BO': 'Bolivia',
'BR': 'Brazil',
'VG': 'British Virgin Islands',
'KY': 'Cayman Islands',
'CL': 'Chile',
'CO': 'Colombia',
'CR': 'Costa Rica',
'DM': 'Dominica',
'DO': 'Dominican Republic',
'EC': 'Ecuador',<commit_msg>Update country list according to current contract<commit_after># -*- coding: utf-8 -*-

# Apple Slicer
#
# Copyright (c) 2015 fedoco <<EMAIL>>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

# List of countries handled by Apple USA and each of Apple's (currently four) foreign subsidiaries.
# Information is taken from Schedule 2, Exhibit A of Apple's "iOS / macOS Paid Applications" contract as effecive of April, 2020.

australia = {
'AU': 'Australia',
'NZ': 'New Zealand'
}

canada = {
'CA': 'Canada' 
}

europe = {
'AF': 'Afghanistan',
'AL': 'Albania',
'DZ': 'Algeria',
'AO': 'Angola',
'AM': 'Armenia',
'AT': 'Austria',
'AZ': 'Azerbaijan',
'BH': 'Bahrain',
'BY': 'Belarus',
'BE': 'Belgium',
'BJ': 'Benin',
'BT': 'Bhutan',
'BA': 'Bosnia and Herzegovina',
'BW': 'Botswana',
'BN': 'Brunei',
'BG': 'Bulgaria',
'BF': 'Burkina-Faso',
'KH': 'Cambodia',
'CM': 'Cameroon',
'CV': 'Cape Verde',
'TD': 'Chad',
'CN': 'China',
'CD': 'Democratic Republic of Congo',
'CG': 'Republic of Congo',
'CI': 'Cote d’Ivoire',
'HR': 'Croatia',
'CY': 'Cyprus',
'CZ': 'Czech Republic',
'DK': 'Denmark',
'EG': 'Egypt',
'EE': 'Estonia',
'FJ': 'Fiji',
'FI': 'Finland',
'FR': 'France',
'GA': 'Gabon',
'GM': 'Gambia',
'GE': 'Georgia',
'DE': 'Germany',
'GH': 'Ghana',
'GR': 'Greece',
'GW': 'Guinea-Bissau',
'HK': 'Hong Kong',
'HU': 'Hungary',
'IS': 'Iceland',
'IN': 'India',
'ID': 'Indonesia',
'IQ': 'Iraq',
'IE': 'Ireland',
'IL': 'Israel',
'IT': 'Italy',
'JO': 'Jordan',
'KZ': 'Kazakhstan',
'KE': 'Kenya',
'KR': 'Korea',
'XK': 'Kosovo',
'KW': 'Kuwait',
'KG': 'Kyrgyzstan',
'LA': 'Laos',
'LV': 'Latvia',
'LB': 'Lebanon',
'LR': 'Liberia',
'LY': 'Libya',
'LT': 'Lithuania',
'LU': 'Luxembourg',
'MO': 'Macao',
'MK': 'Macedonia',
'MG': 'Madagascar',
'MW': 'Malawi',
'MY': 'Malaysia',
'MV': 'Maldives',
'ML': 'Mali',
'MT': 'Republic of Malta',
'MR': 'Mauritania',
'MU': 'Mauritius',
'FM': 'Federal States of Micronesia',
'MD': 'Moldova',
'MN': 'Mongolia',
'ME': 'Montenegro',
'MA': 'Morocco',
'MZ': 'Mozambique',
'MM': 'Myanmar',
'NA': 'Namibia',
'NR': 'Nauru',
'NP': 'Nepal',
'NL': 'Netherlands',
'NE': 'Niger',
'NG': 'Nigeria',
'NO': 'Norway',
'OM': 'Oman',
'PK': 'Pakistan',
'PW': 'Palau',
'PG': 'Papua New Guinea',
'PH': 'Philippines',
'PL': 'Poland',
'PT': 'Portugal',
'QA': 'Qatar',
'RO': 'Romania',
'RU': 'Russia',
'RW': 'Rwanda',
'ST': 'Sao Tome e Principe',
'SA': 'Saudi Arabia',
'SN': 'Senegal',
'RS': 'Serbia',
'SC': 'Seychelles',
'SL': 'Sierra Leone',
'SG': 'Singapore',
'SK': 'Slovakia',
'SI': 'Slovenia',
'SB': 'Solomon Islands',
'ZA': 'South Africa',
'ES': 'Spain',
'LK': 'Sri Lanka',
'SZ': 'Swaziland',
'SE': 'Sweden',
'CH': 'Switzerland',
'TW': 'Taiwan',
'TJ': 'Tajikistan',
'TZ': 'Tanzania',
'TH': 'Thailand',
'TO': 'Tonga',
'TN': 'Tunisia',
'TR': 'Turkey',
'TM': 'Turkmenistan',
'AE': 'United Arab Emirates',
'UG': 'Uganda',
'UA': 'Ukraine',
'GB': 'United Kingdom',
'UZ': 'Uzbekistan',
'VU': 'Vanuatu',
'VN': 'Vietnam',
'YE': 'Yemen',
'ZM': 'Zambia',
'ZW': 'Zimbabwe'
}

japan = {
'JP': 'Japan'
}

us = {
'AR': 'Argentinia',
'AI': 'Anguilla',
'AG': 'Antigua & Barbuda',
'BS': 'Bahamas',
'BB': 'Barbados',
'BZ': 'Belize',
'BM': 'Bermuda',
'BO': 'Bolivia',
'BR': 'Brazil',
'VG': 'British Virgin Islands',
'KY': 'Cayman Islands',
'CL': 'Chile',
'CO': 'Colombia',
'CR': 'Costa Rica',
'DM': 'Dominica',
'DO': 'Dominican Republic',
'EC': 'Ecuador',
{'fraction_non_alphanumeric': 0.23290986085904417, 'fraction_numerical': 0.0024198427102238356, 'mean_word_length': 5.894078398665554, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3881106', 'n_tokens_mistral': 3570, 'n_tokens_neox': 3314, 'n_words': 1073}