-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve installations on optional packages
- Loading branch information
Showing
28 changed files
with
240 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,34 +10,62 @@ | |
</div> | ||
|
||
## Dependencies | ||
[FFmpeg](https://www.ffmpeg.org/) and [eSpeak](http://espeak.sourceforge.net/index.html) | ||
Required by basic: [FFmpeg](https://www.ffmpeg.org/) | ||
``` | ||
$ apt-get install ffmpeg espeak libespeak1 libespeak-dev espeak-data | ||
$ apt-get install ffmpeg | ||
``` | ||
or | ||
``` | ||
$ brew install ffmpeg espeak | ||
$ brew install ffmpeg | ||
``` | ||
|
||
## Installation | ||
## Basic Installation | ||
``` | ||
# Install from PyPI | ||
$ pip install -U pip | ||
$ pip install subaligner | ||
``` | ||
|
||
## Installation with Optional Packages Supporting Additional Features | ||
``` | ||
# Install dependencies for enabling translation | ||
$ pip install 'subaligner[translation]' | ||
``` | ||
``` | ||
# Install dependencies for enabling forced alignment | ||
$ pip install 'subaligner[stretch]' | ||
``` | ||
``` | ||
# Install dependencies for enabling the development environment | ||
$ pip install 'subaligner[dev]' | ||
``` | ||
Note that both `subaligner[stretch]` and `subaligner[dev]` require additional dependencies to be installed: | ||
``` | ||
$ apt-get install espeak libespeak1 libespeak-dev espeak-data | ||
``` | ||
or | ||
``` | ||
$ brew install espeak | ||
``` | ||
To install all supported features: | ||
``` | ||
$ pip install 'subaligner[harmony]' | ||
``` | ||
|
||
## Alternative Installations | ||
``` | ||
# Install via pipx | ||
$ pip install -U pip pipx | ||
$ pipx install subaligner | ||
``` | ||
or | ||
``` | ||
# Install from GitHub via Pipenv | ||
... | ||
[packages] | ||
subaligner = {git = "ssh://[email protected]/baxtree/subaligner.git", ref = "<TAG>"} | ||
... | ||
$ pipenv install subaligner | ||
$ pipenv install 'subaligner[stretch]' | ||
$ pipenv install 'subaligner[dev]' | ||
``` | ||
or | ||
``` | ||
|
@@ -49,18 +77,6 @@ $ python setup.py install | |
``` | ||
or | ||
``` | ||
# Install dependencies for enabling extra features | ||
$ pip install subaligner[extra] | ||
``` | ||
or | ||
``` | ||
# Install dependencies for enabling the development environment | ||
$ pip install subaligner[dev] | ||
``` | ||
or | ||
``` | ||
# Use dockerised installation | ||
$ docker run -v `pwd`:`pwd` -w `pwd` -it baxtree/subaligner bash | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pycountry~=20.7.3 | ||
sentencepiece~=0.1.95 | ||
six~=1.15.0 | ||
torch~=1.8.1 | ||
transformers~=4.5.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,11 +5,10 @@ Installation | |
**Install necessary dependencies**:: | ||
|
||
$ apt-get install ffmpeg | ||
$ apt-get install espeak libespeak1 libespeak-dev espeak-data | ||
|
||
**or**:: | ||
|
||
$ brew install ffmpeg espeak | ||
$ brew install ffmpeg | ||
|
||
§ You may also need to install `HomeBrew <https://brew.sh/>`_. | ||
|
||
|
@@ -18,24 +17,41 @@ Installation | |
$ pip install -U pip | ||
$ pip install subaligner | ||
|
||
**Install Subaligner via pipx**:: | ||
**Install dependencies for enabling translation**:: | ||
|
||
$ pip install -U pip pipx | ||
$ pipx install subaligner | ||
$ pip install 'subaligner[translation]' | ||
|
||
**Install from GitHub via Pipenv**:: | ||
**Install additional required dependencies before installing subaligner[stretch] or subaligner[dev]**:: | ||
|
||
... | ||
[packages] | ||
subaligner = {git = "ssh://[email protected]/baxtree/subaligner.git", ref = "<TAG>"} | ||
... | ||
$ apt-get install espeak libespeak1 libespeak-dev espeak-data | ||
|
||
**Install dependencies for enabling extra features:: | ||
**or**:: | ||
|
||
$ brew install espeak | ||
|
||
$ pip install subaligner[extra] | ||
**Install dependencies for enabling forced alignment**:: | ||
|
||
$ pip install 'subaligner[stretch]' | ||
|
||
**Install dependencies for enabling the development environment**:: | ||
$ pip install subaligner[dev] | ||
|
||
$ pip install 'subaligner[dev]' | ||
|
||
**Install all supported features**:: | ||
|
||
$ pip install 'subaligner[harmony]' | ||
|
||
**Install Subaligner via pipx**:: | ||
|
||
$ pipx install subaligner | ||
$ pipx install 'subaligner[stretch]' | ||
$ pipx install 'subaligner[dev]' | ||
|
||
**Install from GitHub via Pipenv**:: | ||
|
||
$ pipenv install subaligner | ||
$ pipenv install 'subaligner[stretch]' | ||
$ pipenv install 'subaligner[dev]' | ||
|
||
**Use dockerised installation**:: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.