<commit_before>import IndexedDb from './services/indexed-db';
import IndexedDbConfiguration from './services/indexed-db-configuration';

/**
 * ## Installation
 * ```shell
 * ember install ember-indexeddb
 * ```
 *
 * ## Changelog
 * Changelog can be found [here](https://github.com/mydea/ember-indexeddb/blob/master/CHANGELOG.md)
 *
 *
 * ## Looking for help?
 * If it is a bug [please open an issue on GitHub](http://github.com/mydea/ember-indexeddb/issues).
 *
 * @module Usage
 * @public
 */

/**
 * ## Setup

 After installing the addon, you'll need to setup the database on application start.
 For this, you should add the following to your application/route.js:

 ```js
 // application/route.js or routes/application.js
 import Ember from 'ember';

 export default Ember.Route.extend({
  indexedDb: Ember.inject.service(),

  beforeModel() {<commit_msg>Improve docs<commit_after>import IndexedDb from './services/indexed-db';
import IndexedDbConfiguration from './services/indexed-db-configuration';

/**
 *
 * This addon provides utilities to work with IndexedDB based on [Dexie](http://dexie.org/).
 * It provides:
 *
 * * A service to configure the database & migrations/upgrades
 * * A service to interact with the database
 * * An ember-data adapter for IndexedDB
 * * Test helpers
 *
 * This set of utilities makes it possible to query data from an API, put it into IndexedDB,
 * and work with a local database for full offline capabilities.
 *
 * ## Installation
 * ```shell
 * ember install ember-indexeddb
 * ```
 *
 * ## Changelog
 * Changelog can be found [here](https://github.com/mydea/ember-indexeddb/blob/master/CHANGELOG.md)
 *
 *
 * ## Looking for help?
 * If it is a bug [please open an issue on GitHub](http://github.com/mydea/ember-indexeddb/issues).
 *
 * @module Usage
 * @public
 */

/**
 * ## Setup

 After installing the addon, you'll need to setup the database on application start.
 For this, you should add the following to your application/route.js:

 ```js
 // application/route.js or routes/application.js
 import Ember from 'ember';

 export default Ember.Route.extend({
  indexedDb: Ember.inject.service(),

  beforeModel() {
{'fraction_non_alphanumeric': 0.12517321016166283, 'fraction_numerical': 0.0, 'mean_word_length': 3.8348214285714284, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '566454', 'n_tokens_mistral': 666, 'n_tokens_neox': 653, 'n_words': 210}