<commit_before>﻿
namespace Core2D.Interfaces
{
    /// <summary>
    /// Defines text field reader contract.
    /// </summary>
    /// <typeparam name="T">The database type.</typeparam>
    public interface ITextFieldReader<T>
    {
        /// <summary>
        /// Read fields from text database file format.
        /// </summary>
        /// <param name="path">The fields file path.</param>
        /// <param name="fs">The file system.</param>
        /// <returns>The new instance of the database.</returns>
        T Read(string path, IFileSystem fs);
    }
}<commit_msg>Update ITextFieldReader.cs<commit_after>﻿using System.IO;

namespace Core2D.Interfaces
{
    /// <summary>
    /// Defines text field reader contract.
    /// </summary>
    /// <typeparam name="T">The database type.</typeparam>
    public interface ITextFieldReader<T>
    {
        /// <summary>
        /// Gets text field reader name.
        /// </summary>
        string Name { get; }

        /// <summary>
        /// Gets text field reader extension.
        /// </summary>
        string Extension { get; }

        /// <summary>
        /// Read fields from text database file format.
        /// </summary>
        /// <param name="stream">The fields file stream.</param>
        /// <returns>The new instance of the database.</returns>
        T Read(Stream stream);
    }
}
{'fraction_non_alphanumeric': 0.15080527086383602, 'fraction_numerical': 0.0014641288433382138, 'mean_word_length': 1.8718487394957983, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, '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': '4619131', 'n_tokens_mistral': 368, 'n_tokens_neox': 364, 'n_words': 108}