Module: AiRedactor
- Defined in:
- lib/ai_redactor.rb,
lib/ai_redactor/report.rb,
lib/ai_redactor/version.rb,
lib/ai_redactor/patterns.rb,
lib/ai_redactor/text_redactor.rb
Defined Under Namespace
Modules: Patterns Classes: Error, Report, TextRedactor
Constant Summary collapse
- VERSION =
"0.1.0"
Class Method Summary collapse
-
.analyze_text(text, options = {}) ⇒ Object
Main entry point for text analysis with detailed report.
-
.mask_text(text, options = {}) ⇒ Object
Main entry point for text masking.
Class Method Details
.analyze_text(text, options = {}) ⇒ Object
Main entry point for text analysis with detailed report
17 18 19 |
# File 'lib/ai_redactor.rb', line 17 def self.analyze_text(text, = {}) TextRedactor.new().analyze(text) end |
.mask_text(text, options = {}) ⇒ Object
Main entry point for text masking
12 13 14 |
# File 'lib/ai_redactor.rb', line 12 def self.mask_text(text, = {}) TextRedactor.new().mask(text) end |