<commit_before>import { deprecate } from '@ember/application/deprecations';
import { warn } from '@ember/debug';

import { collection as mainCollection } from './collection/main';
import { collection as legacyCollection } from './collection/legacy';

/**
 * @public
 *
 * Creates a enumerable that represents a collection of items. The collection is zero-indexed
 * and has the following public methods and properties:
 *
 * IMPORTANT: You can use Array accessors only on browsers that support Proxy.
 *            See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy#Browser_compatibility<commit_msg>[doc] add link to the legacy collection API<commit_after>import { deprecate } from '@ember/application/deprecations';
import { warn } from '@ember/debug';

import { collection as mainCollection } from './collection/main';
import { collection as legacyCollection } from './collection/legacy';

/**
 * @public
 *
 * <div class="alert alert-warning" role="alert">
 *   <strong>Note:</strong> v1.14.x introduces the new collection API.
 *   You can see the legacy collection API in the [v1.13.x docs](/docs/v1.13.x/api/collection).
 * </div>
 *
 * Creates a enumerable that represents a collection of items. The collection is zero-indexed
 * and has the following public methods and properties:
 *
 * IMPORTANT: You can use Array accessors only on browsers that support Proxy.
 *            See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy#Browser_compatibility
{'fraction_non_alphanumeric': 0.10988296488946683, 'fraction_numerical': 0.005851755526657998, 'mean_word_length': 4.27054794520548, 'pattern_counts': {'":': 0, '<': 7, '<?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': '5436192', 'n_tokens_mistral': 424, 'n_tokens_neox': 407, 'n_words': 141}