<commit_before>function checkSameLength(u::Array{Float64, 1}, v::Array{Float64, 1})
    if !(size(u, 1) == size(v, 1))
        error("u and v vector must be of same length")
    end
    return true
end

function getFamAndParams(cop::ParamPC)
    return (float(getCopId(cop)), cop.params)
end
<commit_msg>allow different handling of parameters in future<commit_after>function checkSameLength(u::Array{Float64, 1}, v::Array{Float64, 1})
    if !(size(u, 1) == size(v, 1))
        error("u and v vector must be of same length")
    end
    return true
end

function getFamAndParams(cop::ParamPC)
    return (float(getCopId(cop)), paramsMatlab(cop))
end

## this functions exists so that copula types at some point can be
## changed to follow the interface of Distributions.jl more closely.
## This means that each copula type will have multiple fields, one for
## each parameter, and function params(cop::ParamCop) will generally
## return a tuple. This allows additional flexibility, since a single
## parameter then can be more than just a single Float value, but it
## could also be a covariance matrix or a PCModification.
function paramsMatlab(cop::PairCop)
    return cop.params
end

{'fraction_non_alphanumeric': 0.09949409780775717, 'fraction_numerical': 0.013490725126475547, 'mean_word_length': 4.599056603773585, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '172396', 'n_tokens_mistral': 358, 'n_tokens_neox': 344, 'n_words': 141}