| 1 | /* praat_HMM_init.cpp |
| 2 | * |
| 3 | * Copyright (C) 2010-2024,2026 David Weenink |
| 4 | * |
| 5 | * This code is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation; either version 3 of the License, or (at |
| 8 | * your option) any later version. |
| 9 | * |
| 10 | * This code is distributed in the hope that it will be useful, but |
| 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 | * General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this work. If not, see <http://www.gnu.org/licenses/>. |
| 17 | */ |
| 18 | |
| 19 | #include "praatM.h"cxx . . $ `<file>/sys/praatM.h`/ |
| 20 | #include "GaussianMixture.h"cxx . . $ `<file>/dwtools/GaussianMixture.h`/ |
| 21 | #include "HMM.h"cxx . . $ `<file>/dwtools/HMM.h`/ |
| 22 | #include "Strings_extensions.h"cxx . . $ `<file>/dwtools/Strings_extensions.h`/ |
| 23 | #include "TableOfReal.h"cxx . . $ `<file>/stat/TableOfReal.h`/ |
| 24 | |
| 25 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (HELP__GaussianMixture_help) { |
| 26 | HELPcxx . . $ `sys/praatM.h:616:9`! (U"GaussianMixture") |
| 27 | } |
| 28 | |
| 29 | FORMcxx . . $ `sys/praatM.h:79:9`! (GRAPHICS_EACH__GaussianMixture_drawConcentrationEllipses, U"GaussianMixture: Draw concentration ellipses", U"GaussianMixture: Draw concentration ellipses...") { |
| 30 | POSITIVEcxx . . $ `sys/praatM.h:104:9`! (numberOfSigmas, U"Number of sigmas", U"1.0") |
| 31 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (principalComponentPlane, U"Principal component plane", true) |
| 32 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (xDimension, U"X-dimension", U"1") |
| 33 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (yDimension, U"Y-dimension", U"2") |
| 34 | REALcxx . . $ `sys/praatM.h:92:9`! (xmin, U"left Horizontal range", U"0.0") |
| 35 | REALcxx . . $ `sys/praatM.h:92:9`! (xmax, U"right Horizontal range", U"0.0") |
| 36 | REALcxx . . $ `sys/praatM.h:92:9`! (ymin, U"left Vertical range", U"0.0") |
| 37 | REALcxx . . $ `sys/praatM.h:92:9`! (ymax, U"right Vertical range", U"0.0") |
| 38 | POSITIVEcxx . . $ `sys/praatM.h:104:9`! (labelSize, U"Label size", U"12") |
| 39 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (garnish, U"Garnish", true) |
| 40 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 41 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 42 | GRAPHICS_EACHcxx . . $ `sys/praatM.h:697:9`! (GaussianMixture) |
| 43 | GaussianMixture_drawConcentrationEllipsescxx . . $ GaussianMixture_drawConcentrationEllipses(e7a43cfa49c51d69). ( |
| 44 | me, GRAPHICScxx . . $ `sys/praat.h:204:9`!, numberOfSigmas, false, nullptr, principalComponentPlane, xDimension, yDimension, |
| 45 | xmin, xmax, ymin, ymax, labelSize, garnish |
| 46 | ); |
| 47 | GRAPHICS_EACH_ENDcxx . . $ `sys/praatM.h:700:9`! |
| 48 | } |
| 49 | |
| 50 | FORMcxx . . $ `sys/praatM.h:79:9`! (GRAPHICS_ONE_AND_ONE__GaussianMixture_PCA_drawConcentrationEllipses, U"GaussianMixture & PCA: Draw concentration ellipses", U"GaussianMixture & PCA: Draw concentration ellipses...") { |
| 51 | POSITIVEcxx . . $ `sys/praatM.h:104:9`! (numberOfSigmas, U"Number of sigmas", U"1.0") |
| 52 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (xDimension, U"X-dimension", U"1") |
| 53 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (yDimension, U"Y-dimension", U"2") |
| 54 | REALcxx . . $ `sys/praatM.h:92:9`! (xmin, U"left Horizontal range", U"0.0") |
| 55 | REALcxx . . $ `sys/praatM.h:92:9`! (xmax, U"right Horizontal range", U"0.0") |
| 56 | REALcxx . . $ `sys/praatM.h:92:9`! (ymin, U"left Vertical range", U"0.0") |
| 57 | REALcxx . . $ `sys/praatM.h:92:9`! (ymax, U"right Vertical range", U"0.0") |
| 58 | POSITIVEcxx . . $ `sys/praatM.h:104:9`! (labelSize, U"Label size", U"12") |
| 59 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (garnish, U"Garnish", true) |
| 60 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 61 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 62 | GRAPHICS_ONE_AND_ONEcxx . . $ `sys/praatM.h:704:9`! (GaussianMixture, PCA) |
| 63 | GaussianMixture_PCA_drawConcentrationEllipsescxx . . $ GaussianMixture_PCA_drawConcentrationEllipses(132aa3cf1544890d). ( |
| 64 | me, you, GRAPHICScxx . . $ `sys/praat.h:204:9`!, numberOfSigmas, false, nullptr, xDimension, yDimension, xmin, xmax, |
| 65 | ymin, ymax, labelSize, garnish |
| 66 | ); |
| 67 | GRAPHICS_ONE_AND_ONE_ENDcxx . . $ `sys/praatM.h:707:9`! |
| 68 | } |
| 69 | |
| 70 | FORMcxx . . $ `sys/praatM.h:79:9`! (GRAPHICS_EACH__GaussianMixture_drawMarginalPdf, U"GaussianMixture: Draw marginal pdf", U"GaussianMixture: Draw marginal pdf...") { |
| 71 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (xDimension, U"X-dimension", U"1") |
| 72 | REALcxx . . $ `sys/praatM.h:92:9`! (xmin, U"left Horizontal range", U"0.0") |
| 73 | REALcxx . . $ `sys/praatM.h:92:9`! (xmax, U"right Horizontal range", U"0.0") |
| 74 | REALcxx . . $ `sys/praatM.h:92:9`! (ymin, U"left Vertical range", U"0.0") |
| 75 | REALcxx . . $ `sys/praatM.h:92:9`! (ymax, U"right Vertical range", U"0.0") |
| 76 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfPoints, U"Number of points", U"500") |
| 77 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (numberOfBins, U"Number of bins", U"0.0") |
| 78 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (garnish, U"Garnish", true) |
| 79 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 80 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 81 | GRAPHICS_EACHcxx . . $ `sys/praatM.h:697:9`! (GaussianMixture) |
| 82 | GaussianMixture_drawMarginalPdfcxx . . $ GaussianMixture_drawMarginalPdf(8c744a26bcc19324). (me, GRAPHICScxx . . $ `sys/praat.h:204:9`!, xDimension, xmin, xmax, ymin, ymax, numberOfPoints, numberOfBins, garnish); |
| 83 | GRAPHICS_EACH_ENDcxx . . $ `sys/praatM.h:700:9`! |
| 84 | } |
| 85 | |
| 86 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (QUERY_ONE_FOR_INTEGER__GaussianMixture_getNumberOfComponents) { |
| 87 | QUERY_ONE_FOR_INTEGERcxx . . $ `sys/praatM.h:838:9`! (GaussianMixture) |
| 88 | const integercxx . . $ integer# result = mycxx . . $ `melder/melder.h:44:9`! numberOfComponentscxx . . $ structGaussianMixture#numberOfComponents.; |
| 89 | QUERY_ONE_FOR_INTEGER_ENDcxx . . $ `sys/praatM.h:840:9`! (U" components") |
| 90 | } |
| 91 | |
| 92 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (QUERY_ONE_FOR_INTEGER__GaussianMixture_getDimensionOfComponent) { |
| 93 | QUERY_ONE_FOR_INTEGERcxx . . $ `sys/praatM.h:838:9`! (GaussianMixture) |
| 94 | const integercxx . . $ integer# result = mycxx . . $ `melder/melder.h:44:9`! dimensioncxx . . $ structGaussianMixture#dimension.; |
| 95 | QUERY_ONE_FOR_INTEGER_ENDcxx . . $ `sys/praatM.h:840:9`! (U" (dimension of component)") |
| 96 | } |
| 97 | |
| 98 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__GaussianMixture_getProbabilityAtPosition, U"GaussianMixture: Get probability at position", nullptr) { |
| 99 | SENTENCEcxx . . $ `sys/praatM.h:126:9`! (position_string, U"Position", U"100.0 300.0") |
| 100 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 101 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 102 | QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (GaussianMixture) |
| 103 | const double result = GaussianMixture_getProbabilityAtPosition_stringcxx . . $ GaussianMixture_getProbabilityAtPosition_string(b3e1baf1267a95da). (me, position_string); |
| 104 | QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" (probability at position ", position_string, U")") |
| 105 | } |
| 106 | |
| 107 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_GaussianMixture_splitComponent, U"GaussianMixture: Split component", U"GaussianMixture: Split component...") { |
| 108 | NATURALcxx . . $ `sys/praatM.h:120:9`! (component, U"Component", U"1") |
| 109 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 110 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 111 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (GaussianMixture) |
| 112 | GaussianMixture_splitComponentcxx . . $ GaussianMixture_splitComponent(2fd3f882ef0dccef). (me, component); |
| 113 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 114 | } |
| 115 | |
| 116 | FORMcxx . . $ `sys/praatM.h:79:9`! (GRAPHICS_ONE_AND_ONE__GaussianMixture_PCA_drawMarginalPdf, U"GaussianMixture & PCA: Draw pdf function", U"GaussianMixture: Draw marginal pdf...") { |
| 117 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (xDimension, U"X-dimension", U"1") |
| 118 | REALcxx . . $ `sys/praatM.h:92:9`! (xmin, U"left Horizontal range", U"0.0") |
| 119 | REALcxx . . $ `sys/praatM.h:92:9`! (xmax, U"right Horizontal range", U"0.0") |
| 120 | REALcxx . . $ `sys/praatM.h:92:9`! (ymin, U"left Vertical range", U"0.0") |
| 121 | REALcxx . . $ `sys/praatM.h:92:9`! (ymax, U"right Vertical range", U"0.0") |
| 122 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfPoints, U"Number of points", U"500") |
| 123 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (numberOfBins, U"Number of bins", U"0.0") |
| 124 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (garnish, U"Garnish", true) |
| 125 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 126 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 127 | GRAPHICS_ONE_AND_ONEcxx . . $ `sys/praatM.h:704:9`! (GaussianMixture, PCA) |
| 128 | GaussianMixture_PCA_drawMarginalPdfcxx . . $ GaussianMixture_PCA_drawMarginalPdf(6a7a8d0771c8334f). (me, you, GRAPHICScxx . . $ `sys/praat.h:204:9`!, xDimension, xmin, xmax, ymin, ymax, numberOfPoints, numberOfBins, garnish); |
| 129 | GRAPHICS_ONE_AND_ONE_ENDcxx . . $ `sys/praatM.h:707:9`! |
| 130 | } |
| 131 | |
| 132 | FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_ONE_AND_ONE_TO_ONE__GaussianMixture_PCA_to_Matrix_density, U"GaussianMixture & PCA: To Matrix density", U"GaussianMixture & PCA: To Matrix (density)...") { |
| 133 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (xDimension, U"X-dimension", U"1") |
| 134 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (yDimension, U"Y-dimension", U"2") |
| 135 | REALcxx . . $ `sys/praatM.h:92:9`! (xmin, U"left Horizontal range", U"0.0") |
| 136 | REALcxx . . $ `sys/praatM.h:92:9`! (xmax, U"right Horizontal range", U"0.0") |
| 137 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfColumns, U"Number of columns", U"100") |
| 138 | REALcxx . . $ `sys/praatM.h:92:9`! (ymin, U"left Vertical range", U"0.0") |
| 139 | REALcxx . . $ `sys/praatM.h:92:9`! (ymax, U"right Vertical range", U"0.0") |
| 140 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfRows, U"Number of rows", U"100") |
| 141 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 142 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 143 | CONVERT_ONE_AND_ONE_TO_ONEcxx . . $ `sys/praatM.h:1165:9`! (GaussianMixture, PCA) |
| 144 | autoMatrixcxx . . $ autoMatrix# result = GaussianMixture_PCA_to_Matrix_densitycxx . . $ GaussianMixture_PCA_to_Matrix_density(d2c6aa4969d8cdca). ( |
| 145 | me, you, xDimension, yDimension, xmin, xmax, numberOfColumns, ymin, ymax, numberOfRows |
| 146 | ); |
| 147 | CONVERT_ONE_AND_ONE_TO_ONE_ENDcxx . . $ `sys/praatM.h:1167:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_", yourcxx . . $ `melder/melder.h:46:9`! name.get()) |
| 148 | } |
| 149 | |
| 150 | FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__GaussianMixture_extractComponent, U"GaussianMixture: Extract component", nullptr) { |
| 151 | NATURALcxx . . $ `sys/praatM.h:120:9`! (component, U"Component", U"1") |
| 152 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 153 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 154 | CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (GaussianMixture) |
| 155 | autoCovariancecxx . . $ autoCovariance# result = GaussianMixture_extractComponentcxx . . $ GaussianMixture_extractComponent(65c3e21f6edc0039). (me, component); |
| 156 | CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get()) |
| 157 | } |
| 158 | |
| 159 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_EACH_TO_ONE__GaussianMixture_extractCentroids) { |
| 160 | CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (GaussianMixture) |
| 161 | autoTableOfRealcxx . . $ autoTableOfReal# result = GaussianMixture_extractCentroidscxx . . $ GaussianMixture_extractCentroids(920e598c5b3205c4). (me); |
| 162 | CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get()) |
| 163 | } |
| 164 | |
| 165 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_EACH_TO_ONE__GaussianMixture_extractMixingProbabilities) { |
| 166 | CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (GaussianMixture) |
| 167 | autoTableOfRealcxx . . $ autoTableOfReal# result = GaussianMixture_extractMixingProbabilitiescxx . . $ GaussianMixture_extractMixingProbabilities(920e598c5b3205c4). (me); |
| 168 | CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get()) |
| 169 | } |
| 170 | |
| 171 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_EACH_TO_ONE__GaussianMixture_to_PCA) { |
| 172 | CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (GaussianMixture) |
| 173 | autoPCAcxx . . $ autoPCA# result = GaussianMixture_to_PCAcxx . . $ GaussianMixture_to_PCA(2e3c11afa70d9e49). (me); |
| 174 | CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get()) |
| 175 | } |
| 176 | |
| 177 | FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__GaussianMixture_to_TableOfReal_randomSampling, U"GaussianMixture: To TableOfReal (random sampling)", U"GaussianMixture: To TableOfReal (random sampling)...") { |
| 178 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfPoints, U"Number of data points", U"100") |
| 179 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 180 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 181 | CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (GaussianMixture) |
| 182 | autoTableOfRealcxx . . $ autoTableOfReal# result = GaussianMixture_to_TableOfReal_randomSamplingcxx . . $ GaussianMixture_to_TableOfReal_randomSampling(bb47bed5c8079adb). (me, numberOfPoints); |
| 183 | CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get()) |
| 184 | } |
| 185 | |
| 186 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_EACH_TO_ONE__GaussianMixture_to_Covariance_between) { |
| 187 | CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (GaussianMixture) |
| 188 | autoCovariancecxx . . $ autoCovariance# result = GaussianMixture_to_Covariance_betweencxx . . $ GaussianMixture_to_Covariance_between(2376c2b32bfa09b5). (me); |
| 189 | CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_b") |
| 190 | } |
| 191 | |
| 192 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_EACH_TO_ONE__GaussianMixture_to_Covariance_within) { |
| 193 | CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (GaussianMixture) |
| 194 | autoCovariancecxx . . $ autoCovariance# result = GaussianMixture_to_Covariance_withincxx . . $ GaussianMixture_to_Covariance_within(2376c2b32bfa09b5). (me); |
| 195 | CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_w"); |
| 196 | } |
| 197 | |
| 198 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_EACH_TO_ONE__GaussianMixture_to_Covariance_total) { |
| 199 | CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (GaussianMixture) |
| 200 | autoCovariancecxx . . $ autoCovariance# result = GaussianMixture_to_Covariance_totalcxx . . $ GaussianMixture_to_Covariance_total(2376c2b32bfa09b5). (me); |
| 201 | CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_t"); |
| 202 | } |
| 203 | |
| 204 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_AND_ONE_FOR_REAL__GaussianMixture_TableOfReal_getLikelihoodValue, U"GaussianMixture & TableOfReal: Get likelihood value", |
| 205 | U"GaussianMixture & TableOfReal: Get likelihood value...") { |
| 206 | OPTIONMENU_ENUMcxx . . $ `sys/praatM.h:262:9`! (kGaussianMixtureCriterion, criterion, U"Criterion based on", kGaussianMixtureCriterion::DEFAULT) OKcxx . . $ `sys/praatM.h:327:9`! |
| 207 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 208 | QUERY_ONE_AND_ONE_FOR_REALcxx . . $ `sys/praatM.h:860:9`! (GaussianMixture, TableOfReal) |
| 209 | conststring32cxx . . $ conststring32# criterionText = GaussianMixture_criterionTextcxx . . $ GaussianMixture_criterionText(185f836f08e9b4fd). (criterion); |
| 210 | const double lnpdn = GaussianMixture_TableOfReal_getLikelihoodValuecxx . . $ GaussianMixture_TableOfReal_getLikelihoodValue(4d3968d8207e3e34). (me, you, criterion); |
| 211 | const double result = lnpdn / you -> numberOfRowscxx . . $ structTableOfReal#numberOfRows.; |
| 212 | QUERY_ONE_AND_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:862:9`! (U" (= ", criterionText, U", n = ", you -> numberOfRows, U")") |
| 213 | } |
| 214 | |
| 215 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (HELP__HMM_help) { |
| 216 | HELPcxx . . $ `sys/praatM.h:616:9`! (U"HMM") |
| 217 | } |
| 218 | |
| 219 | FORMcxx . . $ `sys/praatM.h:79:9`! (CREATE_ONE__HMM_create, U"Create HMM", nullptr) { |
| 220 | WORDcxx . . $ `sys/praatM.h:122:9`! (name, U"Name", U"hmm") |
| 221 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (leftToRightModel, U"Left to right model", false) |
| 222 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfStates, U"Number of states", U"3") |
| 223 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfObservations, U"Number of observations", U"3") |
| 224 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 225 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 226 | CREATE_ONEcxx . . $ `sys/praatM.h:485:9`! |
| 227 | autoHMMcxx . . $ autoHMM# result = HMM_createcxx . . $ HMM_create(cf580d37068cbc4f). (leftToRightModel, numberOfStates, numberOfObservations); |
| 228 | CREATE_ONE_ENDcxx . . $ `sys/praatM.h:486:9`! (name) |
| 229 | } |
| 230 | |
| 231 | FORMcxx . . $ `sys/praatM.h:79:9`! (CREATE_ONE__HMM_createSimple, U"HMM: Create simple", U"HMM: Create simple HMM...") { |
| 232 | WORDcxx . . $ `sys/praatM.h:122:9`! (name, U"Name", U"weather") |
| 233 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (leftToRightModel, U"Left to right model", false) |
| 234 | SENTENCEcxx . . $ `sys/praatM.h:126:9`! (states_string, U"States", U"Rainy Sunny") |
| 235 | SENTENCEcxx . . $ `sys/praatM.h:126:9`! (observations_string, U"Observations", U"Walk Shop Clean") |
| 236 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 237 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 238 | CREATE_ONEcxx . . $ `sys/praatM.h:485:9`! |
| 239 | autoHMMcxx . . $ autoHMM# result = HMM_createSimplecxx . . $ HMM_createSimple(2c3c45445b5abe78). (leftToRightModel, states_string, observations_string); |
| 240 | CREATE_ONE_ENDcxx . . $ `sys/praatM.h:486:9`! (name) |
| 241 | } |
| 242 | |
| 243 | FORMcxx . . $ `sys/praatM.h:79:9`! (CREATE_ONE__HMM_createContinuousModel, U"HMM: Create continuous model", nullptr) { |
| 244 | WORDcxx . . $ `sys/praatM.h:122:9`! (name, U"Name", U"cm") |
| 245 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (leftToRightModel, U"Left to right model", false) |
| 246 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfStates, U"Number of states", U"3") |
| 247 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfSymbols, U"Number of symbols", U"10") |
| 248 | COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"For the Gaussian mixtures:") |
| 249 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfComponents, U"Number of components", U"3") |
| 250 | NATURALcxx . . $ `sys/praatM.h:120:9`! (componentDimension, U"Dimension of component", U"39") |
| 251 | CHOICE_ENUMcxx . . $ `sys/praatM.h:249:9`! (kHMMstorage, storage, |
| 252 | U"Covariance matrices are", kHMMstorage::DEFAULT) |
| 253 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 254 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 255 | CREATE_ONEcxx . . $ `sys/praatM.h:485:9`! |
| 256 | autoHMMcxx . . $ autoHMM# result = HMM_createContinuousModelcxx . . $ HMM_createContinuousModel(4b9844b0026e562). ( |
| 257 | leftToRightModel, numberOfStates, numberOfSymbols, numberOfComponents, componentDimension, storage |
| 258 | ); |
| 259 | CREATE_ONE_ENDcxx . . $ `sys/praatM.h:486:9`! (name) |
| 260 | } |
| 261 | |
| 262 | FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__HMMObservationSequence_to_HMM, U"HMMObservationSequence: To HMM", nullptr) { |
| 263 | COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"(0 states gives a non-hidden model) ") |
| 264 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (numberOfHiddenStates, U"Number of hidden states", U"2") |
| 265 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (leftToRightModel, U"Left to right model", false) |
| 266 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 267 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 268 | CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (HMMObservationSequence) |
| 269 | autoHMMcxx . . $ autoHMM# result = HMM_createFromHMMObservationSequencecxx . . $ HMM_createFromHMMObservationSequence(4680bdcef32192e6). (me, numberOfHiddenStates, leftToRightModel); |
| 270 | CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_", numberOfHiddenStates) |
| 271 | } |
| 272 | |
| 273 | FORMcxx . . $ `sys/praatM.h:79:9`! (GRAPHICS_EACH__HMM_draw, U"HMM: Draw", nullptr) { |
| 274 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (garnish, U"Garnish", false) |
| 275 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 276 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 277 | GRAPHICS_EACHcxx . . $ `sys/praatM.h:697:9`! (HMM) |
| 278 | HMM_drawcxx . . $ HMM_draw(9b70ab1338808ba2). (me, GRAPHICScxx . . $ `sys/praat.h:204:9`!, garnish); |
| 279 | GRAPHICS_EACH_ENDcxx . . $ `sys/praatM.h:700:9`! |
| 280 | } |
| 281 | |
| 282 | FORMcxx . . $ `sys/praatM.h:79:9`! (GRAPHICS_ONE_AND_ONE__HMM_HMMStateSequence_drawTrellis, U"HMM & Strings: Draw trellis", nullptr) { |
| 283 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (connect, U"Connect", true); |
| 284 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (garnish, U"Garnish", true); |
| 285 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 286 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 287 | GRAPHICS_ONE_AND_ONEcxx . . $ `sys/praatM.h:704:9`! (HMM, HMMStateSequence) |
| 288 | HMM_HMMStateSequence_drawTrelliscxx . . $ HMM_HMMStateSequence_drawTrellis(91c6c1c881ad593). (me, you, GRAPHICScxx . . $ `sys/praat.h:204:9`!, connect, garnish); |
| 289 | GRAPHICS_ONE_AND_ONE_ENDcxx . . $ `sys/praatM.h:707:9`! |
| 290 | } |
| 291 | |
| 292 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (GRAPHICS_NONE__HMM_drawForwardProbabilitiesIllustration) { |
| 293 | GRAPHICS_NONEcxx . . $ `sys/praatM.h:692:9`! |
| 294 | HMM_drawForwardProbabilitiesIllustrationcxx . . $ HMM_drawForwardProbabilitiesIllustration(b5ae742079ad918c). (GRAPHICScxx . . $ `sys/praat.h:204:9`!, true); |
| 295 | GRAPHICS_NONE_ENDcxx . . $ `sys/praatM.h:694:9`! |
| 296 | } |
| 297 | |
| 298 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (GRAPHICS_NONE__HMM_drawBackwardProbabilitiesIllustration) { |
| 299 | GRAPHICS_NONEcxx . . $ `sys/praatM.h:692:9`! |
| 300 | HMM_drawBackwardProbabilitiesIllustrationcxx . . $ HMM_drawBackwardProbabilitiesIllustration(b5ae742079ad918c). (GRAPHICScxx . . $ `sys/praat.h:204:9`!, true); |
| 301 | GRAPHICS_NONE_ENDcxx . . $ `sys/praatM.h:694:9`! |
| 302 | } |
| 303 | |
| 304 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (GRAPHICS_NONE__HMM_drawForwardAndBackwardProbabilitiesIllustration) { |
| 305 | GRAPHICS_NONEcxx . . $ `sys/praatM.h:692:9`! |
| 306 | HMM_drawForwardAndBackwardProbabilitiesIllustrationcxx . . $ HMM_drawForwardAndBackwardProbabilitiesIllustration(b5ae742079ad918c). (GRAPHICScxx . . $ `sys/praat.h:204:9`!, true); |
| 307 | GRAPHICS_NONE_ENDcxx . . $ `sys/praatM.h:694:9`! |
| 308 | } |
| 309 | |
| 310 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__HMM_getTransitionProbability, U"HMM: Get transition probability", U"HMM: Get transition probability...") { |
| 311 | NATURALcxx . . $ `sys/praatM.h:120:9`! (fromState, U"From state number", U"1") |
| 312 | NATURALcxx . . $ `sys/praatM.h:120:9`! (toState, U"To state number", U"1") |
| 313 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 314 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 315 | QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (HMM) |
| 316 | Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (fromState <= mycxx . . $ `melder/melder.h:44:9`! numberOfStates, |
| 317 | U"\"From state number\" should not be larger than ", mycxx . . $ `melder/melder.h:44:9`! numberOfStates, U"."); |
| 318 | Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (toState <= mycxx . . $ `melder/melder.h:44:9`! numberOfStates, |
| 319 | U"\"To state number\" should not be larger than ", mycxx . . $ `melder/melder.h:44:9`! numberOfStates, U"."); |
| 320 | const double result = mycxx . . $ `melder/melder.h:44:9`! transitionProbscxx . . $ structHMM#transitionProbs. [cxx . . $ automatrix#`operator[]`(2d545b3cb3f8e666).fromState] [cxx . . $ vector#`operator[]`(8a4599b8835d1ce1).toState]; |
| 321 | QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" : [ ", fromState, U", ", toState, U" ]") |
| 322 | } |
| 323 | |
| 324 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__HMM_getEmissionProbability, U"HMM: Get emission probability", U"HMM: Get emission probability...") { |
| 325 | NATURALcxx . . $ `sys/praatM.h:120:9`! (fromState, U"From state number", U"1") |
| 326 | NATURALcxx . . $ `sys/praatM.h:120:9`! (symbolNumber, U"Symbol number", U"1") |
| 327 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 328 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 329 | QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (HMM) |
| 330 | Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (fromState <= mycxx . . $ `melder/melder.h:44:9`! numberOfStates, |
| 331 | U"\"From state number\" should not be larger than ", mycxx . . $ `melder/melder.h:44:9`! numberOfStates, U"."); |
| 332 | Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (symbolNumber <= mycxx . . $ `melder/melder.h:44:9`! numberOfObservationSymbols, |
| 333 | U"\"Symbol number\" should not be larger than ", mycxx . . $ `melder/melder.h:44:9`! numberOfObservationSymbols, U"."); |
| 334 | const double result = mycxx . . $ `melder/melder.h:44:9`! emissionProbscxx . . $ structHMM#emissionProbs. [cxx . . $ automatrix#`operator[]`(2d545b3cb3f8e666).fromState] [cxx . . $ vector#`operator[]`(8a4599b8835d1ce1).symbolNumber]; |
| 335 | QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" : [ ", fromState, U", ", symbolNumber, U" ]") |
| 336 | } |
| 337 | |
| 338 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__HMM_getStartProbability, U"HMM: Get start probability", U"HMM: Get start probability...") { |
| 339 | NATURALcxx . . $ `sys/praatM.h:120:9`! (stateNumber, U"State number", U"1") |
| 340 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 341 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 342 | QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (HMM) |
| 343 | Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (stateNumber <= mycxx . . $ `melder/melder.h:44:9`! numberOfStates, |
| 344 | U"\"State number\" should not be larger than ", mycxx . . $ `melder/melder.h:44:9`! numberOfStates, U"."); |
| 345 | const double result = mycxx . . $ `melder/melder.h:44:9`! initialStateProbscxx . . $ structHMM#initialStateProbs. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).stateNumber]; |
| 346 | QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" : [ ", stateNumber, U" ]") |
| 347 | } |
| 348 | |
| 349 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__HMM_getProbabilityAtTimeBeingInState, U"HMM: Get probability of being in state at time", |
| 350 | U"HMM: Get p (time, state)...") { |
| 351 | NATURALcxx . . $ `sys/praatM.h:120:9`! (timeIndex, U"Time index", U"10") |
| 352 | NATURALcxx . . $ `sys/praatM.h:120:9`! (stateNumber, U"State number", U"1") |
| 353 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 354 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 355 | QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (HMM) |
| 356 | const double result = HMM_getProbabilityAtTimeBeingInStatecxx . . $ HMM_getProbabilityAtTimeBeingInState(a5dc8f3f179118c1). (me, timeIndex, stateNumber); |
| 357 | QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" (= ln(p), p = ", Melder_naturalLogarithm (result), U") Being in state ", stateNumber, U" at time ", timeIndex) |
| 358 | } |
| 359 | |
| 360 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__HMM_getProbabilityAtTimeBeingInStateEmittingSymbol, U"HMM: get probability being at time in state emitting symbol", U"HMM: Get p (time, state, symbol)...") { |
| 361 | NATURALcxx . . $ `sys/praatM.h:120:9`! (timeIndex, U"Time index", U"10") |
| 362 | NATURALcxx . . $ `sys/praatM.h:120:9`! (stateNumber, U"State number", U"1") |
| 363 | NATURALcxx . . $ `sys/praatM.h:120:9`! (symbolNumber, U"Symbol number", U"1") |
| 364 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 365 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 366 | QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (HMM) |
| 367 | const double result = HMM_getProbabilityAtTimeBeingInStateEmittingSymbolcxx . . $ HMM_getProbabilityAtTimeBeingInStateEmittingSymbol(db68c79978c7f386). (me, timeIndex, stateNumber, symbolNumber); |
| 368 | QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" (= ln(p), p = ", Melder_naturalLogarithm (result), U") Being in state ", stateNumber, |
| 369 | U" emitting symbol ", symbolNumber, U" at time ", timeIndex) |
| 370 | } |
| 371 | |
| 372 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__HMM_getProbabilityOfStayingInState, U"HMM: Get probability of staying in state", U"HMM: Get probability staying in state...") { |
| 373 | NATURALcxx . . $ `sys/praatM.h:120:9`! (stateNumber, U"State number", U"1") |
| 374 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfTimeUnits, U"Number of time units", U"2") |
| 375 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 376 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 377 | QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (HMM) |
| 378 | const double result = HMM_getProbabilityOfStayingInStatecxx . . $ HMM_getProbabilityOfStayingInState(a5dc8f3f179118c1). (me, stateNumber, numberOfTimeUnits); |
| 379 | QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U"(probability of staying in state)") |
| 380 | } |
| 381 | |
| 382 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__HMM_getExpectedDurationInState, U"HMM: Get expected value of duration in state", |
| 383 | U"HMM: Get expected duration in state...") { |
| 384 | NATURALcxx . . $ `sys/praatM.h:120:9`! (stateNumber, U"State number", U"1") |
| 385 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 386 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 387 | QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (HMM) |
| 388 | const double result = HMM_getExpectedValueOfDurationInStatecxx . . $ HMM_getExpectedValueOfDurationInState(b5d3b510bb3a6f4a). (me, stateNumber); |
| 389 | QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" time units") |
| 390 | } |
| 391 | |
| 392 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_STRING__HMM_getSymbolLabel, U"HMM: Get symbol label", nullptr) { |
| 393 | NATURALcxx . . $ `sys/praatM.h:120:9`! (symbolNumber, U"Symbol number", U"1") |
| 394 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 395 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 396 | QUERY_ONE_FOR_STRINGcxx . . $ `sys/praatM.h:931:9`! (HMM) |
| 397 | Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (symbolNumber <= mycxx . . $ `melder/melder.h:44:9`! numberOfObservationSymbols, |
| 398 | U"\"Symbol number\" should not be larger than ", mycxx . . $ `melder/melder.h:44:9`! numberOfObservationSymbols, U"."); |
| 399 | const HMMObservationcxx . . $ HMMObservation# observation = mycxx . . $ `melder/melder.h:44:9`! observationSymbolscxx . . $ structHMM#observationSymbols.->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab).atcxx . . $ CollectionOf#at. [cxx . . $ ArrayOf#`operator[]`(a7f36fee1ae21897).symbolNumber]; |
| 400 | conststring32cxx . . $ conststring32# result = observation -> labelcxx . . $ structHMMObservation#label..getcxx . . $ _autostring#get(5a2a78a048fb49a8).(); |
| 401 | QUERY_ONE_FOR_STRING_ENDcxx . . $ `sys/praatM.h:933:9`! |
| 402 | } |
| 403 | |
| 404 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_STRING__HMM_getStateLabel, U"HMM: Get state label", nullptr) { |
| 405 | NATURALcxx . . $ `sys/praatM.h:120:9`! (stateNumber, U"State number", U"1") |
| 406 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 407 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 408 | QUERY_ONE_FOR_STRINGcxx . . $ `sys/praatM.h:931:9`! (HMM) |
| 409 | Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (stateNumber <= mycxx . . $ `melder/melder.h:44:9`! numberOfStates, |
| 410 | U"\"State number\" should not be larger than ", mycxx . . $ `melder/melder.h:44:9`! numberOfStates, U"."); |
| 411 | const HMMStatecxx . . $ HMMState# state = mycxx . . $ `melder/melder.h:44:9`! statescxx . . $ structHMM#states.->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab).atcxx . . $ CollectionOf#at. [cxx . . $ ArrayOf#`operator[]`(a7f36fee1ae21897).stateNumber]; |
| 412 | conststring32cxx . . $ conststring32# result = state -> labelcxx . . $ structHMMState#label..getcxx . . $ _autostring#get(5a2a78a048fb49a8).(); |
| 413 | QUERY_ONE_FOR_STRING_ENDcxx . . $ `sys/praatM.h:933:9`! |
| 414 | } |
| 415 | |
| 416 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_TWO_FOR_REAL__HMM_HMM_getCrossEntropy, U"HMM & HMM: Get cross-entropy...", U"HMM & HMM: Get cross-entropy...") { |
| 417 | NATURALcxx . . $ `sys/praatM.h:120:9`! (observationLength, U"Observation length", U"2000") |
| 418 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (symmetric, U"Symmetric", true) |
| 419 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 420 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 421 | QUERY_TWO_FOR_REALcxx . . $ `sys/praatM.h:898:9`! (HMM) |
| 422 | const double result = HMM_HMM_getCrossEntropycxx . . $ HMM_HMM_getCrossEntropy(e83ce15ac0166a82). (me, you, observationLength, symmetric); |
| 423 | QUERY_TWO_FOR_REAL_ENDcxx . . $ `sys/praatM.h:900:9`! (U" (", ( symmetric ? U"symmetric " : U"" ), |
| 424 | U"cross-entropy between models for observation length ", observationLength, U")") |
| 425 | } |
| 426 | |
| 427 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (QUERY_TWO_AND_ONE_FOR_REAL__HMM_HMM_HMMObservationSequence_getCrossEntropy) { |
| 428 | QUERY_TWO_AND_ONE_FOR_REALcxx . . $ `sys/praatM.h:903:9`! (HMM, HMMObservationSequence) |
| 429 | const double result = HMM_HMM_HMMObservationSequence_getCrossEntropycxx . . $ HMM_HMM_HMMObservationSequence_getCrossEntropy(704f2298e8fb2cba). (me, you, him); |
| 430 | QUERY_TWO_AND_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:905:9`! (U" (symmetric cross-entropy between models)") |
| 431 | } |
| 432 | |
| 433 | FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__HMM_to_HMMObservationSequence, U"HMM: To HMMObservationSequence (generate observations)", U"HMM: To HMMObservationSequence...") { |
| 434 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (startState, U"Start state", U"0") |
| 435 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfObservations, U"Number of observations", U"20") |
| 436 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 437 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 438 | CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (HMM) |
| 439 | autoHMMObservationSequencecxx . . $ autoHMMObservationSequence# result = HMM_to_HMMObservationSequencecxx . . $ HMM_to_HMMObservationSequence(d1c4b4e14e520387). (me, startState, numberOfObservations); |
| 440 | CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get()) |
| 441 | } |
| 442 | |
| 443 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (QUERY_ONE_AND_ONE_FOR_REAL__HMM_HMMStateSequence_getProbability) { |
| 444 | QUERY_ONE_AND_ONE_FOR_REALcxx . . $ `sys/praatM.h:860:9`! (HMM, HMMStateSequence) |
| 445 | const double result = HMM_HMMStateSequence_getProbabilitycxx . . $ HMM_HMMStateSequence_getProbability(76df72986c2263a7). (me, you); |
| 446 | QUERY_ONE_AND_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:862:9`! (U" (= ln(p), p = ", Melder_naturalLogarithm (result), U")") |
| 447 | } |
| 448 | |
| 449 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (QUERY_ONE_AND_ONE_FOR_REAL__HMM_HMMObservationSequence_getProbability) { |
| 450 | QUERY_ONE_AND_ONE_FOR_REALcxx . . $ `sys/praatM.h:860:9`! (HMM, HMMObservationSequence) |
| 451 | const double result = HMM_HMMObservationSequence_getProbabilitycxx . . $ HMM_HMMObservationSequence_getProbability(3536ecb89be28e71). (me, you); |
| 452 | QUERY_ONE_AND_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:862:9`! (U" (= ln(p), p = ", Melder_naturalLogarithm (result), U")") |
| 453 | } |
| 454 | |
| 455 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (QUERY_ONE_AND_ONE_FOR_REAL__HMM_HMMObservationSequence_getCrossEntropy) { |
| 456 | QUERY_ONE_AND_ONE_FOR_REALcxx . . $ `sys/praatM.h:860:9`! (HMM, HMMObservationSequence) |
| 457 | const double result = HMM_HMMObservationSequence_getCrossEntropycxx . . $ HMM_HMMObservationSequence_getCrossEntropy(3536ecb89be28e71). (me, you); |
| 458 | QUERY_ONE_AND_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:862:9`! (U" (cross-entropy)") |
| 459 | } |
| 460 | |
| 461 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (QUERY_ONE_AND_ONE_FOR_REAL__HMM_HMMObservationSequence_getPerplexity) { |
| 462 | QUERY_ONE_AND_ONE_FOR_REALcxx . . $ `sys/praatM.h:860:9`! (HMM, HMMObservationSequence) |
| 463 | const double result = HMM_HMMObservationSequence_getPerplexitycxx . . $ HMM_HMMObservationSequence_getPerplexity(3536ecb89be28e71). (me, you); |
| 464 | QUERY_ONE_AND_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:862:9`! (U" (perplexity)") |
| 465 | } |
| 466 | |
| 467 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_ONE_AND_ONE_TO_ONE__HMM_HMMObservationSequence_to_HMMStateSequence) { |
| 468 | CONVERT_ONE_AND_ONE_TO_ONEcxx . . $ `sys/praatM.h:1165:9`! (HMM, HMMObservationSequence) |
| 469 | autoHMMStateSequencecxx . . $ autoHMMStateSequence# result = HMM_HMMObservationSequence_to_HMMStateSequencecxx . . $ HMM_HMMObservationSequence_to_HMMStateSequence(e3b0918df6c6ca53). (me, you); |
| 470 | CONVERT_ONE_AND_ONE_TO_ONE_ENDcxx . . $ `sys/praatM.h:1167:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_", yourcxx . . $ `melder/melder.h:46:9`! name.get(), U"_states") |
| 471 | } |
| 472 | |
| 473 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_FIRST_OF_ONE_AND_ALL__HMM_HMMObservationSequence_learn, U"HMM & HMMObservationSequence: Learn", U"HMM & HMMObservationSequences: Learn...") { |
| 474 | POSITIVEcxx . . $ `sys/praatM.h:104:9`! (relativePrecision_log, U"Relative precision in log(p)", U"0.001") |
| 475 | REALcxx . . $ `sys/praatM.h:92:9`! (minimumProbability, U"Minimum probability", U"0.00000000001") |
| 476 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (showProgress, U"Learning history in Info window", false) |
| 477 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 478 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 479 | Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (minimumProbability >= 0.0 && minimumProbability < 1.0, |
| 480 | U"The minimum probability should be in [0, 1)."); |
| 481 | MODIFY_FIRST_OF_ONE_AND_ALLcxx . . $ `sys/praatM.h:1090:9`! (HMM, HMMObservationSequence) |
| 482 | HMM_HMMObservationSequenceBag_learncxx . . $ HMM_HMMObservationSequenceBag_learn(ff8bd6789787a46c). (me, (HMMObservationSequenceBagcxx . . $ HMMObservationSequenceBag#) & list, relativePrecision_log, minimumProbability, showProgress); |
| 483 | MODIFY_FIRST_OF_ONE_AND_ALL_ENDcxx . . $ `sys/praatM.h:1093:9`! |
| 484 | } |
| 485 | |
| 486 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__HMM_setTransitionProbabilities, U"HMM: Set transition probabilities", U"HMM: Set transition probabilities...") { |
| 487 | NATURALcxx . . $ `sys/praatM.h:120:9`! (stateNumber, U"State number", U"1") |
| 488 | REALVECTORcxx . . $ `sys/praatM.h:164:9`! (relativeProbabilities, U"Relative probabilities", WHITESPACE_SEPARATED_, U"0.1 0.9") |
| 489 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 490 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 491 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (HMM) |
| 492 | HMM_setTransitionProbabilitiescxx . . $ HMM_setTransitionProbabilities(825fcdb86698f8a6). (me, stateNumber, relativeProbabilitiescxx . . $ constvectorview#constvectorview(fc39adb4395e9baf).); |
| 493 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 494 | } |
| 495 | |
| 496 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__HMM_setEmissionProbabilities, U"HMM: Set emission probabilities", U"HMM: Set emission probabilities...") { |
| 497 | NATURALcxx . . $ `sys/praatM.h:120:9`! (stateNumber, U"State number", U"1") |
| 498 | REALVECTORcxx . . $ `sys/praatM.h:164:9`! (relativeProbabilities, U"Relative probabilities", WHITESPACE_SEPARATED_, U"0.1 0.7 0.2") |
| 499 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 500 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 501 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (HMM) |
| 502 | HMM_setEmissionProbabilitiescxx . . $ HMM_setEmissionProbabilities(825fcdb86698f8a6). (me, stateNumber, relativeProbabilitiescxx . . $ constvectorview#constvectorview(fc39adb4395e9baf).); |
| 503 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 504 | } |
| 505 | |
| 506 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__HMM_setStartProbabilities, U"HMM: Set start probabilities", U"HMM: Set start probabilities...") { |
| 507 | REALVECTORcxx . . $ `sys/praatM.h:164:9`! (relativeProbabilities, U"Relative probabilities", WHITESPACE_SEPARATED_, U"0.1 0.9") |
| 508 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 509 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 510 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (HMM) |
| 511 | HMM_setStartProbabilitiescxx . . $ HMM_setStartProbabilities(201a3d0dac5ab6fa). (me, relativeProbabilitiescxx . . $ constvectorview#constvectorview(fc39adb4395e9baf).); |
| 512 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 513 | } |
| 514 | |
| 515 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_EACH_TO_ONE__HMM_extractTransitionProbabilities) { |
| 516 | CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (HMM) |
| 517 | autoTableOfRealcxx . . $ autoTableOfReal# result = HMM_extractTransitionProbabilitiescxx . . $ HMM_extractTransitionProbabilities(fc64821279f9062c). (me); |
| 518 | CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_t") |
| 519 | } |
| 520 | |
| 521 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_EACH_TO_ONE__HMM_extractEmissionProbabilities) { |
| 522 | CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (HMM) |
| 523 | autoTableOfRealcxx . . $ autoTableOfReal# result = HMM_extractEmissionProbabilitiescxx . . $ HMM_extractEmissionProbabilities(fc64821279f9062c). (me); |
| 524 | CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_e") |
| 525 | } |
| 526 | |
| 527 | FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__HMMObservationSequence_to_TableOfReal_bigrams, U"HMMObservationSequence: To TableOfReal ", U"HMMObservationSequence: To TableOfReal (bigrams)...") { |
| 528 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (asProbabilities, U"As probabilities", true) |
| 529 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 530 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 531 | CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (HMMObservationSequence) |
| 532 | autoTableOfRealcxx . . $ autoTableOfReal# result = HMMObservationSequence_to_TableOfReal_transitionscxx . . $ HMMObservationSequence_to_TableOfReal_transitions(cc9aa951ca0d805d). (me, asProbabilities); |
| 533 | CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get()) |
| 534 | } |
| 535 | |
| 536 | FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_ONE_AND_ONE_TO_ONE__HMM_HMMObservationSequence_to_TableOfReal_bigrams, U"HMM & HMMObservationSequence: To TableOfReal", U"HMM & HMMObservationSequence: To TableOfReal (bigrams)...") { |
| 537 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (asProbabilities, U"As probabilities", true) |
| 538 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 539 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 540 | CONVERT_ONE_AND_ONE_TO_ONEcxx . . $ `sys/praatM.h:1165:9`! (HMM, HMMObservationSequence) |
| 541 | autoTableOfRealcxx . . $ autoTableOfReal# result = HMM_HMMObservationSequence_to_TableOfReal_transitionscxx . . $ HMM_HMMObservationSequence_to_TableOfReal_transitions(3567f58da6922fc6). (me, you, asProbabilities); |
| 542 | CONVERT_ONE_AND_ONE_TO_ONE_ENDcxx . . $ `sys/praatM.h:1167:9`! (yourcxx . . $ `melder/melder.h:46:9`! name.get(), U"_m") |
| 543 | } |
| 544 | |
| 545 | FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_ONE_AND_ONE_TO_ONE__HMM_HMMStateSequence_to_TableOfReal_bigrams, U"HMM & HMMStateSequence: To TableOfReal", nullptr) { |
| 546 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (asProbabilities, U"As probabilities", true) |
| 547 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 548 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 549 | CONVERT_ONE_AND_ONE_TO_ONEcxx . . $ `sys/praatM.h:1165:9`! (HMM, HMMStateSequence) |
| 550 | autoTableOfRealcxx . . $ autoTableOfReal# result = HMM_HMMStateSequence_to_TableOfReal_transitionscxx . . $ HMM_HMMStateSequence_to_TableOfReal_transitions(f327171d0faaa012). (me, you, asProbabilities); |
| 551 | CONVERT_ONE_AND_ONE_TO_ONE_ENDcxx . . $ `sys/praatM.h:1167:9`! (yourcxx . . $ `melder/melder.h:46:9`! name.get(), U"_m") |
| 552 | } |
| 553 | |
| 554 | FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__HMMStateSequence_to_TableOfReal_bigrams, U"HMMStateSequence: To TableOfReal", nullptr) { |
| 555 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (asProbabilities, U"As probabilities", true) |
| 556 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 557 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 558 | CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (HMMStateSequence) |
| 559 | autoTableOfRealcxx . . $ autoTableOfReal# result = Strings_to_TableOfReal_transitionscxx . . $ Strings_to_TableOfReal_transitions(c553ca65e8404f05). (me, asProbabilities); |
| 560 | CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get()) |
| 561 | } |
| 562 | |
| 563 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_EACH_TO_ONE__HMMObservationSequence_to_Strings) { |
| 564 | CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (HMMObservationSequence) |
| 565 | autoStringscxx . . $ autoStrings# result = HMMObservationSequence_to_Stringscxx . . $ HMMObservationSequence_to_Strings(96468204c8f86caf). (me); |
| 566 | CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get()) |
| 567 | } |
| 568 | |
| 569 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_EACH_TO_ONE__Strings_to_HMMObservationSequence) { |
| 570 | CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Strings) |
| 571 | autoHMMObservationSequencecxx . . $ autoHMMObservationSequence# result = Strings_to_HMMObservationSequencecxx . . $ Strings_to_HMMObservationSequence(f78a6c939a57c1f9). (me); |
| 572 | CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get()) |
| 573 | } |
| 574 | |
| 575 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_EACH_TO_ONE__HMMStateSequence_to_Strings) { |
| 576 | CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (HMMStateSequence) |
| 577 | autoStringscxx . . $ autoStrings# result = HMMStateSequence_to_Stringscxx . . $ HMMStateSequence_to_Strings(ba26850bc1662146). (me); |
| 578 | CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get()) |
| 579 | } |
| 580 | |
| 581 | FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__TableOfReal_to_GaussianMixture_rowlabels, U"TableOfReal: To GaussianMixture from row labels", U"TableOfReal: To GaussianMixture (row labels)...") { |
| 582 | CHOICE_ENUMcxx . . $ `sys/praatM.h:249:9`! (kGaussianMixtureStorage, storage, |
| 583 | U"Covariance matrices are", kGaussianMixtureStorage::DEFAULT) |
| 584 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 585 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 586 | CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (TableOfReal) |
| 587 | autoGaussianMixturecxx . . $ autoGaussianMixture# result = TableOfReal_to_GaussianMixture_fromRowLabelscxx . . $ TableOfReal_to_GaussianMixture_fromRowLabels(636f10e8375fac0). (me, storage); |
| 588 | CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get()) |
| 589 | } |
| 590 | |
| 591 | FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__TableOfReal_to_GaussianMixture, U"TableOfReal: To GaussianMixture (no labels)", U"TableOfReal: To GaussianMixture...") { |
| 592 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfComponents, U"Number of components", U"2") |
| 593 | POSITIVEcxx . . $ `sys/praatM.h:104:9`! (tolerance, U"Tolerance of minimizer", U"0.001") |
| 594 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (maximumNumberOfIterations, U"Maximum number of iterations", U"200") |
| 595 | REALcxx . . $ `sys/praatM.h:92:9`! (lambda, U"Stability coefficient lambda", U"0.001") |
| 596 | CHOICE_ENUMcxx . . $ `sys/praatM.h:249:9`! (kGaussianMixtureStorage, storage, |
| 597 | U"Covariance matrices are", kGaussianMixtureStorage::DEFAULT) |
| 598 | OPTIONMENU_ENUMcxx . . $ `sys/praatM.h:262:9`! (kGaussianMixtureCriterion, criterion, U"Criterion based on", kGaussianMixtureCriterion::DEFAULT) |
| 599 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 600 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 601 | Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (lambda >= 0.0 && lambda < 1.0, |
| 602 | U"Lambda should be in the interval [0, 1)."); |
| 603 | CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (TableOfReal) |
| 604 | autoGaussianMixturecxx . . $ autoGaussianMixture# result = TableOfReal_to_GaussianMixturecxx . . $ TableOfReal_to_GaussianMixture(3a584962ac32c20). ( |
| 605 | me, numberOfComponents, tolerance, maximumNumberOfIterations, lambda, storage, criterion |
| 606 | ); |
| 607 | CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get()) |
| 608 | } |
| 609 | |
| 610 | FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__TableOfReal_to_GaussianMixture_CEMM, U"TableOfReal: To GaussianMixture (CEMM)", U"TableOfReal: To GaussianMixture (CEMM)...") { |
| 611 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (minimumNumberOfComponents, U"Minimum number of components", U"1") |
| 612 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (maximumNumberOfComponents, U"Maximum number of components", U"10") |
| 613 | CHOICE_ENUMcxx . . $ `sys/praatM.h:249:9`! (kGaussianMixtureStorage, storage, |
| 614 | U"Covariance matrices are", kGaussianMixtureStorage::DEFAULT) |
| 615 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (maximumNumberOfIterations, U"Maximum number of iterations", U"200") |
| 616 | POSITIVEcxx . . $ `sys/praatM.h:104:9`! (tolerance, U"Tolerance of minimizer", U"0.00001") |
| 617 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (info, U"Info", false) |
| 618 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 619 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 620 | CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (TableOfReal) |
| 621 | autoGaussianMixturecxx . . $ autoGaussianMixture# result = TableOfReal_to_GaussianMixture_CEMMcxx . . $ TableOfReal_to_GaussianMixture_CEMM(8abb6647b26b580c). ( |
| 622 | me, minimumNumberOfComponents, maximumNumberOfComponents, storage, maximumNumberOfIterations, tolerance, info |
| 623 | ); |
| 624 | CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get()) |
| 625 | } |
| 626 | |
| 627 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_FIRST_OF_ONE_AND_ONE__GaussianMixture_TableOfReal_improveLikelihood, U"GaussianMixture & TableOfReal: Improve likelihood", U"GaussianMixture & TableOfReal: Improve likelihood...") { |
| 628 | POSITIVEcxx . . $ `sys/praatM.h:104:9`! (tolerance, U"Tolerance of minimizer", U"0.001") |
| 629 | NATURALcxx . . $ `sys/praatM.h:120:9`! (maximumNumberOfIterations, U"Maximum number of iterations", U"200") |
| 630 | REALcxx . . $ `sys/praatM.h:92:9`! (lambda, U"Stability coefficient lambda", U"0.001") |
| 631 | OPTIONMENU_ENUMcxx . . $ `sys/praatM.h:262:9`! (kGaussianMixtureCriterion, criterion, U"Criterion based on", kGaussianMixtureCriterion::DEFAULT) |
| 632 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 633 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 634 | Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (lambda >= 0.0 && lambda < 1.0, |
| 635 | U"Lambda should be in the interval [0, 1)."); |
| 636 | MODIFY_FIRST_OF_ONE_AND_ONEcxx . . $ `sys/praatM.h:1041:9`! (GaussianMixture, TableOfReal) |
| 637 | GaussianMixture_TableOfReal_improveLikelihoodcxx . . $ GaussianMixture_TableOfReal_improveLikelihood(4d9c0daae3862ead). (me, you, tolerance, maximumNumberOfIterations, lambda, criterion); |
| 638 | MODIFY_FIRST_OF_ONE_AND_ONE_ENDcxx . . $ `sys/praatM.h:1044:9`! |
| 639 | } |
| 640 | |
| 641 | FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_ONE_AND_ONE_TO_ONE__GaussianMixture_TableOfReal_to_GaussianMixture_CEMM, U"GaussianMixture & TableOfReal: To GaussianMixture (CEMM)", U"GaussianMixture & TableOfReal: To GaussianMixture (CEMM)...") { |
| 642 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (minimumNumberOfComponents, U"Minimum number of components", U"1") |
| 643 | POSITIVEcxx . . $ `sys/praatM.h:104:9`! (tolerance, U"Tolerance of minimizer", U"0.001") |
| 644 | NATURALcxx . . $ `sys/praatM.h:120:9`! (maximumNumberOfIterations, U"Maximum number of iterations", U"200") |
| 645 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (info, U"Info", false) |
| 646 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 647 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 648 | CONVERT_ONE_AND_ONE_TO_ONEcxx . . $ `sys/praatM.h:1165:9`! (GaussianMixture, TableOfReal) |
| 649 | autoGaussianMixturecxx . . $ autoGaussianMixture# result = GaussianMixture_TableOfReal_to_GaussianMixture_CEMMcxx . . $ GaussianMixture_TableOfReal_to_GaussianMixture_CEMM(f4de5d0ba8c19c45). ( |
| 650 | me, you, minimumNumberOfComponents, maximumNumberOfIterations, tolerance, info |
| 651 | ); |
| 652 | CONVERT_ONE_AND_ONE_TO_ONE_ENDcxx . . $ `sys/praatM.h:1167:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get()) |
| 653 | } |
| 654 | |
| 655 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_ONE_AND_ONE_TO_ONE__GaussianMixture_TableOfReal_to_ClassificationTable) { |
| 656 | CONVERT_ONE_AND_ONE_TO_ONEcxx . . $ `sys/praatM.h:1165:9`! (GaussianMixture, TableOfReal) |
| 657 | autoClassificationTablecxx . . $ autoClassificationTable# result = GaussianMixture_TableOfReal_to_ClassificationTablecxx . . $ GaussianMixture_TableOfReal_to_ClassificationTable(b53771290e8e341a). (me, you); |
| 658 | CONVERT_ONE_AND_ONE_TO_ONE_ENDcxx . . $ `sys/praatM.h:1167:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_", yourcxx . . $ `melder/melder.h:46:9`! name.get()) |
| 659 | } |
| 660 | |
| 661 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_ONE_AND_ONE_TO_ONE__GaussianMixture_TableOfReal_to_TableOfReal_probabilities) { |
| 662 | CONVERT_ONE_AND_ONE_TO_ONEcxx . . $ `sys/praatM.h:1165:9`! (GaussianMixture, TableOfReal) |
| 663 | autoTableOfRealcxx . . $ autoTableOfReal# result = GaussianMixture_TableOfReal_to_TableOfReal_probabilitiescxx . . $ GaussianMixture_TableOfReal_to_TableOfReal_probabilities(da7025f09333dc32). (me, you); |
| 664 | CONVERT_ONE_AND_ONE_TO_ONE_ENDcxx . . $ `sys/praatM.h:1167:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_", yourcxx . . $ `melder/melder.h:46:9`! name.get()) |
| 665 | } |
| 666 | |
| 667 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_ONE_AND_ONE_TO_ONE__GaussianMixture_TableOfReal_to_TableOfReal_responsibilities) { |
| 668 | CONVERT_ONE_AND_ONE_TO_ONEcxx . . $ `sys/praatM.h:1165:9`! (GaussianMixture, TableOfReal) |
| 669 | autoTableOfRealcxx . . $ autoTableOfReal# result = GaussianMixture_TableOfReal_to_TableOfReal_responsibilitiescxx . . $ GaussianMixture_TableOfReal_to_TableOfReal_responsibilities(da7025f09333dc32). (me, you); |
| 670 | CONVERT_ONE_AND_ONE_TO_ONE_ENDcxx . . $ `sys/praatM.h:1167:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_", yourcxx . . $ `melder/melder.h:46:9`! name.get()) |
| 671 | } |
| 672 | |
| 673 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_ONE_AND_ONE_TO_ONE__GaussianMixture_TableOfReal_to_Correlation) { |
| 674 | CONVERT_ONE_AND_ONE_TO_ONEcxx . . $ `sys/praatM.h:1165:9`! (GaussianMixture, TableOfReal) |
| 675 | autoCorrelationcxx . . $ autoCorrelation# result = GaussianMixture_TableOfReal_to_Correlationcxx . . $ GaussianMixture_TableOfReal_to_Correlation(d429fe4c18f76d6b). (me, you); |
| 676 | CONVERT_ONE_AND_ONE_TO_ONE_ENDcxx . . $ `sys/praatM.h:1167:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_", yourcxx . . $ `melder/melder.h:46:9`! name.get()) |
| 677 | } |
| 678 | |
| 679 | FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_ONE_AND_ONE_TO_ONE__GaussianMixture_TableOfReal_to_Table_BHEPNormalityTests, U"GaussianMixture & TableOfReal: To Table (BHEP normality tests)", U"GaussianMixture & TableOfReal: To Table (BHEP normality tests)...") { |
| 680 | REALcxx . . $ `sys/praatM.h:92:9`! (smoothingParameter, U"Smoothing parameter", U"1.41") |
| 681 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 682 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 683 | CONVERT_ONE_AND_ONE_TO_ONEcxx . . $ `sys/praatM.h:1165:9`! (GaussianMixture, TableOfReal) |
| 684 | autoTablecxx . . $ autoTable# result = GaussianMixture_TableOfReal_to_Table_BHEPNormalityTestscxx . . $ GaussianMixture_TableOfReal_to_Table_BHEPNormalityTests(7dad915c890a52c7). (me, you, smoothingParameter); |
| 685 | CONVERT_ONE_AND_ONE_TO_ONE_ENDcxx . . $ `sys/praatM.h:1167:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_", yourcxx . . $ `melder/melder.h:46:9`! name.get()) |
| 686 | } |
| 687 | |
| 688 | void praat_HMM_initcxx . . $ praat_HMM_init(49f6e7a06ebc5aa8). (); |
| 689 | void praat_HMM_initcxx . . $ praat_HMM_init(49f6e7a06ebc5aa8). () { |
| 690 | Thing_recognizeClassesByNamecxx . . $ Thing_recognizeClassesByName(f327490b5edb0dcb). (classHMMcxx . . $ classHMM., classHMMStatecxx . . $ classHMMState., classHMMObservationcxx . . $ classHMMObservation., classHMMObservationSequencecxx . . $ classHMMObservationSequence., classHMMStateSequencecxx . . $ classHMMStateSequence., classGaussianMixturecxx . . $ classGaussianMixture.); |
| 691 | |
| 692 | praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"Markov models", nullptr, GuiMenu_HIDDENcxx . . $ `sys/Gui.h:869:9`!, nullptr); |
| 693 | praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"Create HMM...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_HIDDENcxx . . $ `sys/Gui.h:869:9`!, |
| 694 | CREATE_ONE__HMM_create); |
| 695 | praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"Create simple HMM...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_HIDDENcxx . . $ `sys/Gui.h:869:9`!, |
| 696 | CREATE_ONE__HMM_createSimple); |
| 697 | praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"Create continuous HMM...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_HIDDENcxx . . $ `sys/Gui.h:869:9`!, |
| 698 | CREATE_ONE__HMM_createContinuousModel); |
| 699 | praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"--drawings--", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_HIDDENcxx . . $ `sys/Gui.h:869:9`!, nullptr); |
| 700 | praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"Draw forward probabilities illustration", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_HIDDENcxx . . $ `sys/Gui.h:869:9`!, |
| 701 | GRAPHICS_NONE__HMM_drawForwardProbabilitiesIllustration); |
| 702 | praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"Draw backward probabilities illustration", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_HIDDENcxx . . $ `sys/Gui.h:869:9`!, |
| 703 | GRAPHICS_NONE__HMM_drawBackwardProbabilitiesIllustration); |
| 704 | praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"Draw forward and backward probabilities illustration", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_HIDDENcxx . . $ `sys/Gui.h:869:9`!, |
| 705 | GRAPHICS_NONE__HMM_drawForwardAndBackwardProbabilitiesIllustration); |
| 706 | |
| 707 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classGaussianMixture, 0, U"GaussianMixture help", nullptr, 0, |
| 708 | HELP__GaussianMixture_help); |
| 709 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classGaussianMixture, 0, U"Draw concentration ellipses...", nullptr, 0, |
| 710 | GRAPHICS_EACH__GaussianMixture_drawConcentrationEllipses); |
| 711 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classGaussianMixture, 0, U"Draw marginal pdf...", nullptr, 0, |
| 712 | GRAPHICS_EACH__GaussianMixture_drawMarginalPdf); |
| 713 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classGaussianMixture, 0, U"Query -", nullptr, 0, nullptr); |
| 714 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classGaussianMixture, 1, U"Get number of components", nullptr, 1, |
| 715 | QUERY_ONE_FOR_INTEGER__GaussianMixture_getNumberOfComponents); |
| 716 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classGaussianMixture, 1, U"Get dimension of component", nullptr, 1, |
| 717 | QUERY_ONE_FOR_INTEGER__GaussianMixture_getDimensionOfComponent); |
| 718 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classGaussianMixture, 1, U"Get probability at position...", nullptr, 1, |
| 719 | QUERY_ONE_FOR_REAL__GaussianMixture_getProbabilityAtPosition); |
| 720 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classGaussianMixture, 0, U"Modify -", nullptr, 0, nullptr); |
| 721 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classGaussianMixture, 1, U"Split component...", nullptr, 1, |
| 722 | MODIFY_GaussianMixture_splitComponent); |
| 723 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classGaussianMixture, 0, U"Extract -", nullptr, 0, nullptr); |
| 724 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classGaussianMixture, 0, U"Extract mixing probabilities", nullptr, 1, |
| 725 | CONVERT_EACH_TO_ONE__GaussianMixture_extractMixingProbabilities); |
| 726 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classGaussianMixture, 0, U"Extract component...", nullptr, 1, |
| 727 | CONVERT_EACH_TO_ONE__GaussianMixture_extractComponent); |
| 728 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classGaussianMixture, 0, U"Extract centroids", nullptr, 1, |
| 729 | CONVERT_EACH_TO_ONE__GaussianMixture_extractCentroids); |
| 730 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classGaussianMixture, 0, U"To Covariance (between)", nullptr, 0, |
| 731 | CONVERT_EACH_TO_ONE__GaussianMixture_to_Covariance_between); |
| 732 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classGaussianMixture, 0, U"To Covariance (within)", nullptr, 0, |
| 733 | CONVERT_EACH_TO_ONE__GaussianMixture_to_Covariance_within); |
| 734 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classGaussianMixture, 0, U"To Covariance (total)", nullptr, 0, |
| 735 | CONVERT_EACH_TO_ONE__GaussianMixture_to_Covariance_total); |
| 736 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classGaussianMixture, 0, U"To PCA", nullptr, 0, |
| 737 | CONVERT_EACH_TO_ONE__GaussianMixture_to_PCA); |
| 738 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classGaussianMixture, 0, U"To TableOfReal (random sampling)...", nullptr, 0, |
| 739 | CONVERT_EACH_TO_ONE__GaussianMixture_to_TableOfReal_randomSampling); |
| 740 | |
| 741 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classGaussianMixture, 1, classTableOfReal, 1, U"Get likelihood value...", nullptr, 0, |
| 742 | QUERY_ONE_AND_ONE_FOR_REAL__GaussianMixture_TableOfReal_getLikelihoodValue); |
| 743 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classGaussianMixture, 1, classTableOfReal, 1, U"Improve likelihood...", nullptr, 0, |
| 744 | MODIFY_FIRST_OF_ONE_AND_ONE__GaussianMixture_TableOfReal_improveLikelihood); |
| 745 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classGaussianMixture, 1, classTableOfReal, 1, U"To GaussianMixture (CEMM)...", nullptr, 0, |
| 746 | CONVERT_ONE_AND_ONE_TO_ONE__GaussianMixture_TableOfReal_to_GaussianMixture_CEMM); |
| 747 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classGaussianMixture, 1, classTableOfReal, 1, U"To TableOfReal (probabilities)", nullptr, 0, |
| 748 | CONVERT_ONE_AND_ONE_TO_ONE__GaussianMixture_TableOfReal_to_TableOfReal_probabilities); |
| 749 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classGaussianMixture, 1, classTableOfReal, 1, U"To TableOfReal (responsibilities)", nullptr, 0, |
| 750 | CONVERT_ONE_AND_ONE_TO_ONE__GaussianMixture_TableOfReal_to_TableOfReal_responsibilities); |
| 751 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classGaussianMixture, 1, classTableOfReal, 1, U"To ClassificationTable", nullptr, 0, |
| 752 | CONVERT_ONE_AND_ONE_TO_ONE__GaussianMixture_TableOfReal_to_ClassificationTable); |
| 753 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classGaussianMixture, 1, classTableOfReal, 1, U"To Correlation", nullptr, 0, |
| 754 | CONVERT_ONE_AND_ONE_TO_ONE__GaussianMixture_TableOfReal_to_Correlation); |
| 755 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classGaussianMixture, 1, classTableOfReal, 1, U"To Table (BHEP normality tests)...", nullptr, 0, |
| 756 | CONVERT_ONE_AND_ONE_TO_ONE__GaussianMixture_TableOfReal_to_Table_BHEPNormalityTests); |
| 757 | |
| 758 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classGaussianMixture, 1, classPCA, 1, U"Draw concentration ellipses...", nullptr, 0, |
| 759 | GRAPHICS_ONE_AND_ONE__GaussianMixture_PCA_drawConcentrationEllipses); |
| 760 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classGaussianMixture, 1, classPCA, 1, U"Draw marginal pdf...", nullptr, 0, |
| 761 | GRAPHICS_ONE_AND_ONE__GaussianMixture_PCA_drawMarginalPdf); |
| 762 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classGaussianMixture, 1, classPCA, 1, U"To Matrix (density)...", nullptr, 0, |
| 763 | CONVERT_ONE_AND_ONE_TO_ONE__GaussianMixture_PCA_to_Matrix_density); |
| 764 | |
| 765 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classHMM, 0, U"HMM help ", nullptr, 0, |
| 766 | HELP__HMM_help); |
| 767 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classHMM, 0, U"Draw...", nullptr, 0, |
| 768 | GRAPHICS_EACH__HMM_draw); |
| 769 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classHMM, 0, U"Query -", nullptr, 0, nullptr); |
| 770 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classHMM, 1, U"Get transition probability...", nullptr, 1, |
| 771 | QUERY_ONE_FOR_REAL__HMM_getTransitionProbability); |
| 772 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classHMM, 1, U"Get emission probability...", nullptr, 1, |
| 773 | QUERY_ONE_FOR_REAL__HMM_getEmissionProbability); |
| 774 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classHMM, 1, U"Get start probability...", nullptr, 1, |
| 775 | QUERY_ONE_FOR_REAL__HMM_getStartProbability); |
| 776 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classHMM, 1, U"Get p (time, state)...", nullptr, 1, |
| 777 | QUERY_ONE_FOR_REAL__HMM_getProbabilityAtTimeBeingInState); |
| 778 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classHMM, 1, U"Get p (time, state, symbol)...", nullptr, 1, |
| 779 | QUERY_ONE_FOR_REAL__HMM_getProbabilityAtTimeBeingInStateEmittingSymbol); |
| 780 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classHMM, 1, U"Get probability staying in state...", nullptr, 1, |
| 781 | QUERY_ONE_FOR_REAL__HMM_getProbabilityOfStayingInState); |
| 782 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classHMM, 1, U"Get expected duration in state...", nullptr, 1, |
| 783 | QUERY_ONE_FOR_REAL__HMM_getExpectedDurationInState); |
| 784 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classHMM, 1, U"---- states / symbols -----", nullptr, 1, nullptr); |
| 785 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classHMM, 1, U"Get state label...", nullptr, 1, |
| 786 | QUERY_ONE_FOR_STRING__HMM_getStateLabel); |
| 787 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classHMM, 1, U"Get symbol label...", nullptr, 1, |
| 788 | QUERY_ONE_FOR_STRING__HMM_getSymbolLabel); |
| 789 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classHMM, 0, U"--- multiple HMMs ----", nullptr, 1, nullptr); |
| 790 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classHMM, 2, U"Get cross-entropy...", nullptr, 1, |
| 791 | QUERY_TWO_FOR_REAL__HMM_HMM_getCrossEntropy); |
| 792 | |
| 793 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classHMM, 0, U"Modify -", nullptr, 0, nullptr); |
| 794 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classHMM, 1, U"Set transition probabilities...", nullptr, 1, |
| 795 | MODIFY_EACH__HMM_setTransitionProbabilities); |
| 796 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classHMM, 1, U"Set emission probabilities...", nullptr, 1, |
| 797 | MODIFY_EACH__HMM_setEmissionProbabilities); |
| 798 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classHMM, 1, U"Set start probabilities...", nullptr, 1, |
| 799 | MODIFY_EACH__HMM_setStartProbabilities); |
| 800 | |
| 801 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classHMM, 0, U"Extract -", nullptr, 0, nullptr); |
| 802 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classHMM, 0, U"Extract transition probabilities", nullptr, 1, |
| 803 | CONVERT_EACH_TO_ONE__HMM_extractTransitionProbabilities); |
| 804 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classHMM, 0, U"Extract emission probabilities", nullptr, 1, |
| 805 | CONVERT_EACH_TO_ONE__HMM_extractEmissionProbabilities); |
| 806 | |
| 807 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classHMM, 0, U"To HMMObservationSequence...", nullptr, 0, |
| 808 | CONVERT_EACH_TO_ONE__HMM_to_HMMObservationSequence); |
| 809 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classHMM, 1, classHMMStateSequence, 1, U"Draw trellis...", nullptr, 0, |
| 810 | GRAPHICS_ONE_AND_ONE__HMM_HMMStateSequence_drawTrellis); |
| 811 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classHMM, 1, classHMMStateSequence, 1, U"Get probability", nullptr, 0, |
| 812 | QUERY_ONE_AND_ONE_FOR_REAL__HMM_HMMStateSequence_getProbability); |
| 813 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classHMM, 1, classHMMStateSequence, 1, U"To TableOfReal (bigrams)...", nullptr, 0, |
| 814 | CONVERT_ONE_AND_ONE_TO_ONE__HMM_HMMStateSequence_to_TableOfReal_bigrams); |
| 815 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classHMM, 1, classHMMObservationSequence, 1, U"Get probability", nullptr, 0, |
| 816 | QUERY_ONE_AND_ONE_FOR_REAL__HMM_HMMObservationSequence_getProbability); |
| 817 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classHMM, 1, classHMMObservationSequence, 1, U"Get cross-entropy", nullptr, 0, |
| 818 | QUERY_ONE_AND_ONE_FOR_REAL__HMM_HMMObservationSequence_getCrossEntropy); |
| 819 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classHMM, 1, classHMMObservationSequence, 1, U"Get perplexity", nullptr, 0, |
| 820 | QUERY_ONE_AND_ONE_FOR_REAL__HMM_HMMObservationSequence_getPerplexity); |
| 821 | |
| 822 | |
| 823 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classHMM, 1, classHMMObservationSequence, 1, U"To HMMStateSequence", nullptr, 0, |
| 824 | CONVERT_ONE_AND_ONE_TO_ONE__HMM_HMMObservationSequence_to_HMMStateSequence); |
| 825 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classHMM, 2, classHMMObservationSequence, 1, U"Get cross-entropy", nullptr, 0, |
| 826 | QUERY_TWO_AND_ONE_FOR_REAL__HMM_HMM_HMMObservationSequence_getCrossEntropy); |
| 827 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classHMM, 1, classHMMObservationSequence, 1, U"To TableOfReal (bigrams)...", nullptr, 0, |
| 828 | CONVERT_ONE_AND_ONE_TO_ONE__HMM_HMMObservationSequence_to_TableOfReal_bigrams); |
| 829 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classHMM, 1, classHMMObservationSequence, 0, U"Learn...", nullptr, 0, |
| 830 | MODIFY_FIRST_OF_ONE_AND_ALL__HMM_HMMObservationSequence_learn); |
| 831 | |
| 832 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classHMMObservationSequence, 0, U"To TableOfReal (bigrams)...", nullptr, 0, |
| 833 | CONVERT_EACH_TO_ONE__HMMObservationSequence_to_TableOfReal_bigrams); |
| 834 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classHMMObservationSequence, 0, U"To Strings", nullptr, 0, |
| 835 | CONVERT_EACH_TO_ONE__HMMObservationSequence_to_Strings); |
| 836 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classHMMStateSequence, 0, U"To TableOfReal (bigrams)...", nullptr, 0, |
| 837 | CONVERT_EACH_TO_ONE__HMMStateSequence_to_TableOfReal_bigrams); |
| 838 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classHMMStateSequence, 0, U"To Strings", nullptr, 0, |
| 839 | CONVERT_EACH_TO_ONE__HMMStateSequence_to_Strings); |
| 840 | |
| 841 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classHMMObservationSequence, 0, U"To HMM...", nullptr, 1, |
| 842 | CONVERT_EACH_TO_ONE__HMMObservationSequence_to_HMM); |
| 843 | |
| 844 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classStrings, 0, U"To HMMObservationSequence", nullptr, GuiMenu_HIDDENcxx . . $ `sys/Gui.h:869:9`!, |
| 845 | CONVERT_EACH_TO_ONE__Strings_to_HMMObservationSequence); |
| 846 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classTableOfReal, 0, U"To GaussianMixture (row labels)...", U"To Covariance", GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_HIDDENcxx . . $ `sys/Gui.h:869:9`!, |
| 847 | CONVERT_EACH_TO_ONE__TableOfReal_to_GaussianMixture_rowlabels); |
| 848 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classTableOfReal, 0, U"To GaussianMixture...", U"To Covariance", GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_HIDDENcxx . . $ `sys/Gui.h:869:9`!, |
| 849 | CONVERT_EACH_TO_ONE__TableOfReal_to_GaussianMixture); |
| 850 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classTableOfReal, 0, U"To GaussianMixture (CEMM)...", U"To GaussianMixture...", GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_HIDDENcxx . . $ `sys/Gui.h:869:9`!, |
| 851 | CONVERT_EACH_TO_ONE__TableOfReal_to_GaussianMixture_CEMM); |
| 852 | INCLUDE_MANPAGEScxx . . $ `sys/praat.h:239:9`! (manual_HMM) |
| 853 | } |
| 854 | |
| 855 | /* End of file praat_HMM_init.cpp */ |