Getting started with fave-recode
The idea behind fave-recode is that no matter how much you may adjust
the dictionary of a forced-aligner, you may still want to make
programmatic changes to the output.
Installation
You can install fave-recode at your system’s command line with pip.
pip install fave-recode
Basic usage
Installation of the fave-recode python package makes the fave_recode
executable, which can also be run at the command line. You can get help
with --help
fave_recode --help
Usage: fave_recode [OPTIONS]
Inputs: [at least 1 required]
File inputs. Either a single file with -i or a path with -p. Not both.
-i, --input_file FILENAME single input file
-p, --input_path PATH Path to a set of files
Outputs:
-o, --output_file TEXT An output file name
-d, --output_dest PATH An output directory
Other options:
-a, --parser TEXT Label set parser. Built in options are cmu_parser
-s, --scheme TEXT Recoding scheme. Built in options are cmu2labov
and cmu2phila [required]
-r, --recode_stem TEXT Stem to append to recoded TextGrid file names
-t, --target_tier TEXT Target tier to recode
--help Show this message and exit.
To recode a single file, you need to provide fave_recode with,
minimally, the input file (the -i flag), and the recoding scheme (with
the -s flag). There are a few default recoding schemes that come with
fave_recode.
ls data
KY25A_1.TextGrid josef-fruehwald_speaker.TextGrid
fave_recode -i data/josef-fruehwald_speaker.TextGrid -s cmu2phila -a cmu_parser
ls data
KY25A_1.TextGrid
josef-fruehwald_speaker.TextGrid
josef-fruehwald_speaker_recoded.TextGrid
Metadata
Release files for fave-recode 0.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fave_recode-0.3.3.tar.gz | 23.4 kB | Without provenance | Details for fave_recode-0.3.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fave_recode-0.3.3-py3-none-any.whl | Python 3 | none | any | Details for fave_recode-0.3.3-py3-none-any.whl |
Total release size: 49.2 kB
Release files / fave_recode-0.3.3.tar.gz
| Download URL | fave_recode-0.3.3.tar.gz |
|---|---|
| Size | 23.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b20415bba06fe663c5d615396cdc3434e693ad2ba6a17d97a4efbba1209b950
|
|
BLAKE2b-256 checksum How to use checksums |
df7f85a8df2057f69cbbc477b11a0c8cbc79af5d90113727ac185546f4f389b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.11.7 Linux/6.11.0-1014-azure
|
Release files / fave_recode-0.3.3-py3-none-any.whl
| Download URL | fave_recode-0.3.3-py3-none-any.whl |
|---|---|
| Size | 25.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
29937f7a8ebd5f313ea8012494129a9e04cbc87a11c714bf37db00cc4a772d93
|
|
BLAKE2b-256 checksum How to use checksums |
79e24b564d803395948e1367b4457a080107f09af8b15acf2ad744bd18bb9e79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.11.7 Linux/6.11.0-1014-azure
|
Security for fave-recode 0.3.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.