<commit_before>//
//  Extensions.swift
//  Gliphy
//
//  Created by <NAME> on 4/30/16.
//  Copyright © 2016 Tallwave. All rights reserved.
//

import Foundation

extension UILabel {
    var textStyle: String? {
        return font.fontDescriptor().fontAttributes()[Util.dynamicTextAttribute] as? String
    }
}

extension UIButton {
    var textStyle: String? {
        return titleLabel?.font.fontDescriptor().fontAttributes()[Util.dynamicTextAttribute] as? String
    }
}

extension UITextField {
    var textStyle: String? {
        return font?.fontDescriptor().fontAttributes()[Util.dynamicTextAttribute] as? String
    }
}

extension UITextView {
    var textStyle: String? {
        return font?.fontDescriptor().fontAttributes()[Util.dynamicTextAttribute] as? String
    }
}<commit_msg>Import UIKit<commit_after>//
//  Extensions.swift
//  Gliphy
//
//  Created by <NAME> on 4/30/16.
//  Copyright © 2016 Tallwave. All rights reserved.
//

import UIKit

extension UILabel {
    var textStyle: String? {
        return font.fontDescriptor().fontAttributes()[Util.dynamicTextAttribute] as? String
    }
}

extension UIButton {
    var textStyle: String? {
        return titleLabel?.font.fontDescriptor().fontAttributes()[Util.dynamicTextAttribute] as? String
    }
}

extension UITextField {
    var textStyle: String? {
        return font?.fontDescriptor().fontAttributes()[Util.dynamicTextAttribute] as? String
    }
}

extension UITextView {
    var textStyle: String? {
        return font?.fontDescriptor().fontAttributes()[Util.dynamicTextAttribute] as? String
    }
}
{'fraction_non_alphanumeric': 0.11883691529709228, 'fraction_numerical': 0.011378002528445006, 'mean_word_length': 3.3729281767955803, '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': '4123162', 'n_tokens_mistral': 472, 'n_tokens_neox': 448, 'n_words': 107}