SPRAAK
Data Structures | Functions
spr_eval Namespace Reference

Data Structures

class  EvalConfig
 Handles processing and storing of configuration data. More...
 

Functions

def res_sub (res, wsubst)
 Replace words. More...
 
def send_ext_cmds (config, when, dst)
 Send extra commands to the recognizer at various stages. More...
 
def start_recognizer (config, base, obsdir, suffix)
 Start the recognizer and read/configure resources according to the specs in the 'SPRaak.ini' file. More...
 
def stop_recognizer (cwr_main_pipe)
 Stop the recognizer. More...
 
def process_corpus (cwr_main_pipe, corpus, config)
 Process the entries in the corpus file. More...
 
def main ()
 Entry point of the script. More...
 

Function Documentation

§ res_sub()

def spr_eval.res_sub (   res,
  wsubst 
)

Replace words.

§ send_ext_cmds()

def spr_eval.send_ext_cmds (   config,
  when,
  dst 
)

Send extra commands to the recognizer at various stages.

§ start_recognizer()

def spr_eval.start_recognizer (   config,
  base,
  obsdir,
  suffix 
)

Start the recognizer and read/configure resources according to the specs in the 'SPRaak.ini' file.

§ stop_recognizer()

def spr_eval.stop_recognizer (   cwr_main_pipe)

Stop the recognizer.

§ process_corpus()

def spr_eval.process_corpus (   cwr_main_pipe,
  corpus,
  config 
)

Process the entries in the corpus file.

§ main()

def spr_eval.main ( )

Entry point of the script.