Baby Language Lab Scripts
A collection of data processing tools.
 All Classes Namespaces Files Functions Variables Pages
data_structs.output_calcs Namespace Reference

Classes

class  OutputCalc
 An OutputCalc encapsulates all of the calculations for a particular output. More...
 
class  CountOutputCalc
 This OutputCalc searches for a regex match in a segment/chain phrase and counts the number of matches. More...
 
class  RateOutputCalc
 This OutputCalc searches for a regex match in a segment/chain phrase and counts the number of matches, then divides the count by the length of the segment in seconds. More...
 
class  TimePeriodOutputCalc
 This OutputCalc searches for a regex match in the items' phrases, and calculates the total length of the items (in seconds) that contain a match. More...
 
class  BreakdownOutputCalc
 This type of OutputCalc constructs a table of counts. More...
 
class  ListOutputCalc
 This type of OutputCalc searches for a regex match in the phrase of items. More...
 

Functions

def fetch_db_constants
 This function fills in the combo_option constants in the above classes. More...
 

Function Documentation

def data_structs.output_calcs.fetch_db_constants ( )

This function fills in the combo_option constants in the above classes.

These constants exist only for convenience (so you don't have to access them via DBConstants using the combo group, which invloves a lot of typing).

Definition at line 787 of file output_calcs.py.