-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.praat
executable file
·53 lines (43 loc) · 3.74 KB
/
setup.praat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Copyright 2017-2019 Rolando Munoz Aramburú
if praatVersion < 6033
appendInfoLine: "Plug-in name: Annotation Assistant"
appendInfoLine: "Warning: This plug-in only works on Praat version above 6.0.32. Please, get a more recent version of Praat."
appendInfoLine: "Praat website: http://www.fon.hum.uva.nl/praat/"
endif
# Static menu
Add menu command: "Objects", "Goodies", "TextGrid toolkit", "", 0, ""
## Do
Add menu command: "Objects", "Goodies", "Open files (TextGridEditor)...", "TextGrid Toolkit", 1, "scripts/textgridEditor-open_files.praat"
## Modify
Add menu command: "Objects", "Goodies", "Create", "TextGrid Toolkit", 1, ""
Add menu command: "Objects", "Goodies", "Sound to TextGrid...", "Create", 2, "scripts/create-textgrid.praat"
Add menu command: "Objects", "Goodies", "Sound to TextGrid (silences)...", "Create", 2, "scripts/create-textgrid_silences.praat"
Add menu command: "Objects", "Goodies", "Modify", "TextGrid Toolkit", 1, ""
Add menu command: "Objects", "Goodies", "Convert...", "Modify", 2, "scripts/mod-convert.praat"
Add menu command: "Objects", "Goodies", "-", "Modify", 2, ""
Add menu command: "Objects", "Goodies", "Insert tier...", "Modify", 2, "scripts/mod-insert_tier.praat"
Add menu command: "Objects", "Goodies", "Duplicate tier...", "Modify", 2, "scripts/mod-duplicate_tier.praat"
Add menu command: "Objects", "Goodies", "Remove tier...", "Modify", 2, "scripts/mod-remove_tier.praat"
Add menu command: "Objects", "Goodies", "Set tier name...", "Modify", 2, "scripts/mod-set_tier_name.praat"
Add menu command: "Objects", "Goodies", "-", "Modify", 2, ""
Add menu command: "Objects", "Goodies", "Replace text...", "Modify", 2, "scripts/mod-replace_text.praat"
Add menu command: "Objects", "Goodies", "Replace text (dictionary)...", "Modify", 2, "scripts/mod-replace_text_from_csv.praat"
Add menu command: "Objects", "Goodies", "Query", "TextGrid Toolkit", 1, ""
Add menu command: "Objects", "Goodies", "Report duration...", "Query", 2, "scripts/query-get_duration.praat"
Add menu command: "Objects", "Goodies", "-", "Query", 2, ""
Add menu command: "Objects", "Goodies", "Create Table word occurrences...", "Query", 2, "scripts/corpus-word_occurrences.praat"
Add menu command: "Objects", "Goodies", "Create Table child/parent...", "Query", 2, "scripts/corpus-child2parent.praat"
Add menu command: "Objects", "Goodies", "Clean", "TextGrid Toolkit", 1, ""
Add menu command: "Objects", "Goodies", "Summarize tiers...", "Clean", 2, "scripts/clean-check_tg_tiers.praat"
Add menu command: "Objects", "Goodies", "Find TextGrid files if tier name...", "Clean", 2, "scripts/clean-find_tg_if_tier_name.praat"
Add menu command: "Objects", "Goodies", "Check boundary aligments...", "Clean", 2, "scripts/clean-get_missing_time_boundaries.praat"
Add menu command: "Objects", "Goodies", "Check whitespaces...", "Clean", 2, "scripts/clean-check_tg_whitespaces.praat"
Add menu command: "Objects", "Goodies", "-", "", 1, ""
Add menu command: "Objects", "Goodies", "About", "TextGrid Toolkit", 1, "scripts/about.praat"
# Dynamic menu
Add action command: "Table", 1, "", 0, "", 0, "TextGrid Toolkit", "", 0, ""
Add action command: "Table", 1, "", 0, "", 0, "To TextGridEditor", "TextGrid Toolkit", 0, "scripts/dynamic_menu/open_tg_from_table.praat"
Add action command: "TextGrid", 1, "", 0, "", 0, "-", "Modify interval tier", 2, ""
Add action command: "TextGrid", 1, "", 0, "", 0, "Merge tiers by name", "Modify interval tier", 2, "scripts/dynamic_menu/tg-join_interval_tiers_by_name.praat"
Add action command: "TextGrid", 1, "", 0, "", 0, "Merge tiers...", "Modify interval tier", 2, "scripts/dynamic_menu/tg-join_interval_tiers.praat"
Add action command: "TextGrid", 1, "", 0, "", 0, "Tabulate bad aligments...", "Tabulate occurrences...", 3, "scripts/dynamic_menu/tg-missing_time_boundaries.praat"