<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataGenerator.Types
{
    public class Country
    {
        private static IReadOnlyList<string> Titles { get; }

        private static IReadOnlyList<string> Initials { get; }
        public string Title { get; private set; }

        public string IsoCode { get; private set; }

        static Country() {
            Titles = DataGenHelperClass.ReadFromFile("Country/country.txt");
            Initials = DataGenHelperClass.ReadFromFile("Country/inital.txt");
        }

        public Country() {
            var fetchRandomItem = DataGenHelperClass.FetchRandomBundledWithIndex(Titles);
            Title = fetchRandomItem.Item1;
            IsoCode = Initials[fetchRandomItem.Item2];
        }
    }<commit_msg>removed seter from isocode and title<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataGenerator.Types
{
    public class Country
    {
        private static IReadOnlyList<string> Titles { get; }

        private static IReadOnlyList<string> Initials { get; }
        public string Title { get; }

        public string IsoCode { get; }

        static Country() {
            Titles = DataGenHelperClass.ReadFromFile("Country/country.txt");
            Initials = DataGenHelperClass.ReadFromFile("Country/inital.txt");
        }

        public Country() {
            var fetchRandomItem = DataGenHelperClass.FetchRandomBundledWithIndex(Titles);
            Title = fetchRandomItem.Item1;
            IsoCode = Initials[fetchRandomItem.Item2];
        }
    }
{'fraction_non_alphanumeric': 0.08736167734420501, 'fraction_numerical': 0.0023296447291788003, 'mean_word_length': 2.7510917030567685, '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': '4126346', 'n_tokens_mistral': 467, 'n_tokens_neox': 468, 'n_words': 105}