pelican-nlp 0.3.7__py3-none-any.whl → 0.3.9__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pelican_nlp/_version.py +1 -1
- pelican_nlp/praat/eps_conv.praat +193 -0
- pelican_nlp/praat/polytonia.praat +773 -0
- pelican_nlp/praat/prosogram.praat +102 -0
- pelican_nlp/praat/prosomain.praat +3787 -0
- pelican_nlp/praat/prosoplot.praat +1546 -0
- pelican_nlp/praat/segment.praat +1224 -0
- pelican_nlp/praat/setup.praat +1 -0
- pelican_nlp/praat/stylize.praat +2766 -0
- pelican_nlp/praat/util.praat +632 -0
- {pelican_nlp-0.3.7.dist-info → pelican_nlp-0.3.9.dist-info}/METADATA +1 -1
- {pelican_nlp-0.3.7.dist-info → pelican_nlp-0.3.9.dist-info}/RECORD +16 -7
- {pelican_nlp-0.3.7.dist-info → pelican_nlp-0.3.9.dist-info}/WHEEL +0 -0
- {pelican_nlp-0.3.7.dist-info → pelican_nlp-0.3.9.dist-info}/entry_points.txt +0 -0
- {pelican_nlp-0.3.7.dist-info → pelican_nlp-0.3.9.dist-info}/licenses/LICENSE +0 -0
- {pelican_nlp-0.3.7.dist-info → pelican_nlp-0.3.9.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,102 @@
|
|
1
|
+
# prosogram.praat
|
2
|
+
# For documentation see http://sites.google.com/site/prosogram/
|
3
|
+
# Requires Praat 6.0.43 or higher.
|
4
|
+
|
5
|
+
# Author: Piet Mertens
|
6
|
+
# Copyright 2003-2021 Piet Mertens
|
7
|
+
|
8
|
+
form Prosogram 3.01 (December 17, 2021)
|
9
|
+
optionmenu Task 1
|
10
|
+
option Prosogram (writes graphics files)
|
11
|
+
option Calculate intermediate data files & Prosodic profile (no graphics files)
|
12
|
+
option Prosogram, intermediate data files & Prosodic profile
|
13
|
+
option Polytonia
|
14
|
+
option Interactive prosogram
|
15
|
+
option Recalculate pitch for entire sound file
|
16
|
+
option Recalculate intensity after BP filtering for entire sound file
|
17
|
+
; option Recalculate loudness for entire sound file
|
18
|
+
option Make automatic segmentation into syllables and save
|
19
|
+
; option Plot pitch in semitones, with annotation. No stylization.
|
20
|
+
; option Draw annotation only. No stylization.
|
21
|
+
; option Prosodic boundary detection
|
22
|
+
option Validate syllable tier
|
23
|
+
comment Input sound files: (leave empty for interactive file selection)
|
24
|
+
text Input_files C:/corpus/*.wav
|
25
|
+
comment Analysis options:
|
26
|
+
real left_Time_range_(s) 0.0
|
27
|
+
real right_Time_range_(s) 0.0 (=all)
|
28
|
+
; optionmenu Scale_signal_intensity: 1
|
29
|
+
; option No scaling
|
30
|
+
; option Scale to average intensity of 70dB SPL
|
31
|
+
; real Clipping_threshold_(percent) 0 (=no clipping)
|
32
|
+
real left_F0_detection_range_(Hz) 0 (=autorange)
|
33
|
+
real right_F0_detection_range_(Hz) 450 (=default)
|
34
|
+
optionmenu Parameter_calculation: 1
|
35
|
+
option Full (saved in file)
|
36
|
+
option Partial (not saved in file)
|
37
|
+
optionmenu Frame_period_(s): 1
|
38
|
+
option 0.005
|
39
|
+
option 0.01
|
40
|
+
optionmenu Segmentation_method 1
|
41
|
+
option Select optimal method for TextGrid (if any)
|
42
|
+
option Automatic: acoustic syllables
|
43
|
+
option Nuclei in vowels in tier "phon"
|
44
|
+
option Nuclei in rhyme from "syll" and vowels in "phon"
|
45
|
+
option Nuclei in syllables in "syll" and vowels in "phon"
|
46
|
+
option Nuclei in syllables in "syll" and local peak
|
47
|
+
; option Automatic: peak of loudness (obsolete)
|
48
|
+
; option Automatic: peak of intensity of BP-filtered signal (obsolete)
|
49
|
+
option Using external segmentation in tier "segm"
|
50
|
+
; option Automatic: acoustic syllables (using loudness)
|
51
|
+
optionmenu Thresholds: 6
|
52
|
+
option G=0.16/T^2, DG=20, dmin=0.035
|
53
|
+
option G=0.24/T^2, DG=20, dmin=0.035
|
54
|
+
option G=0.32/T^2, DG=20, dmin=0.035
|
55
|
+
option G=0.32/T^2, DG=30, dmin=0.050
|
56
|
+
option G=0.24-0.32/T^2 (adaptive), DG=30, dmin=0.050
|
57
|
+
option G=0.16-0.32/T^2 (adaptive), DG=30, dmin=0.050
|
58
|
+
; option G=0.0/T^2, DG=20, dmin=0.035
|
59
|
+
; option G=0.0/T^2, DG=40, dmin=0.035
|
60
|
+
comment Plotting options:
|
61
|
+
optionmenu View: 3
|
62
|
+
option Compact, light
|
63
|
+
option Compact, rich
|
64
|
+
option Wide, light
|
65
|
+
option Wide, light, with pitch range
|
66
|
+
option Wide, light, with f0 and pitch range
|
67
|
+
option Wide, rich
|
68
|
+
option Wide, rich, with pitch range
|
69
|
+
option Wide, rich, with values pitch targets in semitones
|
70
|
+
option Wide, rich, with values pitch targets in Hertz
|
71
|
+
; option Large, light
|
72
|
+
; option Large, rich
|
73
|
+
positive Time_interval_per_strip_(s) 3.0
|
74
|
+
sentence Tiers_to_show_(*convert_to_IPA) *1, 2, 3
|
75
|
+
optionmenu Font: 1
|
76
|
+
option Times 10
|
77
|
+
option Times 8
|
78
|
+
option Helvetica 10
|
79
|
+
option Helvetica 8
|
80
|
+
real left_Pitch_range_(ST) 0 (=autorange)
|
81
|
+
real right_Pitch_range_(ST) 100
|
82
|
+
optionmenu Output_mode: 1
|
83
|
+
option Fill page with strips
|
84
|
+
option One strip per file
|
85
|
+
optionmenu Output_format: 1
|
86
|
+
option PNG 300 dpi
|
87
|
+
option PNG 600 dpi
|
88
|
+
option EPS (Encapsulated Postscript)
|
89
|
+
option PDF
|
90
|
+
; option EMF (Windows Enhanced Metafile)
|
91
|
+
; option EMF and EPS
|
92
|
+
option EPS and JPG 300 dpi (Windows, Ghostscript must be installed)
|
93
|
+
option EPS and JPG 600 dpi (Windows, Ghostscript must be installed)
|
94
|
+
comment Path & filename for graphics files (number & extension added automatically) :
|
95
|
+
text Output_filename <input_directory>/<basename>_
|
96
|
+
endform
|
97
|
+
|
98
|
+
batch_mode = 0
|
99
|
+
include prosomain.praat
|
100
|
+
|
101
|
+
@main
|
102
|
+
exit
|