<commit_before>import {Component, Input} from "@angular/core";
import {TextQueryTerm} from "../../../shared/model/queries/text-query-term.model";
import {MatCheckboxChange} from "@angular/material";
@Component({
    selector: 'qt-text',
    templateUrl: 'text-query-term.component.html',
    styleUrls: ['text-query-term.component.css']
})
export class TextQueryTermComponent {


    /** The TextQueryTerm object associated with this TextQueryTermComponent. That object holds all the query settings. */
    @Input()
    private textTerm: TextQueryTerm;

    /**
     * List of tuples that designate the available categories.
     *
     * First entry designates the name of the category and the second
     * entry designates the label.
     */
    public readonly categories: [string, string][] = [
        ['ocr', 'Text on Screen'],
        ['asr', 'Subtitles'],
        ['metadata', 'Metadata'],
    ];

    /**<commit_msg>Added / corrected the two new fulltext-search capabilities.<commit_after>import {Component, Input} from "@angular/core";
import {TextQueryTerm} from "../../../shared/model/queries/text-query-term.model";
import {MatCheckboxChange} from "@angular/material";
@Component({
    selector: 'qt-text',
    templateUrl: 'text-query-term.component.html',
    styleUrls: ['text-query-term.component.css']
})
export class TextQueryTermComponent {


    /** The TextQueryTerm object associated with this TextQueryTermComponent. That object holds all the query settings. */
    @Input()
    private textTerm: TextQueryTerm;

    /**
     * List of tuples that designate the available categories.
     *
     * First entry designates the name of the category and the second
     * entry designates the label.
     */
    public readonly categories: [string, string][] = [
        ['ocr', 'Text on Screen'],
        ['asr', 'Subtitles'],
        ['meta', 'Metadata'],
        ['tagsft', 'Tags'],
    ];

    /**
{'fraction_non_alphanumeric': 0.1368366285119667, 'fraction_numerical': 0.0, 'mean_word_length': 3.2078774617067833, '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': '1086503', 'n_tokens_mistral': 530, 'n_tokens_neox': 521, 'n_words': 162}