Skip to content
Rolando Muñoz edited this page Jul 26, 2020 · 18 revisions

TgToolkit Tutorial

This is a Praat plug-in that focuses on TextGrid objects. By using this tool, you can process many TextGrid files with just a few clicks. Through this tutorial, I will show you the basics.

Getting started

The TGToolkit menu is composed of several commands. They are divided in four main categories: Create, Modify, Query and Clean. When you click on any of the plug-in commands, a dialogue box will pop up. Although, these dialogue boxes have some advanced features for searching files within sub-folders or pair of files (audio and TextGrid) in different directories, we will not review them until the advance feature section. For now, we will assume that your audio and TextGrid files are in the same directory.

1. Creating TextGrids from many audio files

Use the commands Sound to TextGrid... and Sound to TextGrid (silences)..., in the menu Praat> Goodies > TGToolkit > Create, to create TextGrid files from audios located in a folder. Both commands are similar to Sound: To TextGrid... and Sound: To TextGrid (Silences)... When you click on any of them, the only difference is that the dialogue box will prompt you to input the directory where your files are located.

As in the image, fill the Folder with Sound files field. The . in the Folder with TextGrid files field means that the TextGrid files are located in the same directory as the audio files (you can also replace the dot . notation by copying the audio files directory). Set your TextGrid tiers and click on Ok.

Finally, you will see that the TextGrid files will be saved in the same directory as the audio files. If a TextGrid already exists in the directory, the plug-in will skip this file, so the plug-in wont't overwrite your existing TextGrids!

2. Clean

The commands below this sub-menu are more focused in TextGrid uniformization.

Detecting consistency in TextGrid organization

Detecting and fixing boundary aligments

This tool is designed to check if the (interval or point) boundaries in a tier also exist in other tiers of the same TextGrid. This problem is specially important when working with intervals from one tier that contain sub-intervals in another tier domain. To clarify this point, let's think about two tiers in the same TextGrid: word and phonemes... [Add picture]

Finding TextGrid files by their tier names

Checking whitespaces

Advance features

Clone this wiki locally