<commit_before>﻿namespace KotoriCore.Domains
{
    /// <summary>
    /// Document type index.
    /// </summary>
    public class DocumentTypeIndex : IDomain
    {
        /// <summary>
        /// Gets or sets "from" property.
        /// </summary>
        /// <value>"From" property.</value>
        public string From { get; set; }

        /// <summary>
        /// Gets or sets "to" index.
        /// </summary>
        /// <value>"To" index.</value><commit_msg>Document type indexes - new options like isRequired, close #198<commit_after>﻿namespace KotoriCore.Domains
{
    /// <summary>
    /// Document type index.
    /// </summary>
    public class DocumentTypeIndex : IDomain
    {
        /// <summary>
        /// Gets or sets "from" property.
        /// </summary>
        /// <value>"From" property.</value>
        public string From { get; set; }

        // TODO
        public bool IsRequired { get; set; } = false;

        /// <summary>
        /// Gets or sets "to" index.
        /// </summary>
        /// <value>"To" index.</value>
{'fraction_non_alphanumeric': 0.1671388101983003, 'fraction_numerical': 0.0028328611898017, 'mean_word_length': 1.5665859564164648, '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': '5093478', 'n_tokens_mistral': 301, 'n_tokens_neox': 294, 'n_words': 82}