changeset 395:82d0fef3d6e4

correct some words and import statement in the doc string
author leminhnguyen <leminhnguyen.bk@gmail.com>
date Mon, 08 Aug 2022 11:58:32 +0700
parents b4a77779aca5
children c565749e0b04 c89c0977db47
files auditok/core.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/auditok/core.py	Wed Nov 03 16:35:39 2021 +0800
+++ b/auditok/core.py	Mon Aug 08 11:58:32 2022 +0700
@@ -668,12 +668,12 @@
 
     @property
     def sampling_rate(self):
-        """Samling rate of audio data."""
+        """Sampling rate of audio data."""
         return self._sampling_rate
 
     @property
     def sr(self):
-        """Samling rate of audio data, alias for `sampling_rate`."""
+        """Sampling rate of audio data, alias for `sampling_rate`."""
         return self._sampling_rate
 
     @property
@@ -1131,7 +1131,7 @@
     immediately follows the latest delivered token:
 
     >>> from auditok.core import StreamTokenizer
-    >>> from StringDataSource, DataValidator
+    >>> from auditok.util import StringDataSource, DataValidator
 
     >>> class UpperCaseChecker(DataValidator):
     >>>     def is_valid(self, frame):