<commit_before>class GeocodingService {
  constructor($http, $translate) {
    "ngInject";
    Object.assign(this, {
      $http,
      $translate
    });
  }

  lookupAddress(address, lang = false) {
    if (!lang) lang = this.$translate.use();
    return this.$http.get("https://nominatim.openstreetmap.org/search", {
      params: { "accept-language": lang, format: "json", q: address }
    }).then((res) => {
      return res.data.map((p) => {
        return {
          latitude: parseFloat(p.lat),
          longitude: parseFloat(p.lon),<commit_msg>fix: don't use loading bar for Geocoding service<commit_after>class GeocodingService {
  constructor($http, $translate) {
    "ngInject";
    Object.assign(this, {
      $http,
      $translate
    });
  }

  lookupAddress(address, lang = false) {
    if (!lang) lang = this.$translate.use();
    return this.$http.get("https://nominatim.openstreetmap.org/search", {
      params: { "accept-language": lang, format: "json", q: address },
      ignoreLoadingBar: true
    }).then((res) => {
      return res.data.map((p) => {
        return {
          latitude: parseFloat(p.lat),
          longitude: parseFloat(p.lon),
{'fraction_non_alphanumeric': 0.16340425531914893, 'fraction_numerical': 0.0, 'mean_word_length': 2.8181818181818183, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '2883272', 'n_tokens_mistral': 376, 'n_tokens_neox': 372, 'n_words': 72}