<commit_before>/* global define, module */

import Ember from 'ember';
import {
  Inflector,
  defaultRules,
  pluralize,
  singularize
} from "./lib/system";

Inflector.defaultRules = defaultRules;
Ember.Inflector        = Inflector;

Ember.String.pluralize   = pluralize;
Ember.String.singularize = singularize;

import "./lib/ext/string";

export default Inflector;

export {
  pluralize,
  singularize,
  defaultRules
};

if (typeof define !== 'undefined' && define.amd){
  define('ember-inflector', ['exports'], function(__exports__){
    __exports__['default'] = Inflector;
    return Inflector;
  });
} else if (typeof module !== 'undefined' && module['exports']){
  module['exports'] = Inflector;
}<commit_msg>Expose the same API for `define.amd`.<commit_after>/* global define, module */

import Ember from 'ember';
import {
  Inflector,
  defaultRules,
  pluralize,
  singularize
} from "./lib/system";

Inflector.defaultRules = defaultRules;
Ember.Inflector        = Inflector;

Ember.String.pluralize   = pluralize;
Ember.String.singularize = singularize;

import "./lib/ext/string";

export default Inflector;

export {
  pluralize,
  singularize,
  defaultRules
};

if (typeof define !== 'undefined' && define.amd){
  define('ember-inflector', ['exports'], function(__exports__){
    __exports__['default'] = Inflector;
    __exports__.pluralize = pluralize;
    __exports__.singularize = singularize;

    return Inflector;
  });
} else if (typeof module !== 'undefined' && module['exports']){
  module['exports'] = Inflector;
  Inflector.singularize = singularize;
  Inflector.pluralize = pluralize;
}
{'fraction_non_alphanumeric': 0.13976499690785404, 'fraction_numerical': 0.0, 'mean_word_length': 4.447811447811448, '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': '7506524', 'n_tokens_mistral': 504, 'n_tokens_neox': 521, 'n_words': 117}