@@ -1012,7 +1012,7 @@ def discourse_has_acoustics(self, acoustic_name, discourse):
10121012 return False
10131013 return True
10141014
1015- def encode_acoustic_statistic (self , acoustic_name , statistic , by_annotation = None , by_speaker = False ):
1015+ def encode_acoustic_statistic (self , acoustic_name , statistic , by_annotation = None , by_speaker = True ):
10161016 """
10171017 Computes and saves as type properties summary statistics on a by speaker or by phone basis (or both) for a
10181018 given acoustic measure.
@@ -1024,7 +1024,7 @@ def encode_acoustic_statistic(self, acoustic_name, statistic, by_annotation=None
10241024 Name of the acoustic type
10251025 statistic : str
10261026 One of `mean`, `median`, `stddev`, `sum`, `mode`, `count`
1027- by_speaker : bool, defaults to False
1027+ by_speaker : bool, defaults to True
10281028 Flag for calculating summary statistic by speaker
10291029 by_annotation : str, defaults to None
10301030 One of annotation types to calculate summary statistic over
@@ -1316,7 +1316,7 @@ def reset_relativized_acoustic_measure(self, acoustic_name):
13161316 self .hierarchy .remove_acoustic_properties (self , acoustic_name , to_remove )
13171317 self .encode_hierarchy ()
13181318
1319- def relativize_acoustic_measure (self , acoustic_name , by_speaker = True , by_annotation = None ):
1319+ def relativize_acoustic_measure (self , acoustic_name , by_annotation = None , by_speaker = True ):
13201320 """
13211321 Relativize acoustic tracks by taking the z-score of the points (using by speaker or by annotation means and standard
13221322 deviations, or both by-speaker, by annotation) and save them as separate measures, i.e., F0_relativized from F0.
0 commit comments