Skip to content

Commit

Permalink
Merge pull request #21 from ThomasA/patch-1
Browse files Browse the repository at this point in the history
Minor proposed docstring revisions
  • Loading branch information
astorfi authored Jul 3, 2018
2 parents 19f6fdc + 97cf0b4 commit f5689ef
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
9 changes: 5 additions & 4 deletions speechpy/feature.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
"""feature module.
This module demonstrates documentation for the main speech features that the
package is aimed to extract as well as the required elements.
This module provides functions for calculating the main speech
features that the package is aimed to extract as well as the required
elements.
Attributes:
Functions:
filterbanks: Compute the Mel-filterbanks
The filterbanks must be created for extracting
speech features such as MFCC.
mfcc: Extracting Mel Frequncy Cepstral Coefficient feature.
mfcc: Extracting Mel Frequency Cepstral Coefficient feature.
mfe: Extracting Mel Energy feature.
Expand Down
14 changes: 7 additions & 7 deletions speechpy/functions.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
"""function module.
This module demonstrates documentation for the calculation of
necessary functions required for the packages.
This module contains necessary functions for calculating the features
in the `features` module.
Attributes:
frequency_to_mel: Converting the frequency to Mel scale.
This is necessary for filterback energy calculation.
This is necessary for filterbank energy calculation.
mel_to_frequency: Converting the Mel to frequency scale.
This is necessary for filterback energy calculation.
triangle: Creating a triangle for filtebanks.
This is necessary for filterback energy calculation.
zero_handling: Hanlding zero values due to the possible
This is necessary for filterbank energy calculation.
triangle: Creating a triangle for filterbanks.
This is necessary for filterbank energy calculation.
zero_handling: Handling zero values due to the possible
issues regarding the log functions.
"""

Expand Down

0 comments on commit f5689ef

Please sign in to comment.