<commit_before>/// <summary>Creates an object from a class definition or an Automation-enabled application.</summary>
/// <param name="cClassName">Specifies the class or OLE object from which the new object is created.</param>
/// <param name="_args">These optional parameters are used to pass values to the Init event procedure for the class.
/// The Init event is executed when you issue CREATEOBJECT( ) and allows you to initialize the object.</param>
/// <returns>The object that was created</returns>
/// <seealso cref='M:XSharp.RT.Functions.CreateInstance(XSharp.__Usual)' >CreateInstance</seealso>

FUNCTION CreateObject(cClassName, _args ) AS OBJECT CLIPPER
    LOCAL args AS USUAL[]
    args := USUAL[]{PCount()}
    FOR nArg := 1 TO PCount()
        args[nArg] := _GetFParam(nArg)
    NEXT
    RETURN CreateInstance(args)
<commit_msg>[Runtime] Corrected doc errors<commit_after>/// <summary>Creates an object from a class definition or an Automation-enabled application.</summary>
/// <param name="cClassName">Specifies the class or OLE object from which the new object is created.</param>
/// <param name="_args">These optional parameters are used to pass values to the Init event procedure for the class.
/// The Init event is executed when you issue CREATEOBJECT( ) and allows you to initialize the object.</param>
/// <returns>The object that was created</returns>
/// <seealso cref='M:XSharp.RT.Functions.CreateInstance(XSharp.__Usual,XSharp.__Usual)' >CreateInstance</seealso>

FUNCTION CreateObject(cClassName, _args ) AS OBJECT CLIPPER
    LOCAL args AS USUAL[]
    args := USUAL[]{PCount()}
    FOR nArg := 1 TO PCount()
        args[nArg] := _GetFParam(nArg)
    NEXT
    RETURN CreateInstance(args)

{'fraction_non_alphanumeric': 0.11162790697674418, 'fraction_numerical': 0.0011627906976744186, 'mean_word_length': 4.295384615384616, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '4250219', 'n_tokens_mistral': 483, 'n_tokens_neox': 467, 'n_words': 181}