<commit_before>//
//  String+Typographizer.swift
//  Typographizer
//
//  Created by <NAME> on 2017-02-04.
//  Copyright © 2017 <NAME>.
//

import Foundation

extension String {
    func typographized(language: String, isHTML: Bool = true, debug: Bool = false, measurePerformance: Bool = false) -> String {
        var t = Typographizer(language: language, text: self)
        t.isHTML = isHTML
        t.isDebugModeEnabled = debug
        t.isMeasurePerformanceEnabled = measurePerformance
        
        return t.typographize()
    }
}
<commit_msg>Default to isHTML = false in String extension.<commit_after>//
//  String+Typographizer.swift
//  Typographizer
//
//  Created by <NAME> on 2017-02-04.
//  Copyright © 2017 <NAME>.
//

import Foundation

extension String {
    func typographized(language: String, isHTML: Bool = false, debug: Bool = false, measurePerformance: Bool = false) -> String {
        var t = Typographizer(language: language, text: self)
        t.isHTML = isHTML
        t.isDebugModeEnabled = debug
        t.isMeasurePerformanceEnabled = measurePerformance
        
        return t.typographize()
    }
}

{'fraction_non_alphanumeric': 0.10896309314586995, 'fraction_numerical': 0.0210896309314587, 'mean_word_length': 2.734426229508197, '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': '659332', 'n_tokens_mistral': 363, 'n_tokens_neox': 328, 'n_words': 92}