<commit_before>var BinaryParser = require('../bson/binary_parser').BinaryParser,
  Binary = require('../bson/binary').Binary,
  ObjectID = require('../bson/objectid').ObjectID,
  sys = require('util'),
  debug = require('util').debug,
  inspect = require('util').inspect;

/**
 * Class for representing a signle chunk in GridFS.
 *
 * @class
 *
 * @param file {GridStore} The {@link GridStore} object holding this chunk.
 * @param mongoObject {object} The mongo object representation of this chunk.
 *
 * @throws Error when the type of data field for {@link mongoObject} is not
 *     supported. Currently supported types for data field are instances of
 *     {@link String}, {@link Array}, {@link Binary} and {@link Binary}
 *     from the bson module
 *
 * @see Chunk#buildMongoObject<commit_msg>gridfs/chunk: Fixed typo<commit_after>var BinaryParser = require('../bson/binary_parser').BinaryParser,
  Binary = require('../bson/binary').Binary,
  ObjectID = require('../bson/objectid').ObjectID,
  sys = require('util'),
  debug = require('util').debug,
  inspect = require('util').inspect;

/**
 * Class for representing a single chunk in GridFS.
 *
 * @class
 *
 * @param file {GridStore} The {@link GridStore} object holding this chunk.
 * @param mongoObject {object} The mongo object representation of this chunk.
 *
 * @throws Error when the type of data field for {@link mongoObject} is not
 *     supported. Currently supported types for data field are instances of
 *     {@link String}, {@link Array}, {@link Binary} and {@link Binary}
 *     from the bson module
 *
 * @see Chunk#buildMongoObject
{'fraction_non_alphanumeric': 0.13300186451211932, 'fraction_numerical': 0.0, 'mean_word_length': 4.062893081761007, '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': '939870', 'n_tokens_mistral': 466, 'n_tokens_neox': 460, 'n_words': 161}