Files
SIG-CM2.0/src/api/SIGCM2.Domain/Pricing/WordCounter/WordCountResult.cs

11 lines
462 B
C#
Raw Normal View History

namespace SIGCM2.Domain.Pricing.WordCounter;
/// <summary>
/// PRC-001 — Immutable value object representing the result of a word count operation.
/// TotalWords: number of whitespace-separated tokens after normalization.
/// SpecialCharCounts: map of category name → occurrence count in the ORIGINAL (pre-normalization) text.
/// </summary>
public sealed record WordCountResult(
int TotalWords,
IReadOnlyDictionary<string, int> SpecialCharCounts);