Skip to content

Can phonemizer be automatically detected? #3

@npuichigo

Description

@npuichigo

In readme, it mentioned only for Mac, the backend requires PHONEMIZER_ESPEAK_LIBRARY to be set in the local environment. But actually it always need this environment variable be set, even it already works for me to use phonemizer to extract phones. (https://bootphon.github.io/phonemizer/python_examples.html)

if os.getenv('PHONEMIZER_ESPEAK_LIBRARY') is None:

Maybe could delegate the detection to phonemizer or just follow the way it does (https://github.com/bootphon/phonemizer/blob/master/phonemizer/backend/espeak/wrapper.py)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions