fave_corpus
fave_corpus(corpus_path, speakers=0, include_overlaps=True, recode_rules=None, labelset_parser=None, point_heuristic=None, vowel_place_config=None, ft_config='default', reference_values=ReferenceValues(), fave_aligned=False)
Process a corpus directory.
Parameters
Name | Type | Description | Default |
---|---|---|---|
corpus_path |
str | Path | Path to a corpus directory | required |
speakers |
(int, str, Path) | Which speaker(s) to produce data for. Can be a numeric index, or a path to a speaker file, or “all” | 0 |
include_overlaps |
bool | Whether or not to include vowels that are overlapped with speech from other tiers. Defaults to True . |
True |
recode_rules |
str | None | Either a string naming built-in set of recode rules, or path to a custom ruleset. Defaults to None. | None |
labelset_parser |
str | None | Either a string naming a built-in labelset parser, or a path to a custom parser definition. Defaults to None. | None |
point_heuristic |
str | None | Either a string naming a built in point heuristic, or a path to a custom heuristic definition. Defaults to None. | None |
vowel_place_config |
str | None) | A path to a vowel place config file. defaults to None. | None |
ft_config |
str | None | Either a string naming a built-in fasttrack config file, or a path to a custom config file. Defaults to “default”. | 'default' |
reference_values |
ReferenceValues |
A ReferenceValues object defining a path to a reference corpus Defaults to ReferenceValues() | ReferenceValues() |
fave_aligned |
bool | Were the textgrids generated by classic FAVE align? Defaults to False. | False |
Returns
Type | Description |
---|---|
SpeakerCollection | A new_fave.SpeakerCollection |