Skip to content

Commit

Permalink
s/exemple/example/g (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
lxe authored Jan 11, 2024
1 parent 35026e2 commit d9f9ed2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Install **espeak-ng** with the `.msi` Windows installer provided with
EspeakWrapper.set_library('C:\Program Files\eSpeak NG\libespeak-ng.dll')
An alternative is to define the environment variable
``PHONEMIZER_ESPEAK_LIBRARY`` to the absolute path to the DLL. For exemple
``PHONEMIZER_ESPEAK_LIBRARY`` to the absolute path to the DLL. For example
if using conda have a:

.. code-block:: bash
Expand Down
6 changes: 3 additions & 3 deletions docs/source/python_examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ See :py:meth:`phonemizer.phonemize`.
Example 1: phonemize a text with festival
-----------------------------------------

The following exemple downloads a text and phonemizes it using the
The following example downloads a text and phonemizes it using the
festival backend, preserving punctuation and using 4 jobs in parallel.
The phones are not separated, words are separated by a space and
syllables by ``|``.
Expand Down Expand Up @@ -45,10 +45,10 @@ syllables by ``|``.
Example 2: build a lexicon with espeak
--------------------------------------

The following exemple extracts a list of words present in a text,
The following example extracts a list of words present in a text,
ignoring punctuation, and builds a dictionary ``word: [phones]``,
e.g. ``{'students': 's t uː d ə n t s', 'cobb': 'k ɑː b', 'its': 'ɪ t s', 'put': 'p ʊ t', ...}``.
We consider here the same text as in the previous exemple.
We consider here the same text as in the previous example.

.. code:: python
Expand Down
2 changes: 1 addition & 1 deletion phonemizer/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def parse_args():
''',
epilog='''
Exemples:
Examples:
* Phonemize a US English text with espeak
Expand Down
2 changes: 1 addition & 1 deletion phonemizer/phonemize.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def phonemize( # pylint: disable=too-many-arguments
function: provide the input text as a list and call phonemize() a single
time is much more efficient than calling it on each element of the list.
Indeed the initialization of the phonemization backend can be expensive,
especially for espeak. In one exemple,
especially for espeak. In one example,
Do this:
Expand Down

0 comments on commit d9f9ed2

Please sign in to comment.