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

namespace Sdx.Web
{
  public class Url
  {
    public Url(String str)
    {

    }
  }
}<commit_msg>コンストラクタの内部動作を追加<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sdx.Web
{
  public class Url
  {
    private Uri _uri;
    private Dictionary<string, string> _query_data;

    //コンストラクタ
    public Url(string url_str)
    {
      //@System.Uri
      this._uri = new Uri(url_str);

      //クエリを分解して連想配列にする
      string[] param_list = this._uri.Query.Split('&');
      Dictionary<string, string> data = new Dictionary<string, string>();
      foreach (var item in param_list)
      {
        string[] item_part = item.Split('=');
        data.Add(item_part[0], item_part[1]);
      }
      this._query_data = data;
    }
  }
}
{'fraction_non_alphanumeric': 0.12148481439820022, 'fraction_numerical': 0.0022497187851518562, 'mean_word_length': 2.8528138528138527, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '1300486', 'n_tokens_mistral': 325, 'n_tokens_neox': 318, 'n_words': 66}