<commit_before>//
//  GraphContext.swift
//  SOGraphDB
//
//  Created by <NAME> on 07.06.14.
//  Copyright (c) 2014 <NAME>. All rights reserved.
//

let cNodeStoreFileName         = "nodestore.db";
let cRelationshipStoreFileName = "relation.db";
let cPropertyStoreFileName     = "property.db";
let cStringStoreFileName       = "stringstore.db";

public class GraphContext {
    
    let url: NSURL
    var error: NSError?  // readonly?
    var temporary = false  // // delete data wrapper after closing the context
    
    var nodeStore: ObjectStore<Node>!
    var relationshipStore: ObjectStore<Relationship>!
    var propertyStore: ObjectStore<Property>!
    var stringStore: StringStore!
    
    //#pragma mark -
    
    public init(url: NSURL) {
        self.url = url
        setupFileStores()
    }
<commit_msg>fix problem with missing Foundation classes<commit_after>//
//  GraphContext.swift
//  SOGraphDB
//
//  Created by <NAME> on 07.06.14.
//  Copyright (c) 2014 <NAME>. All rights reserved.
//

import Foundation

let cNodeStoreFileName         = "nodestore.db";
let cRelationshipStoreFileName = "relation.db";
let cPropertyStoreFileName     = "property.db";
let cStringStoreFileName       = "stringstore.db";

public class GraphContext {
    
    let url: NSURL
    var error: NSError?  // readonly?
    var temporary = false  // // delete data wrapper after closing the context
    
    var nodeStore: ObjectStore<Node>!
    var relationshipStore: ObjectStore<Relationship>!
    var propertyStore: ObjectStore<Property>!
    var stringStore: StringStore!
    
    //#pragma mark -
    
    public init(url: NSURL) {
        self.url = url
        setupFileStores()
    }

{'fraction_non_alphanumeric': 0.10420367081113084, 'fraction_numerical': 0.011841326228537596, 'mean_word_length': 2.7306843267108167, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '632456', 'n_tokens_mistral': 522, 'n_tokens_neox': 499, 'n_words': 141}