NIST Scoring Toolkit Version 2.0beta
Welcome to the NIST Scoring Toolkit Version 2.0 Beta 1


The NIST Scoring Toolkit (SCTK) is a collection of software tools designed to score benchmark test evaluations of Automatic Speech Recognition (ASR) Systems. The toolkit is currently used by NIST, benchmark test participants, and reserchers worldwide to as a common scoring engine.

See the "Demo" section below to get a quick intro into key concepts>

This version of SCTK contains several programs:

sclite

sc_stats rover hubscr rfilter1 csrfilt chfilt hamzaNorm acomp def_art utf_filt

ASR Scoring Demo

So. what is this package for? It's for computing the accuracy of ASR engines that convert recordings of speech into text. We'll use data in ../src/sclite/testdata for the demo. The process to compute the accuracy is:

  1. Record a sample of speech (called an utterance) storing it in a waveform file like a .wav or .mp3. Each recording has a unique utterance id used later.
  2. Manually transcribe the speech to build what we call the 'reference' transcription - some call it the ground truth but the term reference is preferred because it is costly/difficult/impossible to make 100% accurate transctript.
  3. Convert the audio into the 'hypothesized' text with a program like Kaldi . The text is hypothesized to be correct by the system.
  4. Assemble the reference and hypothsis texts into separate files for scoring. For example ../src/sclite/testdata/demo.ref.txt and ../src/sclite/testdata/demo.hyp.txt are example reference and hypothesis transcripts for 2 utterances. Since there a two utterances, the transcript for each is labelled with the utterance id in parens.
  5. Run the scorer with these commands after sclite has been compiled:
    
    
    
                         SYSTEM SUMMARY PERCENTAGES by SPEAKER                      
    
          ,------------------------------------------------------------------.
          |                           demo.hyp.txt                           |
          |------------------------------------------------------------------|
          | SPKR     | # Snt # Wrd | Corr    Sub    Del    Ins    Err  S.Err |
          |----------+-------------+-----------------------------------------|
          | speaker1 |    2     46 | 84.8   15.2    0.0    2.2   17.4   50.0 |
          |==================================================================|
          | Sum/Avg  |    2     46 | 84.8   15.2    0.0    2.2   17.4   50.0 |
          |==================================================================|
          |   Mean   |  2.0   46.0 | 84.8   15.2    0.0    2.2   17.4   50.0 |
          |   S.D.   |  0.0    0.0 |  0.0    0.0    0.0    0.0    0.0    0.0 |
          |  Median  |  2.0   46.0 | 84.8   15.2    0.0    2.2   17.4   50.0 |
          `------------------------------------------------------------------'
    
    
    		DUMP OF SYSTEM ALIGNMENT STRUCTURE
    
    System name:   demo.hyp.txt
    
    Speakers: 
        0:  speaker1
    
    Speaker sentences   0:  speaker1   #utts: 2
    id: (speaker1-utterance1)
    Scores: (#C #S #D #I) 25 0 0 0
    REF:  as competition in the mutual fund business grows increasingly intense more players in the industry appear willing to sacrifice integrity in the name of performance 
    HYP:  as competition in the mutual fund business grows increasingly intense more players in the industry appear willing to sacrifice integrity in the name of performance 
    Eval:                                                                                                                                                                     
    
    id: (speaker1-utterance2)
    Scores: (#C #S #D #I) 14 7 0 1
    REF:  FOR   A  TWO    TRILLION DOLLAR business built on public confidence this trend is **** DISHEARTENING AT  best and downright dangerous at worst 
    HYP:  FREED TO TRYING TO       LURE   business built on public confidence this trend is THIS TIGHTENING    AND best and downright dangerous at worst 
    Eval: S     S  S      S        S                                                        I    S             S