<commit_before>//
//  Utilities.swift
//  Spine
//
//  Created by <NAME> on 27-12-14.
//  Copyright (c) 2014 <NAME>. All rights reserved.
//

import Foundation

extension NSError {
	func isSpineError() -> Bool {
		return self.domain == SPINE_ERROR_DOMAIN
	}
	
	func isSpineAPIError() -> Bool {
		return self.domain == SPINE_API_ERROR_DOMAIN
	}
}
<commit_msg>Removed NSError extension for checking Spine errors.<commit_after>//
//  Utilities.swift
//  Spine
//
//  Created by <NAME> on 27-12-14.
//  Copyright (c) 2014 <NAME>. All rights reserved.
//

import Foundation
{'fraction_non_alphanumeric': 0.13908450704225353, 'fraction_numerical': 0.035211267605633804, 'mean_word_length': 3.007042253521127, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, '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': '1836636', 'n_tokens_mistral': 224, 'n_tokens_neox': 197, 'n_words': 54}