fixes a typo in WhisperFeatureExtractor docs. (#22208)

* fixes a typo

* .
This commit is contained in:
Susnato Dhar 2023-03-16 21:38:05 +05:30 committed by GitHub
parent da3ba3a167
commit fb366b9a2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,8 +33,8 @@ class WhisperFeatureExtractor(SequenceFeatureExtractor):
r""" r"""
Constructs a Whisper feature extractor. Constructs a Whisper feature extractor.
This feature extractor inherits from [`WhisperFeatureExtractor`] which contains most of the main methods. Users This feature extractor inherits from [`~feature_extraction_sequence_utils.SequenceFeatureExtractor`] which contains
should refer to this superclass for more information regarding those methods. most of the main methods. Users should refer to this superclass for more information regarding those methods.
This class extracts mel-filter bank features from raw speech using a custom numpy implementation of the `Short Time This class extracts mel-filter bank features from raw speech using a custom numpy implementation of the `Short Time
Fourier Transform` which should match pytorch's `torch.stft` equivalent. Fourier Transform` which should match pytorch's `torch.stft` equivalent.