Module: WordAligner
- Defined in:
- lib/word_aligner.rb,
lib/word_aligner/aligner.rb,
lib/word_aligner/word_error_rate.rb
Defined Under Namespace
Classes: Aligner, WordErrorRate
Class Method Summary collapse
Class Method Details
.align(transcription, hypothesis) ⇒ Object
9 10 11 |
# File 'lib/word_aligner.rb', line 9 def align(transcription, hypothesis) Aligner.new(transcription, hypothesis).word_error_rate end |