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

Go to the source code of this file.

Classes

class  data_structs.output_calcs.OutputCalc
 An OutputCalc encapsulates all of the calculations for a particular output. More...
 
class  data_structs.output_calcs.CountOutputCalc
 This OutputCalc searches for a regex match in a segment/chain phrase and counts the number of matches. More...
 
class  data_structs.output_calcs.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  data_structs.output_calcs.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  data_structs.output_calcs.BreakdownOutputCalc
 This type of OutputCalc constructs a table of counts. More...
 
class  data_structs.output_calcs.ListOutputCalc
 This type of OutputCalc searches for a regex match in the phrase of items. More...
 

Namespaces

namespace  data_structs.output_calcs
 

Functions

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