<commit_before>// URI.js
// Project: https://github.com/medialize/URI.js
// Definitions by: https://github.com/RodneyJT
/// <reference path="../jquery/jquery.d.ts" />

interface URIOptions {
    protocol?: string;
    username?: string;
    password?: string;
    hostname?: string;
    port?: string;
    path?: string;
    query?: string;
    fragment?: string;
}

declare class URI {
    constructor();
    constructor(options: URIOptions);
    clone(): URI;
    href(): string;
    href(url: string): void;
    valueOf(): string;
    scheme(): string;
    protocol(): string;
    scheme(protocol: string): URI;
    protocol(protocol: string): URI;
    username(): string;
    username(uname: string): URI;
    password(): string;
    password(pw: string): URI;
    port(): string;
    port(port: string): URI;
    hostname(): string;
    hostname(hostname: string): URI;
    host(): string;
    host(host: string): URI;
    userinfo(): string;
    userinfo(userinfo: string): URI;
    authority(): string;
    authority(authority: string): URI;
    domain(): string;
    domain(domain: bool): string;
    domain(domain: string): URI;
    subdomain(): string;
    subdomain(subdomain: string): URI;
    tld(): string;<commit_msg>Fixed URI constructor<commit_after>// URI.js
// Project: https://github.com/medialize/URI.js
// Definitions by: https://github.com/RodneyJT
/// <reference path="../jquery/jquery.d.ts" />

interface URIOptions {
    protocol?: string;
    username?: string;
    password?: string;
    hostname?: string;
    port?: string;
    path?: string;
    query?: string;
    fragment?: string;
}

declare class URI {
    constructor();
    constructor(uri: string);
    constructor(options: URIOptions);
    clone(): URI;
    href(): string;
    href(url: string): void;
    valueOf(): string;
    scheme(): string;
    protocol(): string;
    scheme(protocol: string): URI;
    protocol(protocol: string): URI;
    username(): string;
    username(uname: string): URI;
    password(): string;
    password(pw: string): URI;
    port(): string;
    port(port: string): URI;
    hostname(): string;
    hostname(hostname: string): URI;
    host(): string;
    host(host: string): URI;
    userinfo(): string;
    userinfo(userinfo: string): URI;
    authority(): string;
    authority(authority: string): URI;
    domain(): string;
    domain(domain: bool): string;
    domain(domain: string): URI;
    subdomain(): string;
    subdomain(subdomain: string): URI;
    tld(): string;
{'fraction_non_alphanumeric': 0.15987210231814547, 'fraction_numerical': 0.0, 'mean_word_length': 3.2640545144804087, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, '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': '6836766', 'n_tokens_mistral': 749, 'n_tokens_neox': 747, 'n_words': 207}