public class CopySynthesis extends Object
Constructor and Description |
---|
CopySynthesis(AllophoneSet allophoneSet)
Provide copy synthesis functionality for documents using the given allophone set.
|
Modifier and Type | Method and Description |
---|---|
void |
imposeDurations(Labels source,
Document target)
Make sure that the label sequence as provided in source is copied into the target document, and that the phone and boundary
durations in the target are adjusted to those in source.
|
void |
imposeIntonation(Labels durationAndSegmentSource,
PraatPitchTier pitchSource,
Document target)
Make sure that 1.
|
void |
imposeSegments(Labels source,
Document target)
Make sure that the label sequence as provided in source is copied into the target document.
|
static void |
main(String[] args) |
public CopySynthesis(AllophoneSet allophoneSet)
allophoneSet
- the allophone set to use, or null if no allophone verification is needed.public void imposeSegments(Labels source, Document target)
source
- a label sequence consisting of valid allophones according to the allophone set given in the constructor.target
- a MaryXML document at the stage of ALLOPHONES or ACOUSTPARAMS, i.e. with syllable/segment substructure in
phones.public void imposeDurations(Labels source, Document target)
source
- a label sequence consisting of valid allophones according to the allophone set given in the constructor.target
- a MaryXML document at the stage of ALLOPHONES or ACOUSTPARAMS, i.e. with syllable/segment substructure in
phones.public void imposeIntonation(Labels durationAndSegmentSource, PraatPitchTier pitchSource, Document target)
durationAndSegmentSource
- a label sequence consisting of valid allophones according to the allophone set given in the constructor.pitchSource
- a specification of an intonation contour.target
- a MaryXML document at the stage of ALLOPHONES or ACOUSTPARAMS, i.e. with syllable/segment substructure in
phones.Copyright © 2000–2016 DFKI GmbH. All rights reserved.