<commit_before><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>Google Maps JavaScript API Example</title>
    <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=<KEY>"
      type="text/javascript"></script>
    <style type="text/css">
      body {
        font-family: Arial, sans serif;
        font-size: 11px;
      }
      td {
        text-align: center; 
      }
      img {
        color: #000000;
      }
    </style>
    <script type="text/javascript">
    //<![CDATA[

    var map;
    var geocoder = null;
    var addressMarker;

    var countryData = {
      "brazil": { lat: -23.529996, lng: -46.630096, address: "Avenida Lineu de Paula Machado 1263, Sao Paulo - SP Brazil"},
      "poland": { lat: 52.389011, lng: 19.006348, address: ""},
      "czechrepublic": { lat: 49.781264, lng: 15.303955, address: ""},
      "portugal": { lat: 39.470125, lng: -8.063965, address: ""},
      "hungary": { lat: 47.144897, lng: 19.116211, address: ""},
    };

    function load() {
      if (GBrowserIsCompatible()) {
        map = new GMap2(document.getElementById("map"));
        map.addControl(new GSmallMapControl());
        map.addControl(new GMapTypeControl());
        map.setCenter(new GLatLng(22.917922, -16.875), 2);

        // Create a base icon for all of our markers that specifies the
        // shadow, icon dimensions, etc.
        var baseIcon = new GIcon();
        baseIcon.shadow = "icon_flagshadow.png";
        baseIcon.iconSize = new GSize(21, 14);
        baseIcon.shadowSize = new GSize(35, 27);
        baseIcon.iconAnchor = new GPoint(9, 5);

        function createMarker(point, country) {
          // Create a lettered icon for this point using our icon class
          var icon = new GIcon(baseIcon);
          icon.image = "icon_" + country + ".png";
          var marker = new GMarker(point, icon);

          GEvent.addListener(marker, "click", function() {
            map.setCenter(new GLatLng(countryData[country].lat, countryData[country].lng), 9);
          });
          return marker;
        }

        for (var country in countryData) {
          var point = new GLatLng(countryData[country].lat,
                                  countryData[country].lng);
          map.addOverlay(createMarker(point, country));
        }
        geocoder = new GClientGeocoder();
      }
    }

    function showAddress(address) {
      if (geocoder) {
        geocoder.getLatLng(address,
          function(point) {
            if (!point) {
              alert(address + " not found");
            } else {
              if (addressMarker) {
                map.removeOverlay(addressMarker);
              }
              addressMarker = new GMarker(point);
              map.setCenter(point, 15);
              map.addOverlay(addressMarker);
            }
          }
        );
      }
    }

    function zoomTo(country) {
      map.setCenter(new GLatLng(countryData[country].lat, countryData[country].lng), 9);
      document.getElementById("addressInput").value = countryData[country].address;
    }
    //]]>
    </script>
  </head>

  <body onload="load()" onunload="GUnload()">
    <form action="#" onsubmit="showAddress(this.address.value); return false">
      <p>
        <input type="text" size="60" id="addressInput" name="address" value="" />
        <input type="submit" value="Go!" />
      </p>
    </form>

    <table width="450">
    <tr>
    <td><a href="#" onclick="zoomTo('brazil')"><img src="icon_brazil.png" border="1"></a></td>
    <td><a href="#" onclick="zoomTo('hungary')"><img src="icon_hungary.png" border="1"></a></td>
    <td><a href="#" onclick="zoomTo('poland')"><img src="icon_poland.png" border="1"></a></td>
    <td><a href="#" onclick="zoomTo('portugal')"><img src="icon_portugal.png" border="1"></a></td>
    <td><a href="#" onclick="zoomTo('czechrepublic')"><img src="icon_czechrepublic.png" border="1"></a></td>
    </tr>
    <tr>
    <td>Brazil</td>
    <td>Hungary</td>
    <td>Poland</td>
    <td>Portugal</td>
    <td>Czech Republic</td>
    </tr>
    </table>
    <div id="map" style="width: 450px; height: 300px"></div>
  </body>
</html>
<commit_msg>Adding geocoder example<commit_after><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>Google Maps JavaScript API Example</title>
    <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=<KEY>"
      type="text/javascript"></script>
    <style type="text/css">
      body {
        font-family: Arial, sans serif;
        font-size: 11px;
      }
      td {
        text-align: center; 
      }
      img {
        color: #000000;
      }
    </style>
    <script type="text/javascript">
    //<![CDATA[

    var map;
    var geocoder = null;
    var addressMarker;

    var countryData = {
      "brazil": { lat: -23.529996, lng: -46.630096, address: "Avenida Lineu de Paula Machado 1263, Sao Paulo - SP Brazil"},
      "poland": { lat: 52.389011, lng: 19.006348, address: ""},
      "czechrepublic": { lat: 49.781264, lng: 15.303955, address: ""},
      "portugal": { lat: 39.470125, lng: -8.063965, address: ""},
      "hungary": { lat: 47.144897, lng: 19.116211, address: ""},
    };

    function load() {
      if (GBrowserIsCompatible()) {
        map = new GMap2(document.getElementById("map"));
        map.addControl(new GSmallMapControl());
        map.addControl(new GMapTypeControl());
        map.setCenter(new GLatLng(22.917922, -16.875), 2);

        // Create a base icon for all of our markers that specifies the
        // shadow, icon dimensions, etc.
        var baseIcon = new GIcon();
        baseIcon.shadow = "icon_flagshadow.png";
        baseIcon.iconSize = new GSize(21, 14);
        baseIcon.shadowSize = new GSize(35, 27);
        baseIcon.iconAnchor = new GPoint(9, 5);

        function createMarker(point, country) {
          // Create a lettered icon for this point using our icon class
          var icon = new GIcon(baseIcon);
          icon.image = "icon_" + country + ".png";
          var marker = new GMarker(point, icon);

          GEvent.addListener(marker, "click", function() {
            map.setCenter(new GLatLng(countryData[country].lat, countryData[country].lng), 9);
          });
          return marker;
        }

        for (var country in countryData) {
          var point = new GLatLng(countryData[country].lat,
                                  countryData[country].lng);
          map.addOverlay(createMarker(point, country));
        }
        geocoder = new GClientGeocoder();
      }
    }

    function showAddress(address) {
      if (geocoder) {
        geocoder.getLatLng(address,
          function(point) {
            if (!point) {
              alert(address + " not found");
            } else {
              if (addressMarker) {
                map.removeOverlay(addressMarker);
              }
              addressMarker = new GMarker(point);
              map.setCenter(point, 15);
              map.addOverlay(addressMarker);
            }
          }
        );
      }
    }

    function zoomTo(country) {
      map.setCenter(new GLatLng(countryData[country].lat, countryData[country].lng), 9);
      document.getElementById("addressInput").value = countryData[country].address;
    }
    //]]>
    </script>
  </head>

  <body onload="load()" onunload="GUnload()">
    <form action="#" onsubmit="showAddress(this.address.value); return false">
      <p>
        <input type="text" size="60" id="addressInput" name="address" value="" />
        <input type="submit" value="Go!" />
      </p>
    </form>

    <table width="450">
    <tr>
    <td width="20">&nbsp;</td>
    <td><a href="#" onclick="zoomTo('brazil')"><img src="icon_brazil.png" border="1"></a></td>
    <td><a href="#" onclick="zoomTo('hungary')"><img src="icon_hungary.png" border="1"></a></td>
    <td><a href="#" onclick="zoomTo('poland')"><img src="icon_poland.png" border="1"></a></td>
    <td><a href="#" onclick="zoomTo('portugal')"><img src="icon_portugal.png" border="1"></a></td>
    <td><a href="#" onclick="zoomTo('czechrepublic')"><img src="icon_czechrepublic.png" border="1"></a></td>
    <td width="20">&nbsp;</td>
    </tr>
    <tr>
    <td width="20">&nbsp;</td>
    <td>Brazil</td>
    <td>Hungary</td>
    <td>Poland</td>
    <td>Portugal</td>
    <td>Czech Republic</td>
    <td width="20">&nbsp;</td>
    </tr>
    </table>
    <div id="map" style="width: 450px; height: 300px"></div>
  </body>
</html>

{'fraction_non_alphanumeric': 0.17221090744512332, 'fraction_numerical': 0.034623217922606926, 'mean_word_length': 2.4299573147070235, 'pattern_counts': {'":': 10, '<': 145, '<?xml version=': 0, '>': 145, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '747778', 'n_tokens_mistral': 3152, 'n_tokens_neox': 2892, 'n_words': 586}