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