Class: Glaemscribe::API::TranscriptionPreProcessor
- Inherits:
-
TranscriptionPrePostProcessor
- Object
- TranscriptionPrePostProcessor
- Glaemscribe::API::TranscriptionPreProcessor
- Defined in:
- lib/api/transcription_pre_post_processor.rb
Instance Attribute Summary
Attributes inherited from TranscriptionPrePostProcessor
Instance Method Summary collapse
-
#apply(l) ⇒ Object
Apply all preprocessor rules consecutively.
Methods inherited from TranscriptionPrePostProcessor
#descend_if_tree, #finalize, #initialize
Constructor Details
This class inherits a constructor from Glaemscribe::API::TranscriptionPrePostProcessor
Instance Method Details
#apply(l) ⇒ Object
Apply all preprocessor rules consecutively
111 112 113 114 115 116 117 |
# File 'lib/api/transcription_pre_post_processor.rb', line 111 def apply(l) ret = l @operators.each{ |operator| ret = operator.apply(ret) } ret end |