<commit_before>// Create module
var pigLatinServices = angular.module('pigLatinService', []);

// Declare dependencies for module
myModule.factory('pigLatinFactory', function() {
  var newPigLatinInstance;
  // factory function body that constructs shinyNewServiceInstance
  return newPigLatinInstance;
});
<commit_msg>adds pig latin service, words beginnig with constant only<commit_after>// Create module
var pigLatinServiceModule = angular.module('pigLatinServiceModule', []);

// Declare dependencies for module
pigLatinServiceModule.service('pigLatinServices', function() {

  var pigLatinize = function(string) {

    var parameterString = string;
    console.log(string);

    var pigLatinizedString = parameterString.substring(1) + parameterString.substring(0,1) + "ay";
    console.log(pigLatinizedString);

    return pigLatinizedString;
  }
   return pigLatinize;
});

{'fraction_non_alphanumeric': 0.10352673492605233, 'fraction_numerical': 0.0034129692832764505, 'mean_word_length': 5.518518518518518, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '646010', 'n_tokens_mistral': 261, 'n_tokens_neox': 241, 'n_words': 59}