<commit_before>//
//  AudioKit.swift
//  AudioKit
//
//  Created by <NAME> on 11/3/14.
//  Copyright (c) 2014 <NAME>. All rights reserved.
//

import Foundation

func akp(num: Float)->AKConstant {
    return AKConstant(value: num)
}

func akpi(num: Int)->AKConstant {
    return AKConstant(value: num)
}

extension Int {
    var ak: AKConstant {return AKConstant(value: self)}
}
extension Double {
    var ak: AKConstant {return AKConstant(value: self)}
}

extension AKSum {
    convenience init(operands: AKParameter...) {
        self.init()
        self.inputs = operands
    }
}

extension AKProduct {
    convenience init(operands: AKParameter...) {
        self.init()
        self.inputs = operands
    }
}<commit_msg>allowing floats to also have the .ak extension<commit_after>//
//  AudioKit.swift
//  AudioKit
//
//  Created by <NAME> on 11/3/14.
//  Copyright (c) 2014 <NAME>. All rights reserved.
//

import Foundation

func akp(num: Float)->AKConstant {
    return AKConstant(value: num)
}

func akpi(num: Int)->AKConstant {
    return AKConstant(value: num)
}

extension Int {
    var ak: AKConstant {return AKConstant(value: self)}
}
extension Float {
    var ak: AKConstant {return AKConstant(value: self)}
}
extension Double {
    var ak: AKConstant {return AKConstant(value: self)}
}

extension AKSum {
    convenience init(operands: AKParameter...) {
        self.init()
        self.inputs = operands
    }
}

extension AKProduct {
    convenience init(operands: AKParameter...) {
        self.init()
        self.inputs = operands
    }
}
{'fraction_non_alphanumeric': 0.1276459268762027, 'fraction_numerical': 0.011545862732520847, 'mean_word_length': 2.870967741935484, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, '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': '4725104', 'n_tokens_mistral': 527, 'n_tokens_neox': 494, 'n_words': 137}