2 writes to _keepPunctuations
Microsoft.ML.Transforms (2)
Text\TextNormalizing.cs (2)
111_keepPunctuations = keepPunctuations; 167_keepPunctuations = ctx.Reader.ReadBoolByte();
3 references to _keepPunctuations
Microsoft.ML.Transforms (3)
Text\TextNormalizing.cs (3)
139ctx.Writer.WriteBoolByte(_keepPunctuations); 216public bool CanSaveOnnx(OnnxContext ctx) => (_parent._keepDiacritics && _parent._keepNumbers && _parent._keepPunctuations); 401if (!_parent._keepPunctuations && char.IsPunctuation(ch) || !_parent._keepNumbers && char.IsNumber(ch))