<commit_before>//
//  LicenseTableViewController.swift
//  Usbong
//
//  Created by <NAME> on 13/03/2016.
//  Copyright © 2016 Usbong Social Systems, Inc. All rights reserved.
//

import UIKit

class LicenseTableViewController: UITableViewController {
    var license: String? {
        didSet {
            navigationItem.title = title ?? "Unkown"
            tableView.reloadData()
        }
    }
    
    var licenseText: String? {
        guard let title = license else { return nil }
        
        return licenseTextForLicense(title)
    }
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
        tableView.rowHeight = UITableViewAutomaticDimension
        tableView.estimatedRowHeight = 100
    }
    
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }<commit_msg>Fix setting of title from license<commit_after>//
//  LicenseTableViewController.swift
//  Usbong
//
//  Created by <NAME> on 13/03/2016.
//  Copyright © 2016 Usbong Social Systems, Inc. All rights reserved.
//

import UIKit

class LicenseTableViewController: UITableViewController {
    var license: String? {
        didSet {
            navigationItem.title = license ?? "Unkown"
            tableView.reloadData()
        }
    }
    
    var licenseText: String? {
        guard let title = license else { return nil }
        
        return licenseTextForLicense(title)
    }
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
        tableView.rowHeight = UITableViewAutomaticDimension
        tableView.estimatedRowHeight = 100
    }
    
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
{'fraction_non_alphanumeric': 0.08114035087719298, 'fraction_numerical': 0.01644736842105263, 'mean_word_length': 2.1905594405594404, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1996178', 'n_tokens_mistral': 532, 'n_tokens_neox': 488, 'n_words': 131}