Skip to content

Commit 2fbf10b

Browse files
committed
version 2.0 release
1 parent c18dc98 commit 2fbf10b

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

speechpy/processing.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ def Derivative_Feature_Fn(feat, DeltaWindows):
135135
"""This function the derivative features.
136136
137137
Args:
138-
feat: The main feature vector(For returning the second order derivative it can be first-order derivative).
139-
DeltaWindows: The value of DeltaWindows is set using the configuration parameter DELTAWINDOW.
138+
feat (array): The main feature vector(For returning the second order derivative it can be first-order derivative).
139+
DeltaWindows (int): The value of DeltaWindows is set using the configuration parameter DELTAWINDOW.
140140
141141
Returns:
142142
array: Derivative feature vector - A NUMFRAMESxNUMFEATURES numpy array which is the derivative features along the features.
@@ -170,8 +170,8 @@ def cmvn(vec, variance_normalization=False):
170170
(CMVN) on input feature vector "vec". The code assumes that there is one observation per row.
171171
172172
Args:
173-
vec: input feature matrix (size:(num_observation,num_features))
174-
variance_normalization: If the variance normilization should be performed or not.
173+
vec (array): input feature matrix (size:(num_observation,num_features))
174+
variance_normalization (bool): If the variance normilization should be performed or not.
175175
176176
Return:
177177
array: The mean(or mean+variance) normalized feature vector.
@@ -201,9 +201,9 @@ def cmvnw(vec, win_size=301, variance_normalization=False):
201201
(CMVN) on input feature vector "vec". The code assumes that there is one observation per row.
202202
203203
Args:
204-
vec: input feature matrix (size:(num_observation,num_features))
205-
win_size: The size of sliding window for local normalization. Default=301 which is around 3s if 100 Hz rate is considered(== 10ms frame stide)
206-
variance_normalization: If the variance normilization should be performed or not.
204+
vec (array): input feature matrix (size:(num_observation,num_features))
205+
win_size (int): The size of sliding window for local normalization. Default=301 which is around 3s if 100 Hz rate is considered(== 10ms frame stide)
206+
variance_normalization (bool): If the variance normilization should be performed or not.
207207
208208
Return:
209209
array: The mean(or mean+variance) normalized feature vector.

0 commit comments

Comments
 (0)