Skip to contents

Extract the form from a Praat script

Usage

get_praat_form(x)

Arguments

x

a single string (a Praat script)

Value

the lines of text from form to endform

Examples

get_praat_form(duplicate_tier)
#> form Duplicate a TextGrid tier
#>   sentence Textgrid_in
#>   sentence Target_tier phones
#>   sentence Duplicate_name phones2
#>   choice Duplicate_position: 1
#>     button last
#>     button first
#>     button before
#>     button after
#>   sentence Textgrid_out
#> endform