mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-13 11:27:21 +00:00
10 lines
686 B
C#
10 lines
686 B
C#
namespace AIStudio.Assistants.BeyondFactsLab;
|
|||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// One way in which a name or a term may appear in a text, which the anonymizer of the BeyondFacts Lab replaces.
|
||
|
|
/// </summary>
|
||
|
|
/// <param name="Pattern">The regular expression of this way, without the boundaries around it.</param>
|
||
|
|
/// <param name="Length">The length of what it stands for, so that the longest names are tried first.</param>
|
||
|
|
/// <param name="Placeholder">The placeholder which replaces it.</param>
|
||
|
|
/// <param name="IgnoresCase">Whether it matches in any case, e.g., in an address of a web page.</param>
|
||
|
|
internal sealed record BflNamePattern(string Pattern, int Length, string Placeholder, bool IgnoresCase);
|