<commit_before># Necessary
pathUtil = require('path')
balUtil = require('bal-util')
_ = require('underscore')
mime = require('mime')

# Optional
CSON = null
yaml = null

# Local
{Model} = require(__dirname+'/../base')
FileModel = require(__dirname+'/file')


# ---------------------------------
# Document Model

class DocumentModel extends FileModel

	# Model Type
	type: 'document'


	# ---------------------------------
	# Attributes

	defaults:
<commit_msg>Removed base Model requirement for Document<commit_after># Necessary
pathUtil = require('path')
balUtil = require('bal-util')
_ = require('underscore')
mime = require('mime')

# Optional
CSON = null
yaml = null

# Local
FileModel = require(__dirname+'/file')


# ---------------------------------
# Document Model

class DocumentModel extends FileModel

	# Model Type
	type: 'document'


	# ---------------------------------
	# Attributes

	defaults:

{'fraction_non_alphanumeric': 0.2565789473684211, 'fraction_numerical': 0.0, 'mean_word_length': 2.3940520446096656, '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': '3603830', 'n_tokens_mistral': 268, 'n_tokens_neox': 249, 'n_words': 65}