veil.masker¶ class veil.masker.Masker(config)[source]¶ Bases: object Parameters: config (MaskerConfig) mask(doc, spans)[source]¶ Mask the text in document given a list of spans. Parameters: doc (Document) spans (List[Span]) Return type: MaskResult