| 1 | /* praat_gram.cpp |
| 2 | * |
| 3 | * Copyright (C) 1997-2026 Paul Boersma |
| 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. |
| 13 | * See the GNU 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 "Network.h"cxx . . $ `<file>/gram/Network.h`/ |
| 20 | #include "OTGrammar.h"cxx . . $ `<file>/gram/OTGrammar.h`/ |
| 21 | #include "OTMulti.h"cxx . . $ `<file>/gram/OTMulti.h`/ |
| 22 | #include "OTGrammarEditor.h"cxx . . $ `<file>/gram/OTGrammarEditor.h`/ |
| 23 | #include "OTMultiEditor.h"cxx . . $ `<file>/gram/OTMultiEditor.h`/ |
| 24 | #include "Net.h"cxx . . $ `<file>/gram/Net.h`/ |
| 25 | #include "NoulliGridEditor.h"cxx . . $ `<file>/gram/NoulliGridEditor.h`/ |
| 26 | #include "CubeGridEditor.h"cxx . . $ `<file>/gram/CubeGridEditor.h`/ |
| 27 | |
| 28 | #include "praat_TableOfReal.h"cxx . . $ `<file>/stat/praat_TableOfReal.h`/ |
| 29 | #include "praat_TimeFunction.h"cxx . . $ `<file>/fon/praat_TimeFunction.h`/ |
| 30 | |
| 31 | // MARK: - NETWORK |
| 32 | |
| 33 | // MARK: New |
| 34 | |
| 35 | #define UiForm_addNetworkFieldscxx . . $ `gram/praat_gram.cpp:35:9`! \ |
| 36 | COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"Activity spreading settings:") \ |
| 37 | REALcxx . . $ `sys/praatM.h:92:9`! (spreadingRate, U"Spreading rate", U"0.01") \ |
| 38 | OPTIONMENU_ENUMcxx . . $ `sys/praatM.h:262:9`! (kNetwork_activityClippingRule, activityClippingRule, \ |
| 39 | U"Activity clipping rule", kNetwork_activityClippingRule::DEFAULT) \ |
| 40 | REALcxx . . $ `sys/praatM.h:92:9`! (minimumActivity, U"left Activity range", U"0.0") \ |
| 41 | REALcxx . . $ `sys/praatM.h:92:9`! (maximumActivity, U"right Activity range", U"1.0") \ |
| 42 | REALcxx . . $ `sys/praatM.h:92:9`! (activityLeak, U"Activity leak", U"1.0") \ |
| 43 | COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"Weight update settings:") \ |
| 44 | REALcxx . . $ `sys/praatM.h:92:9`! (learningRate, U"Learning rate", U"0.1") \ |
| 45 | REALcxx . . $ `sys/praatM.h:92:9`! (minimumWeight, U"left Weight range", U"-1.0") \ |
| 46 | REALcxx . . $ `sys/praatM.h:92:9`! (maximumWeight, U"right Weight range", U"1.0") \ |
| 47 | REALcxx . . $ `sys/praatM.h:92:9`! (weightLeak, U"Weight leak", U"0.0") |
| 48 | |
| 49 | FORMcxx . . $ `sys/praatM.h:79:9`! (CREATE_ONE__Create_empty_Network, U"Create empty Network", nullptr) { |
| 50 | WORDcxx . . $ `sys/praatM.h:122:9`! (name, U"Name", U"network") |
| 51 | UiForm_addNetworkFieldscxx . . $ `gram/praat_gram.cpp:35:9`! |
| 52 | COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"World coordinates:") |
| 53 | REALcxx . . $ `sys/praatM.h:92:9`! (fromX, U"left x range", U"0.0") |
| 54 | REALcxx . . $ `sys/praatM.h:92:9`! (toX, U"right x range", U"10.0") |
| 55 | REALcxx . . $ `sys/praatM.h:92:9`! (fromY, U"left y range", U"0.0") |
| 56 | REALcxx . . $ `sys/praatM.h:92:9`! (toY, U"right y range", U"10.0") |
| 57 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 58 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 59 | CREATE_ONEcxx . . $ `sys/praatM.h:485:9`! |
| 60 | autoNetworkcxx . . $ autoNetwork# result = Network_createcxx . . $ Network_create(1911134ee8020ba6). (spreadingRate, activityClippingRule, |
| 61 | minimumActivity, maximumActivity, activityLeak, learningRate, minimumWeight, maximumWeight, weightLeak, |
| 62 | fromX, toX, fromY, toY, 0, 0 |
| 63 | ); |
| 64 | CREATE_ONE_ENDcxx . . $ `sys/praatM.h:486:9`! (name) |
| 65 | } |
| 66 | |
| 67 | FORMcxx . . $ `sys/praatM.h:79:9`! (CREATE_ONE__Create_rectangular_Network, U"Create rectangular Network", nullptr) { |
| 68 | UiForm_addNetworkFieldscxx . . $ `gram/praat_gram.cpp:35:9`! |
| 69 | COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"Structure settings:") |
| 70 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfRows, U"Number of rows", U"10") |
| 71 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfColumns, U"Number of columns", U"10") |
| 72 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (bottomRowClamped, U"Bottom row clamped", 1) |
| 73 | COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"Initial state settings:") |
| 74 | REALcxx . . $ `sys/praatM.h:92:9`! (minimumInitialWeight, U"left Initial weight range", U"-0.1") |
| 75 | REALcxx . . $ `sys/praatM.h:92:9`! (maximumInitialWeight, U"right Initial weight range", U"0.1") |
| 76 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 77 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 78 | CREATE_ONEcxx . . $ `sys/praatM.h:485:9`! |
| 79 | autoNetworkcxx . . $ autoNetwork# result = Network_create_rectanglecxx . . $ Network_create_rectangle(4252249c8d3803f0). (spreadingRate, activityClippingRule, |
| 80 | minimumActivity, maximumActivity, activityLeak, learningRate, minimumWeight, maximumWeight, weightLeak, |
| 81 | numberOfRows, numberOfColumns, bottomRowClamped, minimumInitialWeight, maximumInitialWeight |
| 82 | ); |
| 83 | CREATE_ONE_ENDcxx . . $ `sys/praatM.h:486:9`! (U"rectangle_", numberOfRows, U"_", numberOfColumns) |
| 84 | } |
| 85 | |
| 86 | FORMcxx . . $ `sys/praatM.h:79:9`! (CREATE_ONE__Create_rectangular_Network_vertical, U"Create rectangular Network (vertical)", nullptr) { |
| 87 | UiForm_addNetworkFieldscxx . . $ `gram/praat_gram.cpp:35:9`! |
| 88 | COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"Structure settings:") |
| 89 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfRows, U"Number of rows", U"10") |
| 90 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfColumns, U"Number of columns", U"10") |
| 91 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (bottomRowClamped, U"Bottom row clamped", 1) |
| 92 | COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"Initial state settings:") |
| 93 | REALcxx . . $ `sys/praatM.h:92:9`! (minimumInitialWeight, U"left Initial weight range", U"-0.1") |
| 94 | REALcxx . . $ `sys/praatM.h:92:9`! (maximumInitialWeight, U"right Initial weight range", U"0.1") |
| 95 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 96 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 97 | CREATE_ONEcxx . . $ `sys/praatM.h:485:9`! |
| 98 | autoNetworkcxx . . $ autoNetwork# result = Network_create_rectangle_verticalcxx . . $ Network_create_rectangle_vertical(4252249c8d3803f0). (spreadingRate, |
| 99 | (kNetwork_activityClippingRulecxx . . $ kNetwork_activityClippingRule#) activityClippingRule, |
| 100 | minimumActivity, maximumActivity, activityLeak, learningRate, minimumWeight, maximumWeight, weightLeak, |
| 101 | numberOfRows, numberOfColumns, bottomRowClamped, minimumInitialWeight, maximumInitialWeight |
| 102 | ); |
| 103 | CREATE_ONE_ENDcxx . . $ `sys/praatM.h:486:9`! (U"rectangle_", numberOfRows, U"_", numberOfColumns) |
| 104 | } |
| 105 | |
| 106 | // MARK: Draw |
| 107 | |
| 108 | FORMcxx . . $ `sys/praatM.h:79:9`! (GRAPHICS_EACH__Network_draw, U"Draw Network", nullptr) { |
| 109 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (useColour, U"Use colour", true) |
| 110 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 111 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 112 | GRAPHICS_EACHcxx . . $ `sys/praatM.h:697:9`! (Network) |
| 113 | Network_drawcxx . . $ Network_draw(27f92255f451cfee). (me, GRAPHICScxx . . $ `sys/praat.h:204:9`!, useColour); |
| 114 | GRAPHICS_EACH_ENDcxx . . $ `sys/praatM.h:700:9`! |
| 115 | } |
| 116 | |
| 117 | // MARK: Tabulate |
| 118 | |
| 119 | FORMcxx . . $ `sys/praatM.h:79:9`! (INFO_ONE__Network_listNodes, U"Network: List nodes", nullptr) { |
| 120 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (fromNodeNumber, U"From node number", U"1") |
| 121 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (toNodeNumber, U"To node number", U"1000") |
| 122 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (includeNodeNumbers, U"Include node numbers", true) |
| 123 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (includeX, U"Include x", false) |
| 124 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (includeY, U"Include y", false) |
| 125 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (positionDecimals, U"Position decimals", U"6") |
| 126 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (includeClamped, U"Include clamped", false) |
| 127 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (includeActivity, U"Include activity", true) |
| 128 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (includeExcitation, U"Include excitation", false) |
| 129 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (activityDecimals, U"Activity decimals", U"6") |
| 130 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 131 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 132 | INFO_ONEcxx . . $ `sys/praatM.h:589:9`! (Network) |
| 133 | Network_listNodescxx . . $ Network_listNodes(7e56d66537e42112). (me, fromNodeNumber, toNodeNumber, |
| 134 | includeNodeNumbers, includeX, includeY, positionDecimals, |
| 135 | includeClamped, includeActivity, includeExcitation, activityDecimals |
| 136 | ); |
| 137 | INFO_ONE_ENDcxx . . $ `sys/praatM.h:590:9`! |
| 138 | } |
| 139 | |
| 140 | FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Network_nodes_downto_Table, U"Network: Nodes down to Table", nullptr) { |
| 141 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (fromNodeNumber, U"From node number", U"1") |
| 142 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (toNodeNumber, U"To node number", U"1000") |
| 143 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (includeNodeNumbers, U"Include node numbers", true) |
| 144 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (includeX, U"Include x", false) |
| 145 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (includeY, U"Include y", false) |
| 146 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (positionDecimals, U"Position decimals", U"6") |
| 147 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (includeClamped, U"Include clamped", false) |
| 148 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (includeActivity, U"Include activity", true) |
| 149 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (includeExcitation, U"Include excitation", false) |
| 150 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (activityDecimals, U"Activity decimals", U"6") |
| 151 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 152 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 153 | CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Network) |
| 154 | autoTablecxx . . $ autoTable# result = Network_nodes_downto_Tablecxx . . $ Network_nodes_downto_Table(84736cb219a4717f). (me, fromNodeNumber, toNodeNumber, |
| 155 | includeNodeNumbers, includeX, includeY, positionDecimals, |
| 156 | includeClamped, includeActivity, includeExcitation, activityDecimals |
| 157 | ); |
| 158 | CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get()) |
| 159 | } |
| 160 | |
| 161 | // MARK: Query |
| 162 | |
| 163 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__Network_getActivity, U"Network: Get activity", nullptr) { |
| 164 | NATURALcxx . . $ `sys/praatM.h:120:9`! (node, U"Node", U"1") |
| 165 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 166 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 167 | QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (Network) |
| 168 | const double result = Network_getActivitycxx . . $ Network_getActivity(de227b05215cff2a). (me, node); |
| 169 | QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" (activity of node ", node, U")") |
| 170 | } |
| 171 | |
| 172 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL_VECTOR__Network_getActivities, U"Network: Get activities", nullptr) { |
| 173 | NATURALcxx . . $ `sys/praatM.h:120:9`! (fromNode, U"From node", U"1") |
| 174 | NATURALcxx . . $ `sys/praatM.h:120:9`! (toNode, U"To node", U"0 (= all)") |
| 175 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 176 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 177 | QUERY_ONE_FOR_REAL_VECTORcxx . . $ `sys/praatM.h:947:9`! (Network) |
| 178 | autoVECcxx . . $ autoVEC# result = Network_getActivitiescxx . . $ Network_getActivities(eef4d871856d0817). (me, fromNode, toNode); |
| 179 | QUERY_ONE_FOR_REAL_VECTOR_ENDcxx . . $ `sys/praatM.h:949:9`! |
| 180 | } |
| 181 | |
| 182 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__Network_getWeight, U"Network: Get weight", nullptr) { |
| 183 | NATURALcxx . . $ `sys/praatM.h:120:9`! (connection, U"Connection", U"1") |
| 184 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 185 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 186 | QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (Network) |
| 187 | const double result = Network_getWeightcxx . . $ Network_getWeight(de227b05215cff2a). (me, connection); |
| 188 | QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" (weight of connection ", connection, U")") |
| 189 | } |
| 190 | |
| 191 | // MARK: Modify |
| 192 | |
| 193 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__Network_addConnection, U"Network: Add connection", nullptr) { |
| 194 | NATURALcxx . . $ `sys/praatM.h:120:9`! (fromNode, U"From node", U"1") |
| 195 | NATURALcxx . . $ `sys/praatM.h:120:9`! (toNode, U"To node", U"2") |
| 196 | REALcxx . . $ `sys/praatM.h:92:9`! (weight, U"Weight", U"0.0") |
| 197 | REALcxx . . $ `sys/praatM.h:92:9`! (plasticity, U"Plasticity", U"1.0") |
| 198 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 199 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 200 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Network) |
| 201 | Network_addConnectioncxx . . $ Network_addConnection(bee99a5a77a44a90). (me, fromNode, toNode, weight, plasticity); |
| 202 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 203 | } |
| 204 | |
| 205 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__Network_addNode, U"Network: Add node", nullptr) { |
| 206 | REALcxx . . $ `sys/praatM.h:92:9`! (x, U"x", U"5.0") |
| 207 | REALcxx . . $ `sys/praatM.h:92:9`! (y, U"y", U"5.0") |
| 208 | REALcxx . . $ `sys/praatM.h:92:9`! (activity, U"Activity", U"0.0") |
| 209 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (clamping, U"Clamping", false) |
| 210 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 211 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 212 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Network) |
| 213 | Network_addNodecxx . . $ Network_addNode(e76a5161ecaa2852). (me, x, y, activity, clamping); |
| 214 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 215 | } |
| 216 | |
| 217 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__Network_normalizeActivities, U"Network: Normalize activities", nullptr) { |
| 218 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (fromNode, U"From node", U"1") |
| 219 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (toNode, U"To node", U"0 (= all)") |
| 220 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 221 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 222 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Network) |
| 223 | Network_normalizeActivitiescxx . . $ Network_normalizeActivities(a78d07888cfa2c3c). (me, fromNode, toNode); |
| 224 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 225 | } |
| 226 | |
| 227 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__Network_normalizeWeights, U"Network: Normalize weights", nullptr) { |
| 228 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (fromNode, U"From node", U"1") |
| 229 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (toNode, U"To node", U"0 (= all)") |
| 230 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (fromIncomingNode, U"From incoming node", U"1") |
| 231 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (toIncomingNode, U"To incoming node", U"10") |
| 232 | REALcxx . . $ `sys/praatM.h:92:9`! (newSum, U"New sum", U"1.0") |
| 233 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 234 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 235 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Network) |
| 236 | Network_normalizeWeightscxx . . $ Network_normalizeWeights(c8c6c99958aebe26). (me, fromNode, toNode, fromIncomingNode, toIncomingNode, newSum); |
| 237 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 238 | } |
| 239 | |
| 240 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__Network_setActivity, U"Network: Set activity", nullptr) { |
| 241 | NATURALcxx . . $ `sys/praatM.h:120:9`! (node, U"Node", U"1") |
| 242 | REALcxx . . $ `sys/praatM.h:92:9`! (activity, U"Activity", U"1.0") |
| 243 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 244 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 245 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Network) |
| 246 | Network_setActivitycxx . . $ Network_setActivity(e23fd888ed840e51). (me, node, activity); |
| 247 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 248 | } |
| 249 | |
| 250 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH_WEAK__Network_formula_activities, U"Network: Formula (activities)", nullptr) { |
| 251 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (fromNode, U"From node", U"1") |
| 252 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (toNode, U"To node", U"0 (= all)") |
| 253 | COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"`col` is the node number, `self` is the current activity") |
| 254 | COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"for col := 1 to ncol do { self [col] := `formula' }") |
| 255 | FORMULAcxx . . $ `sys/praatM.h:148:9`! (formula, U"Formula", U"0") |
| 256 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 257 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 258 | MODIFY_EACH_WEAKcxx . . $ `sys/praatM.h:1025:9`! (Network) |
| 259 | Network_formula_activitiescxx . . $ Network_formula_activities(cdabd8e5f2860a53). (me, fromNode, toNode, formula, interpreter); |
| 260 | MODIFY_EACH_WEAK_ENDcxx . . $ `sys/praatM.h:1028:9`! |
| 261 | } |
| 262 | |
| 263 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__Network_setActivityClippingRule, U"Network: Set activity clipping rule", nullptr) { |
| 264 | CHOICE_ENUMcxx . . $ `sys/praatM.h:249:9`! (kNetwork_activityClippingRule, activityClippingRule, |
| 265 | U"Activity clipping rule", kNetwork_activityClippingRule::DEFAULT) |
| 266 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 267 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 268 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Network) |
| 269 | Network_setActivityClippingRulecxx . . $ Network_setActivityClippingRule(c3782ce057e76590). (me, activityClippingRule); |
| 270 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 271 | } |
| 272 | |
| 273 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__Network_setActivityLeak, U"Network: Set activity leak", nullptr) { |
| 274 | REALcxx . . $ `sys/praatM.h:92:9`! (activityLeak, U"Activity leak", U"1.0") |
| 275 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 276 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 277 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Network) |
| 278 | Network_setActivityLeakcxx . . $ Network_setActivityLeak(4a2bf545e68c1046). (me, activityLeak); |
| 279 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 280 | } |
| 281 | |
| 282 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__Network_setClamping, U"Network: Set clamping", nullptr) { |
| 283 | NATURALcxx . . $ `sys/praatM.h:120:9`! (node, U"Node", U"1") |
| 284 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (clamping, U"Clamping", true) |
| 285 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 286 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 287 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Network) |
| 288 | Network_setClampingcxx . . $ Network_setClamping(78234c2306b5b65e). (me, node, clamping); |
| 289 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 290 | } |
| 291 | |
| 292 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__Network_setInstar, U"Network: Set instar", nullptr) { |
| 293 | REALcxx . . $ `sys/praatM.h:92:9`! (instar, U"Instar", U"0.0") |
| 294 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 295 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 296 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Network) |
| 297 | Network_setInstarcxx . . $ Network_setInstar(4a2bf545e68c1046). (me, instar); |
| 298 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 299 | } |
| 300 | |
| 301 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__Network_setWeightLeak, U"Network: Set weight leak", nullptr) { |
| 302 | REALcxx . . $ `sys/praatM.h:92:9`! (weightLeak, U"Weight leak", U"0.0") |
| 303 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 304 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 305 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Network) |
| 306 | Network_setWeightLeakcxx . . $ Network_setWeightLeak(4a2bf545e68c1046). (me, weightLeak); |
| 307 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 308 | } |
| 309 | |
| 310 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__Network_setOutstar, U"Network: Set outstar", nullptr) { |
| 311 | REALcxx . . $ `sys/praatM.h:92:9`! (outstar, U"Outstar", U"0.0") |
| 312 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 313 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 314 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Network) |
| 315 | Network_setOutstarcxx . . $ Network_setOutstar(4a2bf545e68c1046). (me, outstar); |
| 316 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 317 | } |
| 318 | |
| 319 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__Network_setShunting, U"Network: Set shunting", nullptr) { |
| 320 | REALcxx . . $ `sys/praatM.h:92:9`! (shunting, U"Shunting", U"1.0") |
| 321 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 322 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 323 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Network) |
| 324 | Network_setShuntingcxx . . $ Network_setShunting(4a2bf545e68c1046). (me, shunting); |
| 325 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 326 | } |
| 327 | |
| 328 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__Network_setWeight, U"Network: Set weight", nullptr) { |
| 329 | NATURALcxx . . $ `sys/praatM.h:120:9`! (connection, U"Connection", U"1") |
| 330 | REALcxx . . $ `sys/praatM.h:92:9`! (weight, U"Weight", U"1.0") |
| 331 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 332 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 333 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Network) |
| 334 | Network_setWeightcxx . . $ Network_setWeight(e23fd888ed840e51). (me, connection, weight); |
| 335 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 336 | } |
| 337 | |
| 338 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__Network_spreadActivities, U"Network: Spread activities", nullptr) { |
| 339 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfSteps, U"Number of steps", U"20") |
| 340 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 341 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 342 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Network) |
| 343 | Network_spreadActivitiescxx . . $ Network_spreadActivities(39de4f2767aad834). (me, numberOfSteps); |
| 344 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 345 | } |
| 346 | |
| 347 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (MODIFY_EACH__Network_updateWeights) { |
| 348 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Network) |
| 349 | Network_updateWeightscxx . . $ Network_updateWeights(2a1553bde0f5a34c). (me); |
| 350 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 351 | } |
| 352 | |
| 353 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__Network_zeroActivities, U"Network: Zero activities", nullptr) { |
| 354 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (fromNode, U"From node", U"1") |
| 355 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (toNode, U"To node", U"0 (= all)") |
| 356 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 357 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 358 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Network) |
| 359 | Network_zeroActivitiescxx . . $ Network_zeroActivities(a78d07888cfa2c3c). (me, fromNode, toNode); |
| 360 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 361 | } |
| 362 | |
| 363 | // MARK: - OTGRAMMAR |
| 364 | |
| 365 | // MARK: New |
| 366 | |
| 367 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (HELP__OT_learning_tutorial) { |
| 368 | HELPcxx . . $ `sys/praatM.h:616:9`! (U"OT learning") |
| 369 | } |
| 370 | |
| 371 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (CREATE_ONE__Create_NoCoda_grammar) { |
| 372 | CREATE_ONEcxx . . $ `sys/praatM.h:485:9`! |
| 373 | autoOTGrammarcxx . . $ autoOTGrammar# result = OTGrammar_create_NoCoda_grammarcxx . . $ OTGrammar_create_NoCoda_grammar(7ca07e509e4e6648). (); |
| 374 | CREATE_ONE_ENDcxx . . $ `sys/praatM.h:486:9`! (U"NoCoda") |
| 375 | } |
| 376 | |
| 377 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (CREATE_ONE__Create_NPA_grammar) { |
| 378 | CREATE_ONEcxx . . $ `sys/praatM.h:485:9`! |
| 379 | autoOTGrammarcxx . . $ autoOTGrammar# result = OTGrammar_create_NPA_grammarcxx . . $ OTGrammar_create_NPA_grammar(7ca07e509e4e6648). (); |
| 380 | CREATE_ONE_ENDcxx . . $ `sys/praatM.h:486:9`! (U"assimilation") |
| 381 | } |
| 382 | |
| 383 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (CREATE_ONE__Create_NPA_distribution) { |
| 384 | CREATE_ONEcxx . . $ `sys/praatM.h:485:9`! |
| 385 | autoPairDistributioncxx . . $ autoPairDistribution# result = OTGrammar_create_NPA_distributioncxx . . $ OTGrammar_create_NPA_distribution(55fbb411edc59193). (); |
| 386 | CREATE_ONE_ENDcxx . . $ `sys/praatM.h:486:9`! (U"assimilation") |
| 387 | } |
| 388 | |
| 389 | FORMcxx . . $ `sys/praatM.h:79:9`! (CREATE_ONE__Create_tongue_root_grammar, U"Create tongue-root grammar", U"Create tongue-root grammar...") { |
| 390 | CHOICE_ENUMcxx . . $ `sys/praatM.h:249:9`! (kOTGrammar_createTongueRootGrammar_constraintSet, constraintSet, |
| 391 | U"Constraint set", kOTGrammar_createTongueRootGrammar_constraintSet::DEFAULT) |
| 392 | CHOICE_ENUMcxx . . $ `sys/praatM.h:249:9`! (kOTGrammar_createTongueRootGrammar_ranking, ranking, |
| 393 | U"Ranking", kOTGrammar_createTongueRootGrammar_ranking::DEFAULT) |
| 394 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 395 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 396 | CREATE_ONEcxx . . $ `sys/praatM.h:485:9`! |
| 397 | autoOTGrammarcxx . . $ autoOTGrammar# result = OTGrammar_create_tongueRoot_grammarcxx . . $ OTGrammar_create_tongueRoot_grammar(dd2490af35a81629). (constraintSet, ranking); |
| 398 | CREATE_ONE_ENDcxx . . $ `sys/praatM.h:486:9`! (kOTGrammar_createTongueRootGrammar_ranking_getText (ranking)) |
| 399 | } |
| 400 | |
| 401 | FORMcxx . . $ `sys/praatM.h:79:9`! (CREATE_ONE__Create_metrics_grammar, U"Create metrics grammar", nullptr) { |
| 402 | OPTIONMENU_ENUMcxx . . $ `sys/praatM.h:262:9`! (kOTGrammar_createMetricsGrammar_initialRanking, initialRanking, |
| 403 | U"Initial ranking", kOTGrammar_createMetricsGrammar_initialRanking::DEFAULT) |
| 404 | OPTIONMENUcxx . . $ `sys/praatM.h:231:9`! (trochaicityConstraint, U"Trochaicity constraint", 1) |
| 405 | OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"FtNonfinal") |
| 406 | OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"Trochaic") |
| 407 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (includeFootBimoraic, U"Include FootBimoraic", false) |
| 408 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (includeFootBisyllabic, U"Include FootBisyllabic", false) |
| 409 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (includePeripheral, U"Include Peripheral", false) |
| 410 | OPTIONMENUcxx . . $ `sys/praatM.h:231:9`! (nonfinalityConstraint, U"Nonfinality constraint", 1) |
| 411 | OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"Nonfinal") |
| 412 | OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"MainNonfinal") |
| 413 | OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"HeadNonfinal") |
| 414 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (overtFormsHaveSecondaryStress, U"Overt forms have secondary stress", true) |
| 415 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (includeClashAndLapse, U"Include *Clash and *Lapse", false) |
| 416 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (includeCodas, U"Include codas", false) |
| 417 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 418 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 419 | CREATE_ONEcxx . . $ `sys/praatM.h:485:9`! |
| 420 | autoOTGrammarcxx . . $ autoOTGrammar# result = OTGrammar_create_metricscxx . . $ OTGrammar_create_metrics(16e8b8c6d2dce2df). (initialRanking, trochaicityConstraint, |
| 421 | includeFootBimoraic, includeFootBisyllabic, includePeripheral, nonfinalityConstraint, |
| 422 | overtFormsHaveSecondaryStress, includeClashAndLapse, includeCodas |
| 423 | ); |
| 424 | CREATE_ONE_ENDcxx . . $ `sys/praatM.h:486:9`! (kOTGrammar_createMetricsGrammar_initialRanking_getText (initialRanking)) |
| 425 | } |
| 426 | |
| 427 | // MARK: Save |
| 428 | |
| 429 | FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ONE__OTGrammar_writeToHeaderlessSpreadsheetFile, U"Write OTGrammar to spreadsheet", 0, U"txt") { |
| 430 | SAVE_ONEcxx . . $ `sys/praatM.h:1276:9`! (OTGrammar, U"save the selected OTGrammar object to the spreadsheet file") |
| 431 | OTGrammar_writeToHeaderlessSpreadsheetFilecxx . . $ OTGrammar_writeToHeaderlessSpreadsheetFile(b477585282d679e0). (me, file); |
| 432 | SAVE_ONE_ENDcxx . . $ `sys/praatM.h:1279:9`! |
| 433 | } |
| 434 | |
| 435 | // MARK: Help |
| 436 | |
| 437 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (HELP__OTGrammar_help) { |
| 438 | HELPcxx . . $ `sys/praatM.h:616:9`! (U"OTGrammar") |
| 439 | } |
| 440 | |
| 441 | // MARK: View & Edit |
| 442 | |
| 443 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (EDITOR_ONE__OTGrammar_viewAndEdit) { |
| 444 | EDITOR_ONEcxx . . $ `sys/praatM.h:1327:9`! (an,OTGrammar) |
| 445 | autoOTGrammarEditorcxx . . $ autoOTGrammarEditor# editor = OTGrammarEditor_createcxx . . $ OTGrammarEditor_create(a98b89c745782464). (ID_AND_FULL_NAMEcxx . . $ `sys/praat.h:207:9`!, me); |
| 446 | EDITOR_ONE_ENDcxx . . $ `sys/praatM.h:1331:9`! |
| 447 | } |
| 448 | |
| 449 | // MARK: Draw |
| 450 | |
| 451 | FORMcxx . . $ `sys/praatM.h:79:9`! (GRAPHICS_EACH__OTGrammar_drawTableau, U"Draw tableau", U"OT learning") { |
| 452 | SENTENCEcxx . . $ `sys/praatM.h:126:9`! (inputString, U"Input string", U"") |
| 453 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 454 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 455 | GRAPHICS_EACHcxx . . $ `sys/praatM.h:697:9`! (OTGrammar) |
| 456 | OTGrammar_drawTableaucxx . . $ OTGrammar_drawTableau(822cef9b7e8eee15). (me, GRAPHICScxx . . $ `sys/praat.h:204:9`!, false, inputString); |
| 457 | GRAPHICS_EACH_ENDcxx . . $ `sys/praatM.h:700:9`! |
| 458 | } |
| 459 | |
| 460 | FORMcxx . . $ `sys/praatM.h:79:9`! (GRAPHICS_EACH__OTGrammar_drawTableau_narrowly, U"Draw tableau (narrowly)", U"OT learning") { |
| 461 | SENTENCEcxx . . $ `sys/praatM.h:126:9`! (inputString, U"Input string", U"") |
| 462 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 463 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 464 | GRAPHICS_EACHcxx . . $ `sys/praatM.h:697:9`! (OTGrammar) |
| 465 | OTGrammar_drawTableaucxx . . $ OTGrammar_drawTableau(822cef9b7e8eee15). (me, GRAPHICScxx . . $ `sys/praat.h:204:9`!, true, inputString); |
| 466 | GRAPHICS_EACH_ENDcxx . . $ `sys/praatM.h:700:9`! |
| 467 | } |
| 468 | |
| 469 | // MARK: Query |
| 470 | |
| 471 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (QUERY_ONE_FOR_INTEGER__OTGrammar_getNumberOfConstraints) { |
| 472 | QUERY_ONE_FOR_INTEGERcxx . . $ `sys/praatM.h:838:9`! (OTGrammar) |
| 473 | const integercxx . . $ integer# result = mycxx . . $ `melder/melder.h:44:9`! numberOfConstraintscxx . . $ structOTGrammar#numberOfConstraints.; |
| 474 | QUERY_ONE_FOR_INTEGER_ENDcxx . . $ `sys/praatM.h:840:9`! (U" constraints") |
| 475 | } |
| 476 | |
| 477 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_STRING__OTGrammar_getConstraint, U"Get constraint name", nullptr) { |
| 478 | NATURALcxx . . $ `sys/praatM.h:120:9`! (constraintNumber, U"Constraint number", U"1") |
| 479 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 480 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 481 | QUERY_ONE_FOR_STRINGcxx . . $ `sys/praatM.h:931:9`! (OTGrammar) |
| 482 | mycxx . . $ `melder/melder.h:44:9`! checkConstraintNumbercxx . . $ structOTGrammar#checkConstraintNumber(1624ee8275b10bda). (constraintNumber); |
| 483 | const conststring32cxx . . $ conststring32# result = mycxx . . $ `melder/melder.h:44:9`! constraintscxx . . $ structOTGrammar#constraints. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).constraintNumber]. namecxx . . $ structOTGrammarConstraint#name..getcxx . . $ _autostring#get(5a2a78a048fb49a8).(); |
| 484 | QUERY_ONE_FOR_STRING_ENDcxx . . $ `sys/praatM.h:933:9`! |
| 485 | } |
| 486 | |
| 487 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__OTGrammar_getRankingValue, U"Get ranking value", nullptr) { |
| 488 | NATURALcxx . . $ `sys/praatM.h:120:9`! (constraintNumber, U"Constraint number", U"1") |
| 489 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 490 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 491 | QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (OTGrammar) |
| 492 | mycxx . . $ `melder/melder.h:44:9`! checkConstraintNumbercxx . . $ structOTGrammar#checkConstraintNumber(1624ee8275b10bda). (constraintNumber); |
| 493 | const double result = mycxx . . $ `melder/melder.h:44:9`! constraintscxx . . $ structOTGrammar#constraints. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).constraintNumber]. rankingcxx . . $ structOTGrammarConstraint#ranking.; |
| 494 | QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" (ranking of constraint ", constraintNumber, U")") |
| 495 | } |
| 496 | |
| 497 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__OTGrammar_getDisharmony, U"Get disharmony", nullptr) { |
| 498 | NATURALcxx . . $ `sys/praatM.h:120:9`! (constraintNumber, U"Constraint number", U"1") |
| 499 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 500 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 501 | QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (OTGrammar) |
| 502 | mycxx . . $ `melder/melder.h:44:9`! checkConstraintNumbercxx . . $ structOTGrammar#checkConstraintNumber(1624ee8275b10bda). (constraintNumber); |
| 503 | const double result = mycxx . . $ `melder/melder.h:44:9`! constraintscxx . . $ structOTGrammar#constraints. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).constraintNumber]. disharmonycxx . . $ structOTGrammarConstraint#disharmony.; |
| 504 | QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" (disharmony of constraint ", constraintNumber, U")") |
| 505 | } |
| 506 | |
| 507 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (QUERY_ONE_FOR_INTEGER__OTGrammar_getNumberOfTableaus) { |
| 508 | QUERY_ONE_FOR_INTEGERcxx . . $ `sys/praatM.h:838:9`! (OTGrammar) |
| 509 | const integercxx . . $ integer# result = mycxx . . $ `melder/melder.h:44:9`! numberOfTableauscxx . . $ structOTGrammar#numberOfTableaus.; |
| 510 | QUERY_ONE_FOR_INTEGER_ENDcxx . . $ `sys/praatM.h:840:9`! (U" tableaus") |
| 511 | } |
| 512 | |
| 513 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_STRING__OTGrammar_getInput, U"Get input", nullptr) { |
| 514 | NATURALcxx . . $ `sys/praatM.h:120:9`! (tableauNumber, U"Tableau number", U"1") |
| 515 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 516 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 517 | QUERY_ONE_FOR_STRINGcxx . . $ `sys/praatM.h:931:9`! (OTGrammar) |
| 518 | mycxx . . $ `melder/melder.h:44:9`! checkTableauNumbercxx . . $ structOTGrammar#checkTableauNumber(1624ee8275b10bda). (tableauNumber); |
| 519 | const conststring32cxx . . $ conststring32# result = mycxx . . $ `melder/melder.h:44:9`! tableauscxx . . $ structOTGrammar#tableaus. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).tableauNumber]. inputcxx . . $ structOTGrammarTableau#input..getcxx . . $ _autostring#get(5a2a78a048fb49a8).(); |
| 520 | QUERY_ONE_FOR_STRING_ENDcxx . . $ `sys/praatM.h:933:9`! |
| 521 | } |
| 522 | |
| 523 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_INTEGER__OTGrammar_getNumberOfCandidates, U"Get number of candidates", nullptr) { |
| 524 | NATURALcxx . . $ `sys/praatM.h:120:9`! (tableauNumber, U"Tableau number", U"1") |
| 525 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 526 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 527 | QUERY_ONE_FOR_INTEGERcxx . . $ `sys/praatM.h:838:9`! (OTGrammar) |
| 528 | mycxx . . $ `melder/melder.h:44:9`! checkTableauNumbercxx . . $ structOTGrammar#checkTableauNumber(1624ee8275b10bda). (tableauNumber); |
| 529 | const integercxx . . $ integer# result = mycxx . . $ `melder/melder.h:44:9`! tableauscxx . . $ structOTGrammar#tableaus. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).tableauNumber]. numberOfCandidatescxx . . $ structOTGrammarTableau#numberOfCandidates.; |
| 530 | QUERY_ONE_FOR_INTEGER_ENDcxx . . $ `sys/praatM.h:840:9`! (U" candidates in tableau ", tableauNumber) |
| 531 | } |
| 532 | |
| 533 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_STRING__OTGrammar_getCandidate, U"Get candidate", nullptr) { |
| 534 | NATURALcxx . . $ `sys/praatM.h:120:9`! (tableauNumber, U"Tableau number", U"1") |
| 535 | NATURALcxx . . $ `sys/praatM.h:120:9`! (candidateNumber, U"Candidate number", U"1") |
| 536 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 537 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 538 | QUERY_ONE_FOR_STRINGcxx . . $ `sys/praatM.h:931:9`! (OTGrammar) |
| 539 | mycxx . . $ `melder/melder.h:44:9`! checkTableauAndCandidateNumbercxx . . $ structOTGrammar#checkTableauAndCandidateNumber(a8896fd0f69df779). (tableauNumber, candidateNumber); |
| 540 | const conststring32cxx . . $ conststring32# result = mycxx . . $ `melder/melder.h:44:9`! tableauscxx . . $ structOTGrammar#tableaus. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).tableauNumber]. candidatescxx . . $ structOTGrammarTableau#candidates. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).candidateNumber]. outputcxx . . $ structOTGrammarCandidate#output..getcxx . . $ _autostring#get(5a2a78a048fb49a8).(); |
| 541 | QUERY_ONE_FOR_STRING_ENDcxx . . $ `sys/praatM.h:933:9`! |
| 542 | } |
| 543 | |
| 544 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_INTEGER__OTGrammar_getNumberOfViolations, U"Get number of violations", nullptr) { |
| 545 | NATURALcxx . . $ `sys/praatM.h:120:9`! (tableauNumber, U"Tableau number", U"1") |
| 546 | NATURALcxx . . $ `sys/praatM.h:120:9`! (candidateNumber, U"Candidate number", U"1") |
| 547 | NATURALcxx . . $ `sys/praatM.h:120:9`! (constraintNumber, U"Constraint number", U"1") |
| 548 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 549 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 550 | QUERY_ONE_FOR_INTEGERcxx . . $ `sys/praatM.h:838:9`! (OTGrammar) |
| 551 | mycxx . . $ `melder/melder.h:44:9`! checkTableauAndCandidateNumbercxx . . $ structOTGrammar#checkTableauAndCandidateNumber(a8896fd0f69df779). (tableauNumber, candidateNumber); |
| 552 | mycxx . . $ `melder/melder.h:44:9`! checkConstraintNumbercxx . . $ structOTGrammar#checkConstraintNumber(1624ee8275b10bda). (constraintNumber); |
| 553 | const integercxx . . $ integer# result = mycxx . . $ `melder/melder.h:44:9`! tableauscxx . . $ structOTGrammar#tableaus. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).tableauNumber]. candidatescxx . . $ structOTGrammarTableau#candidates. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).candidateNumber]. markscxx . . $ structOTGrammarCandidate#marks. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).constraintNumber]; |
| 554 | QUERY_ONE_FOR_INTEGER_ENDcxx . . $ `sys/praatM.h:840:9`! (U" violations") |
| 555 | } |
| 556 | |
| 557 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (QUERY_ONE_FOR_BOOLEAN__OTGrammar_areAllOutputsDistinguishable) { |
| 558 | QUERY_ONE_FOR_BOOLEANcxx . . $ `sys/praatM.h:849:9`! (OTGrammar) |
| 559 | const integercxx . . $ integer# result = OTGrammar_areAllOutputsDistinguishablecxx . . $ OTGrammar_areAllOutputsDistinguishable(62951cbe4b2b5c08). (me); |
| 560 | QUERY_ONE_FOR_BOOLEAN_ENDcxx . . $ `sys/praatM.h:851:9`! (result ? U" (all pairs are distinguishable)" : U" (at least one equivalent pair)") |
| 561 | } |
| 562 | |
| 563 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_EACH_TO_ONE_OTGrammar_tabulateEquivalentPairs) { |
| 564 | CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (OTGrammar) |
| 565 | autoTablecxx . . $ autoTable# result = OTGrammar_tabulateEquivalentPairscxx . . $ OTGrammar_tabulateEquivalentPairs(1b61c83392fc114d). (me); |
| 566 | CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get()) |
| 567 | } |
| 568 | |
| 569 | // MARK: Query (parse) |
| 570 | |
| 571 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_INTEGER__OTGrammar_getWinner, U"Get winner", nullptr) { |
| 572 | NATURALcxx . . $ `sys/praatM.h:120:9`! (tableauNumber, U"Tableau number", U"1") |
| 573 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 574 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 575 | QUERY_ONE_FOR_INTEGERcxx . . $ `sys/praatM.h:838:9`! (OTGrammar) |
| 576 | mycxx . . $ `melder/melder.h:44:9`! checkTableauNumbercxx . . $ structOTGrammar#checkTableauNumber(1624ee8275b10bda). (tableauNumber); |
| 577 | const integercxx . . $ integer# result = OTGrammar_getWinnercxx . . $ OTGrammar_getWinner(7a18ede9c0367db4). (me, tableauNumber); |
| 578 | QUERY_ONE_FOR_INTEGER_ENDcxx . . $ `sys/praatM.h:840:9`! (U" (winner in tableau ", tableauNumber, U")") |
| 579 | } |
| 580 | |
| 581 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_INTEGER__OTGrammar_compareCandidates, U"Compare candidates", nullptr) { |
| 582 | NATURALcxx . . $ `sys/praatM.h:120:9`! (tableauNumber1, U"Tableau number 1", U"1") |
| 583 | NATURALcxx . . $ `sys/praatM.h:120:9`! (candidateNumber1, U"Candidate number 1", U"1") |
| 584 | NATURALcxx . . $ `sys/praatM.h:120:9`! (tableauNumber2, U"Tableau number 2", U"1") |
| 585 | NATURALcxx . . $ `sys/praatM.h:120:9`! (candidateNumber2, U"Candidate number 2", U"2") |
| 586 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 587 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 588 | QUERY_ONE_FOR_INTEGERcxx . . $ `sys/praatM.h:838:9`! (OTGrammar) |
| 589 | mycxx . . $ `melder/melder.h:44:9`! checkTableauAndCandidateNumbercxx . . $ structOTGrammar#checkTableauAndCandidateNumber(a8896fd0f69df779). (tableauNumber1, candidateNumber1); |
| 590 | mycxx . . $ `melder/melder.h:44:9`! checkTableauAndCandidateNumbercxx . . $ structOTGrammar#checkTableauAndCandidateNumber(a8896fd0f69df779). (tableauNumber2, candidateNumber2); |
| 591 | const integercxx . . $ integer# result = OTGrammar_compareCandidatescxx . . $ OTGrammar_compareCandidates(75a0bd0abef82b32). (me, tableauNumber1, candidateNumber1, tableauNumber2, candidateNumber2); |
| 592 | QUERY_ONE_FOR_INTEGER_ENDcxx . . $ `sys/praatM.h:840:9`! (result == -1 ? U" (candidate 1 is better)" : |
| 593 | result == +1 ? U" (candidate 2 is better)" : U" (candidates are equally good)") |
| 594 | } |
| 595 | |
| 596 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_INTEGER__OTGrammar_getNumberOfOptimalCandidates, U"Get number of optimal candidates", nullptr) { |
| 597 | NATURALcxx . . $ `sys/praatM.h:120:9`! (tableauNumber, U"Tableau number", U"1") |
| 598 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 599 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 600 | QUERY_ONE_FOR_INTEGERcxx . . $ `sys/praatM.h:838:9`! (OTGrammar) |
| 601 | mycxx . . $ `melder/melder.h:44:9`! checkTableauNumbercxx . . $ structOTGrammar#checkTableauNumber(1624ee8275b10bda). (tableauNumber); |
| 602 | const integercxx . . $ integer# result = OTGrammar_getNumberOfOptimalCandidatescxx . . $ OTGrammar_getNumberOfOptimalCandidates(7a18ede9c0367db4). (me, tableauNumber); |
| 603 | QUERY_ONE_FOR_INTEGER_ENDcxx . . $ `sys/praatM.h:840:9`! (U" optimal candidates in tableau ", tableauNumber) |
| 604 | } |
| 605 | |
| 606 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_BOOLEAN__OTGrammar_isCandidateGrammatical, U"Is candidate grammatical?", nullptr) { |
| 607 | NATURALcxx . . $ `sys/praatM.h:120:9`! (tableauNumber, U"Tableau number", U"1") |
| 608 | NATURALcxx . . $ `sys/praatM.h:120:9`! (candidateNumber, U"Candidate number", U"1") |
| 609 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 610 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 611 | QUERY_ONE_FOR_BOOLEANcxx . . $ `sys/praatM.h:849:9`! (OTGrammar) |
| 612 | mycxx . . $ `melder/melder.h:44:9`! checkTableauAndCandidateNumbercxx . . $ structOTGrammar#checkTableauAndCandidateNumber(a8896fd0f69df779). (tableauNumber, candidateNumber); |
| 613 | const integercxx . . $ integer# result = OTGrammar_isCandidateGrammaticalcxx . . $ OTGrammar_isCandidateGrammatical(f38c237485a6e739). (me, tableauNumber, candidateNumber); |
| 614 | QUERY_ONE_FOR_BOOLEAN_ENDcxx . . $ `sys/praatM.h:851:9`! (result ? U" (grammatical)" : U" (ungrammatical)") |
| 615 | } |
| 616 | |
| 617 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_BOOLEAN__OTGrammar_isCandidateSinglyGrammatical, U"Is candidate singly grammatical?", nullptr) { |
| 618 | NATURALcxx . . $ `sys/praatM.h:120:9`! (tableauNumber, U"Tableau number", U"1") |
| 619 | NATURALcxx . . $ `sys/praatM.h:120:9`! (candidateNumber, U"Candidate number", U"1") |
| 620 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 621 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 622 | QUERY_ONE_FOR_BOOLEANcxx . . $ `sys/praatM.h:849:9`! (OTGrammar) |
| 623 | mycxx . . $ `melder/melder.h:44:9`! checkTableauAndCandidateNumbercxx . . $ structOTGrammar#checkTableauAndCandidateNumber(a8896fd0f69df779). (tableauNumber, candidateNumber); |
| 624 | const integercxx . . $ integer# result = OTGrammar_isCandidateSinglyGrammaticalcxx . . $ OTGrammar_isCandidateSinglyGrammatical(f38c237485a6e739). (me, tableauNumber, candidateNumber); |
| 625 | QUERY_ONE_FOR_BOOLEAN_ENDcxx . . $ `sys/praatM.h:851:9`! (result ? U" (singly grammatical)" : U" (not singly grammatical)") |
| 626 | } |
| 627 | |
| 628 | FORMcxx . . $ `sys/praatM.h:79:9`! (INFO_ONE__OTGrammar_getInterpretiveParse, U"OTGrammar: Interpretive parse", nullptr) { |
| 629 | SENTENCEcxx . . $ `sys/praatM.h:126:9`! (partialOutput, U"Partial output", U"") |
| 630 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 631 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 632 | INFO_ONEcxx . . $ `sys/praatM.h:589:9`! (OTGrammar) |
| 633 | integercxx . . $ integer# bestInput, bestOutput; |
| 634 | OTGrammar_getInterpretiveParsecxx . . $ OTGrammar_getInterpretiveParse(c29944d43509464b). (me, partialOutput, & bestInput, & bestOutput); |
| 635 | Melder_informationcxx . . $ Melder_information(3eb398314feba58b). (U"Best input = ", bestInput, U": ", mycxx . . $ `melder/melder.h:44:9`! tableauscxx . . $ structOTGrammar#tableaus. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).bestInput]. inputcxx . . $ structOTGrammarTableau#input..getcxx . . $ _autostring#get(5a2a78a048fb49a8).(), |
| 636 | U"\nBest output = ", bestOutput, U": ", mycxx . . $ `melder/melder.h:44:9`! tableauscxx . . $ structOTGrammar#tableaus. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).bestInput]. candidatescxx . . $ structOTGrammarTableau#candidates. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).bestOutput]. outputcxx . . $ structOTGrammarCandidate#output..getcxx . . $ _autostring#get(5a2a78a048fb49a8).()); |
| 637 | INFO_ONE_ENDcxx . . $ `sys/praatM.h:590:9`! |
| 638 | } |
| 639 | |
| 640 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_BOOLEAN__OTGrammar_isPartialOutputGrammatical, U"Is partial output grammatical?", nullptr) { |
| 641 | SENTENCEcxx . . $ `sys/praatM.h:126:9`! (partialOutput, U"Partial output", U"") |
| 642 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 643 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 644 | QUERY_ONE_FOR_BOOLEANcxx . . $ `sys/praatM.h:849:9`! (OTGrammar) |
| 645 | const integercxx . . $ integer# result = OTGrammar_isPartialOutputGrammaticalcxx . . $ OTGrammar_isPartialOutputGrammatical(f10314946276fdfa). (me, partialOutput); |
| 646 | QUERY_ONE_FOR_BOOLEAN_ENDcxx . . $ `sys/praatM.h:851:9`! (result ? U" (grammatical)" : U" (ungrammatical)") |
| 647 | } |
| 648 | |
| 649 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_BOOLEAN__OTGrammar_isPartialOutputSinglyGrammatical, U"Is partial output singly grammatical?", nullptr) { |
| 650 | SENTENCEcxx . . $ `sys/praatM.h:126:9`! (partialOutput, U"Partial output", U"") |
| 651 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 652 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 653 | QUERY_ONE_FOR_BOOLEANcxx . . $ `sys/praatM.h:849:9`! (OTGrammar) |
| 654 | const integercxx . . $ integer# result = OTGrammar_isPartialOutputSinglyGrammaticalcxx . . $ OTGrammar_isPartialOutputSinglyGrammatical(f10314946276fdfa). (me, partialOutput); |
| 655 | QUERY_ONE_FOR_BOOLEAN_ENDcxx . . $ `sys/praatM.h:851:9`! (result ? U" (singly grammatical)" : U" (not singly grammatical)") |
| 656 | } |
| 657 | |
| 658 | // MARK: - |
| 659 | |
| 660 | FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__OTGrammar_generateInputs, U"Generate inputs", U"OTGrammar: Generate inputs...") { |
| 661 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfTrials, U"Number of trials", U"1000") |
| 662 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 663 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 664 | CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (OTGrammar) |
| 665 | autoStringscxx . . $ autoStrings# result = OTGrammar_generateInputscxx . . $ OTGrammar_generateInputs(2c631e0145e471da). (me, numberOfTrials); |
| 666 | CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_in") |
| 667 | } |
| 668 | |
| 669 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_EACH_TO_ONE__OTGrammar_getInputs) { |
| 670 | CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (OTGrammar) |
| 671 | autoStringscxx . . $ autoStrings# result = OTGrammar_getInputscxx . . $ OTGrammar_getInputs(d533707318a2ea1b). (me); |
| 672 | CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_in") |
| 673 | } |
| 674 | |
| 675 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_EACH_WEAK_TO_ONE__OTGrammar_measureTypology) { |
| 676 | CONVERT_EACH_WEAK_TO_ONEcxx . . $ `sys/praatM.h:1126:9`! (OTGrammar) |
| 677 | autoDistributionscxx . . $ autoDistributions# result = OTGrammar_measureTypology_WEAKcxx . . $ OTGrammar_measureTypology_WEAK(e4ba9d8bf50fd03e). (me); |
| 678 | CONVERT_EACH_WEAK_TO_ONE_ENDcxx . . $ `sys/praatM.h:1129:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_out") |
| 679 | } |
| 680 | |
| 681 | // MARK: Evaluate |
| 682 | |
| 683 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__OTGrammar_evaluate, U"OTGrammar: Evaluate", nullptr) { |
| 684 | REALcxx . . $ `sys/praatM.h:92:9`! (evaluationNoise, U"Evaluation noise", U"2.0") |
| 685 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 686 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 687 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (OTGrammar) |
| 688 | OTGrammar_newDisharmoniescxx . . $ OTGrammar_newDisharmonies(ebbb2d2a494dd028). (me, evaluationNoise); |
| 689 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 690 | } |
| 691 | |
| 692 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_WEAK_FOR_STRING__OTGrammar_inputToOutput, U"OTGrammar: Input to output", U"OTGrammar: Input to output...") { |
| 693 | SENTENCEcxx . . $ `sys/praatM.h:126:9`! (inputForm, U"Input form", U"") |
| 694 | REALcxx . . $ `sys/praatM.h:92:9`! (evaluationNoise, U"Evaluation noise", U"2.0") |
| 695 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 696 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 697 | QUERY_ONE_WEAK_FOR_STRINGcxx . . $ `sys/praatM.h:941:9`! (OTGrammar) |
| 698 | autostring32cxx . . $ autostring32# output = OTGrammar_inputToOutputcxx . . $ OTGrammar_inputToOutput(c8f670774824696c). (me, inputForm, evaluationNoise); |
| 699 | conststring32cxx . . $ conststring32# result = output.getcxx . . $ _autostring#get(5a2a78a048fb49a8).(); |
| 700 | QUERY_ONE_WEAK_FOR_STRING_ENDcxx . . $ `sys/praatM.h:944:9`! |
| 701 | } |
| 702 | |
| 703 | FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_WEAK_TO_ONE__OTGrammar_inputToOutputs, U"OTGrammar: Input to outputs", U"OTGrammar: Input to outputs...") { |
| 704 | NATURALcxx . . $ `sys/praatM.h:120:9`! (trials, U"Trials", U"1000") |
| 705 | REALcxx . . $ `sys/praatM.h:92:9`! (evaluationNoise, U"Evaluation noise", U"2.0") |
| 706 | SENTENCEcxx . . $ `sys/praatM.h:126:9`! (inputForm, U"Input form", U"") |
| 707 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 708 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 709 | CONVERT_EACH_WEAK_TO_ONEcxx . . $ `sys/praatM.h:1126:9`! (OTGrammar) |
| 710 | autoStringscxx . . $ autoStrings# result = OTGrammar_inputToOutputscxx . . $ OTGrammar_inputToOutputs(d25e0ea609ea9bc8). (me, inputForm, trials, evaluationNoise); |
| 711 | CONVERT_EACH_WEAK_TO_ONE_ENDcxx . . $ `sys/praatM.h:1129:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_out") |
| 712 | } |
| 713 | |
| 714 | FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_WEAK_TO_ONE__OTGrammar_to_Distributions, U"OTGrammar: Compute output distributions", U"OTGrammar: To output Distributions...") { |
| 715 | NATURALcxx . . $ `sys/praatM.h:120:9`! (trialsPerInput, U"Trials per input", U"100000") |
| 716 | REALcxx . . $ `sys/praatM.h:92:9`! (evaluationNoise, U"Evaluation noise", U"2.0") |
| 717 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 718 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 719 | CONVERT_EACH_WEAK_TO_ONEcxx . . $ `sys/praatM.h:1126:9`! (OTGrammar) |
| 720 | autoDistributionscxx . . $ autoDistributions# result = OTGrammar_to_Distributioncxx . . $ OTGrammar_to_Distribution(e63311810804d1e0). (me, trialsPerInput, evaluationNoise); |
| 721 | CONVERT_EACH_WEAK_TO_ONE_ENDcxx . . $ `sys/praatM.h:1129:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_out") |
| 722 | } |
| 723 | |
| 724 | FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_WEAK_TO_ONE__OTGrammar_to_PairDistribution, U"OTGrammar: Compute output distributions", nullptr) { |
| 725 | NATURALcxx . . $ `sys/praatM.h:120:9`! (trialsPerInput, U"Trials per input", U"100000") |
| 726 | REALcxx . . $ `sys/praatM.h:92:9`! (evaluationNoise, U"Evaluation noise", U"2.0") |
| 727 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 728 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 729 | CONVERT_EACH_WEAK_TO_ONEcxx . . $ `sys/praatM.h:1126:9`! (OTGrammar) |
| 730 | autoPairDistributioncxx . . $ autoPairDistribution# result = OTGrammar_to_PairDistributioncxx . . $ OTGrammar_to_PairDistribution(816b1fe75c724a5c). (me, trialsPerInput, evaluationNoise); |
| 731 | CONVERT_EACH_WEAK_TO_ONE_ENDcxx . . $ `sys/praatM.h:1129:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_out") |
| 732 | } |
| 733 | |
| 734 | // MARK: Modify ranking |
| 735 | |
| 736 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__OTGrammar_setRanking, U"OTGrammar: Set ranking", nullptr) { |
| 737 | NATURALcxx . . $ `sys/praatM.h:120:9`! (constraintNumber, U"Constraint number", U"1") |
| 738 | REALcxx . . $ `sys/praatM.h:92:9`! (ranking, U"Ranking", U"100.0") |
| 739 | REALcxx . . $ `sys/praatM.h:92:9`! (disharmony, U"Disharmony", U"100.0") |
| 740 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 741 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 742 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (OTGrammar) |
| 743 | OTGrammar_setRankingcxx . . $ OTGrammar_setRanking(68a1fc1b7054b6a3). (me, constraintNumber, ranking, disharmony); |
| 744 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 745 | } |
| 746 | |
| 747 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__OTGrammar_resetAllRankings, U"OTGrammar: Reset all rankings", nullptr) { |
| 748 | REALcxx . . $ `sys/praatM.h:92:9`! (ranking, U"Ranking", U"100.0") |
| 749 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 750 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 751 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (OTGrammar) |
| 752 | OTGrammar_resetcxx . . $ OTGrammar_reset(ebbb2d2a494dd028). (me, ranking); |
| 753 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 754 | } |
| 755 | |
| 756 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__OTGrammar_resetToRandomRanking, U"OTGrammar: Reset to random ranking", nullptr) { |
| 757 | REALcxx . . $ `sys/praatM.h:92:9`! (mean, U"Mean", U"10.0") |
| 758 | POSITIVEcxx . . $ `sys/praatM.h:104:9`! (standardDeviation, U"Standard deviation", U"1e-4") |
| 759 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 760 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 761 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (OTGrammar) |
| 762 | OTGrammar_resetToRandomRankingcxx . . $ OTGrammar_resetToRandomRanking(b654a70d7ca48ec1). (me, mean, standardDeviation); |
| 763 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 764 | } |
| 765 | |
| 766 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__OTGrammar_resetToRandomTotalRanking, U"OTGrammar: Reset to random total ranking", nullptr) { |
| 767 | REALcxx . . $ `sys/praatM.h:92:9`! (maximumRanking, U"Maximum ranking", U"100.0") |
| 768 | POSITIVEcxx . . $ `sys/praatM.h:104:9`! (rankingDistance, U"Ranking distance", U"1.0") |
| 769 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 770 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 771 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (OTGrammar) |
| 772 | OTGrammar_resetToRandomTotalRankingcxx . . $ OTGrammar_resetToRandomTotalRanking(b654a70d7ca48ec1). (me, maximumRanking, rankingDistance); |
| 773 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 774 | } |
| 775 | |
| 776 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH_WEAK__OTGrammar_learnOne, U"OTGrammar: Learn one", U"OTGrammar: Learn one...") { |
| 777 | SENTENCEcxx . . $ `sys/praatM.h:126:9`! (inputString, U"Input string", U"") |
| 778 | SENTENCEcxx . . $ `sys/praatM.h:126:9`! (outputString, U"Output string", U"") |
| 779 | REALcxx . . $ `sys/praatM.h:92:9`! (evaluationNoise, U"Evaluation noise", U"2.0") |
| 780 | OPTIONMENU_ENUMcxx . . $ `sys/praatM.h:262:9`! (kOTGrammar_rerankingStrategy, updateRule, |
| 781 | U"Update rule", kOTGrammar_rerankingStrategy::SYMMETRIC_ALL) |
| 782 | REALcxx . . $ `sys/praatM.h:92:9`! (plasticity, U"Plasticity", U"0.1") |
| 783 | REALcxx . . $ `sys/praatM.h:92:9`! (relativePlasticitySpreading, U"Rel. plasticity spreading", U"0.1") |
| 784 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (honourLocalRankings, U"Honour local rankings", 1) |
| 785 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 786 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 787 | MODIFY_EACH_WEAKcxx . . $ `sys/praatM.h:1025:9`! (OTGrammar) |
| 788 | OTGrammar_learnOnecxx . . $ OTGrammar_learnOne(ee39fc6cd929bcff). (me, inputString, outputString, evaluationNoise, updateRule, honourLocalRankings, |
| 789 | plasticity, relativePlasticitySpreading, true, true, nullptr); |
| 790 | MODIFY_EACH_WEAK_ENDcxx . . $ `sys/praatM.h:1028:9`! |
| 791 | } |
| 792 | |
| 793 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH_WEAK__OTGrammar_learnOneFromPartialOutput, U"OTGrammar: Learn one from partial adult output", nullptr) { |
| 794 | COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"Partial adult surface form (e.g. overt form):") |
| 795 | SENTENCEcxx . . $ `sys/praatM.h:126:9`! (partialOutput, U"Partial output", U"") |
| 796 | REALcxx . . $ `sys/praatM.h:92:9`! (evaluationNoise, U"Evaluation noise", U"2.0") |
| 797 | OPTIONMENU_ENUMcxx . . $ `sys/praatM.h:262:9`! (kOTGrammar_rerankingStrategy, updateRule, |
| 798 | U"Update rule", kOTGrammar_rerankingStrategy::SYMMETRIC_ALL) |
| 799 | REALcxx . . $ `sys/praatM.h:92:9`! (plasticity, U"Plasticity", U"0.1") |
| 800 | REALcxx . . $ `sys/praatM.h:92:9`! (relativePlasticitySpreading, U"Rel. plasticity spreading", U"0.1") |
| 801 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (honourLocalRankings, U"Honour local rankings", 1) |
| 802 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfChews, U"Number of chews", U"1") |
| 803 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 804 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 805 | MODIFY_EACH_WEAKcxx . . $ `sys/praatM.h:1025:9`! (OTGrammar) |
| 806 | OTGrammar_learnOneFromPartialOutputcxx . . $ OTGrammar_learnOneFromPartialOutput(bf78488c347ea88b). (me, partialOutput, evaluationNoise, updateRule, honourLocalRankings, |
| 807 | plasticity, relativePlasticitySpreading, numberOfChews, true); |
| 808 | MODIFY_EACH_WEAK_ENDcxx . . $ `sys/praatM.h:1028:9`! |
| 809 | } |
| 810 | |
| 811 | // MARK: Modify behaviour |
| 812 | |
| 813 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__OTGrammar_setDecisionStrategy, U"OTGrammar: Set decision strategy", nullptr) { |
| 814 | CHOICE_ENUMcxx . . $ `sys/praatM.h:249:9`! (kOTGrammar_decisionStrategy, decisionStrategy, |
| 815 | U"Decision strategy", kOTGrammar_decisionStrategy::DEFAULT) |
| 816 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 817 | FIND_ONEcxx . . $ `sys/praatM.h:490:9`! (OTGrammar) |
| 818 | SET_ENUMcxx . . $ `sys/praatM.h:347:9`! (decisionStrategy, kOTGrammar_decisionStrategy, mycxx . . $ `melder/melder.h:44:9`! decisionStrategy); |
| 819 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 820 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (OTGrammar) |
| 821 | mycxx . . $ `melder/melder.h:44:9`! decisionStrategycxx . . $ structOTGrammar#decisionStrategy. = decisionStrategy; |
| 822 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 823 | } |
| 824 | |
| 825 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__OTGrammar_setLeak, U"OTGrammar: Set leak", nullptr) { |
| 826 | REALcxx . . $ `sys/praatM.h:92:9`! (leak, U"Leak", U"0.0") |
| 827 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 828 | FIND_ONEcxx . . $ `sys/praatM.h:490:9`! (OTGrammar) |
| 829 | SET_REALcxx . . $ `sys/praatM.h:332:9`! (leak, mycxx . . $ `melder/melder.h:44:9`! leak) |
| 830 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 831 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (OTGrammar) |
| 832 | mycxx . . $ `melder/melder.h:44:9`! leakcxx . . $ structOTGrammar#leak. = leak; |
| 833 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 834 | } |
| 835 | |
| 836 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__OTGrammar_setConstraintPlasticity, U"OTGrammar: Set constraint plasticity", nullptr) { |
| 837 | NATURALcxx . . $ `sys/praatM.h:120:9`! (constraint, U"Constraint", U"1") |
| 838 | REALcxx . . $ `sys/praatM.h:92:9`! (plasticity, U"Plasticity", U"1.0") |
| 839 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 840 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 841 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (OTGrammar) |
| 842 | OTGrammar_setConstraintPlasticitycxx . . $ OTGrammar_setConstraintPlasticity(73ee87a426f39261). (me, constraint, plasticity); |
| 843 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 844 | } |
| 845 | |
| 846 | // MARK: Modify structure |
| 847 | |
| 848 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__OTGrammar_removeConstraint, U"OTGrammar: Remove constraint", nullptr) { |
| 849 | SENTENCEcxx . . $ `sys/praatM.h:126:9`! (constraintName, U"Constraint name", U"") |
| 850 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 851 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 852 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (OTGrammar) |
| 853 | OTGrammar_removeConstraintcxx . . $ OTGrammar_removeConstraint(90425b6eb4fa5279). (me, constraintName); |
| 854 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 855 | } |
| 856 | |
| 857 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__OTGrammar_removeHarmonicallyBoundedCandidates, U"OTGrammar: Remove harmonically bounded candidates", nullptr) { |
| 858 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (singly, U"Singly", false) |
| 859 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 860 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 861 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (OTGrammar) |
| 862 | OTGrammar_removeHarmonicallyBoundedCandidatescxx . . $ OTGrammar_removeHarmonicallyBoundedCandidates(de1cdd9e0b276ab2). (me, singly); // strong exception guarantee (2021-05-05) |
| 863 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 864 | } |
| 865 | |
| 866 | // MARK: OTGRAMMAR & STRINGS |
| 867 | |
| 868 | FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_ONE_WEAK_AND_ONE_TO_ONE__OTGrammar_Strings_inputsToOutputs, U"OTGrammar: Inputs to outputs", U"OTGrammar: Inputs to outputs...") { |
| 869 | REALcxx . . $ `sys/praatM.h:92:9`! (evaluationNoise, U"Evaluation noise", U"2.0") |
| 870 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 871 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 872 | CONVERT_ONE_WEAK_AND_ONE_TO_ONEcxx . . $ `sys/praatM.h:1177:9`! (OTGrammar, Strings) |
| 873 | autoStringscxx . . $ autoStrings# result = OTGrammar_inputsToOutputscxx . . $ OTGrammar_inputsToOutputs(14edd5c2a0df16ec). (me, you, evaluationNoise); |
| 874 | CONVERT_ONE_WEAK_AND_ONE_TO_ONE_ENDcxx . . $ `sys/praatM.h:1180:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_out") |
| 875 | } |
| 876 | |
| 877 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (QUERY_ONE_AND_ONE_FOR_BOOLEAN__OTGrammar_Strings_areAllPartialOutputsGrammatical) { |
| 878 | QUERY_ONE_AND_ONE_FOR_BOOLEANcxx . . $ `sys/praatM.h:882:9`! (OTGrammar, Strings) |
| 879 | const bool result = OTGrammar_areAllPartialOutputsGrammaticalcxx . . $ OTGrammar_areAllPartialOutputsGrammatical(78c251f47636c607). (me, you); |
| 880 | QUERY_ONE_AND_ONE_FOR_BOOLEAN_ENDcxx . . $ `sys/praatM.h:884:9`! (result ? U" (all grammatical)" : U" (not all grammatical)") |
| 881 | } |
| 882 | |
| 883 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (QUERY_ONE_AND_ONE_FOR_BOOLEAN__OTGrammar_Strings_areAllPartialOutputsSinglyGrammatical) { |
| 884 | QUERY_ONE_AND_ONE_FOR_BOOLEANcxx . . $ `sys/praatM.h:882:9`! (OTGrammar, Strings) |
| 885 | const bool result = OTGrammar_areAllPartialOutputsSinglyGrammaticalcxx . . $ OTGrammar_areAllPartialOutputsSinglyGrammatical(78c251f47636c607). (me, you); |
| 886 | QUERY_ONE_AND_ONE_FOR_BOOLEAN_ENDcxx . . $ `sys/praatM.h:884:9`! (result ? U" (all singly grammatical)" : U" (not all singly grammatical)") |
| 887 | } |
| 888 | |
| 889 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_FIRST_OF_ONE_WEAK_AND_TWO__OTGrammar_Stringses_learn, U"OTGrammar: Learn", U"OTGrammar & 2 Strings: Learn...") { |
| 890 | REALcxx . . $ `sys/praatM.h:92:9`! (evaluationNoise, U"Evaluation noise", U"2.0") |
| 891 | OPTIONMENU_ENUMcxx . . $ `sys/praatM.h:262:9`! (kOTGrammar_rerankingStrategy, updateRule, |
| 892 | U"Update rule", kOTGrammar_rerankingStrategy::SYMMETRIC_ALL) |
| 893 | REALcxx . . $ `sys/praatM.h:92:9`! (plasticity, U"Plasticity", U"0.1") |
| 894 | REALcxx . . $ `sys/praatM.h:92:9`! (relativePlasticitySpreading, U"Rel. plasticity spreading", U"0.1") |
| 895 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (honourLocalRankings, U"Honour local rankings", 1) |
| 896 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfChews, U"Number of chews", U"1") |
| 897 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 898 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 899 | MODIFY_FIRST_OF_ONE_WEAK_AND_TWOcxx . . $ `sys/praatM.h:1083:9`! (OTGrammar, Strings) |
| 900 | OTGrammar_learncxx . . $ OTGrammar_learn(3827da1cf6d683c8). (me, you, him, evaluationNoise, updateRule, honourLocalRankings, |
| 901 | plasticity, relativePlasticitySpreading, numberOfChews); |
| 902 | MODIFY_FIRST_OF_ONE_WEAK_AND_TWO_ENDcxx . . $ `sys/praatM.h:1086:9`! |
| 903 | } |
| 904 | |
| 905 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_FIRST_OF_ONE_WEAK_AND_ONE_WITH_HISTORY__OTGrammar_Strings_learnFromPartialOutputs, U"OTGrammar: Learn from partial adult outputs", nullptr) { |
| 906 | REALcxx . . $ `sys/praatM.h:92:9`! (evaluationNoise, U"Evaluation noise", U"2.0") |
| 907 | OPTIONMENU_ENUMcxx . . $ `sys/praatM.h:262:9`! (kOTGrammar_rerankingStrategy, updateRule, |
| 908 | U"Update rule", kOTGrammar_rerankingStrategy::SYMMETRIC_ALL) |
| 909 | REALcxx . . $ `sys/praatM.h:92:9`! (plasticity, U"Plasticity", U"0.1") |
| 910 | REALcxx . . $ `sys/praatM.h:92:9`! (relativePlasticitySpreading, U"Rel. plasticity spreading", U"0.1") |
| 911 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (honourLocalRankings, U"Honour local rankings", 1) |
| 912 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfChews, U"Number of chews", U"1") |
| 913 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (storeHistoryEvery, U"Store history every", U"0") |
| 914 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 915 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 916 | MODIFY_FIRST_OF_ONE_WEAK_AND_ONE_WITH_HISTORYcxx . . $ `sys/praatM.h:1055:9`! (OTGrammar, Strings, OTHistory) |
| 917 | OTGrammar_learnFromPartialOutputscxx . . $ OTGrammar_learnFromPartialOutputs(d1f13382b8c2ea65). (me, you, evaluationNoise, updateRule, honourLocalRankings, |
| 918 | plasticity, relativePlasticitySpreading, numberOfChews, storeHistoryEvery, & history); |
| 919 | MODIFY_FIRST_OF_ONE_WEAK_AND_ONE_WITH_HISTORY_ENDcxx . . $ `sys/praatM.h:1059:9`! |
| 920 | } |
| 921 | |
| 922 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_ONE_AND_TWO_TO_ONE__OTGrammar_Stringses_tabulateAllCorrectRankings) { |
| 923 | CONVERT_ONE_AND_TWO_TO_ONEcxx . . $ `sys/praatM.h:1203:9`! (OTGrammar, Strings) |
| 924 | autoTablecxx . . $ autoTable# result = OTGrammar_tabulateAllCorrectRankingscxx . . $ OTGrammar_tabulateAllCorrectRankings(c1a5b99a0b12b6a8). (me, you, him); |
| 925 | CONVERT_ONE_AND_TWO_TO_ONE_ENDcxx . . $ `sys/praatM.h:1205:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get()) |
| 926 | } |
| 927 | |
| 928 | // MARK: OTGRAMMAR & DISTRIBUTIONS |
| 929 | |
| 930 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_WEAK_AND_ONE_FOR_REAL__OTGrammar_Distributions_getFractionCorrect, U"OTGrammar & Distributions: Get fraction correct...", nullptr) { |
| 931 | NATURALcxx . . $ `sys/praatM.h:120:9`! (columnNumber, U"Column number", U"1") |
| 932 | REALcxx . . $ `sys/praatM.h:92:9`! (evaluationNoise, U"Evaluation noise", U"2.0") |
| 933 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (replications, U"Replications", U"100000") |
| 934 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 935 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 936 | QUERY_ONE_WEAK_AND_ONE_FOR_REALcxx . . $ `sys/praatM.h:865:9`! (OTGrammar, Distributions) |
| 937 | const double result = OTGrammar_Distributions_getFractionCorrectcxx . . $ OTGrammar_Distributions_getFractionCorrect(6cc4c2aef93c6d6c). (me, you, columnNumber, |
| 938 | evaluationNoise, replications); |
| 939 | QUERY_ONE_WEAK_AND_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:868:9`! (U" (fraction correct)") |
| 940 | } |
| 941 | |
| 942 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_FIRST_OF_ONE_WEAK_AND_ONE_WITH_HISTORY__OTGrammar_Distributions_learnFromPartialOutputs, |
| 943 | U"OTGrammar & Distributions: Learn from partial outputs", U"OT learning 6. Shortcut to grammar learning") |
| 944 | { |
| 945 | NATURALcxx . . $ `sys/praatM.h:120:9`! (columnNumber, U"Column number", U"1") |
| 946 | REALcxx . . $ `sys/praatM.h:92:9`! (evaluationNoise, U"Evaluation noise", U"2.0") |
| 947 | OPTIONMENU_ENUMcxx . . $ `sys/praatM.h:262:9`! (kOTGrammar_rerankingStrategy, updateRule, |
| 948 | U"Update rule", kOTGrammar_rerankingStrategy::SYMMETRIC_ALL) |
| 949 | REALcxx . . $ `sys/praatM.h:92:9`! (initialPlasticity, U"Initial plasticity", U"1.0") |
| 950 | NATURALcxx . . $ `sys/praatM.h:120:9`! (replicationsPerPlasticity, U"Replications per plasticity", U"100000") |
| 951 | REALcxx . . $ `sys/praatM.h:92:9`! (plasticityDecrement, U"Plasticity decrement", U"0.1") |
| 952 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfPlasticities, U"Number of plasticities", U"4") |
| 953 | REALcxx . . $ `sys/praatM.h:92:9`! (relativePlasticitySpreading, U"Rel. plasticity spreading", U"0.1") |
| 954 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (honourLocalRankings, U"Honour local rankings", 1) |
| 955 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfChews, U"Number of chews", U"1") |
| 956 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (storeHistoryEvery, U"Store history every", U"0") |
| 957 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 958 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 959 | MODIFY_FIRST_OF_ONE_WEAK_AND_ONE_WITH_HISTORYcxx . . $ `sys/praatM.h:1055:9`! (OTGrammar, Distributions, OTHistory) |
| 960 | OTGrammar_Distributions_learnFromPartialOutputscxx . . $ OTGrammar_Distributions_learnFromPartialOutputs(6fee105ba7335590). (me, you, columnNumber, evaluationNoise, |
| 961 | updateRule, honourLocalRankings, |
| 962 | initialPlasticity, replicationsPerPlasticity, plasticityDecrement, numberOfPlasticities, |
| 963 | relativePlasticitySpreading, numberOfChews, storeHistoryEvery, & history, false, false, 0 |
| 964 | ); |
| 965 | MODIFY_FIRST_OF_ONE_WEAK_AND_ONE_WITH_HISTORY_ENDcxx . . $ `sys/praatM.h:1059:9`! |
| 966 | } |
| 967 | |
| 968 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_FIRST_OF_ONE_WEAK_AND_ONE_WITH_HISTORY__OTGrammar_Distributions_learnFromPartialOutputs_rrip, |
| 969 | U"OTGrammar & Distributions: Learn from partial outputs (rrip)", U"OT learning 6. Shortcut to grammar learning") |
| 970 | { |
| 971 | NATURALcxx . . $ `sys/praatM.h:120:9`! (columnNumber, U"Column number", U"1") |
| 972 | REALcxx . . $ `sys/praatM.h:92:9`! (evaluationNoise, U"Evaluation noise", U"2.0") |
| 973 | OPTIONMENU_ENUMcxx . . $ `sys/praatM.h:262:9`! (kOTGrammar_rerankingStrategy, updateRule, |
| 974 | U"Update rule", kOTGrammar_rerankingStrategy::SYMMETRIC_ALL) |
| 975 | REALcxx . . $ `sys/praatM.h:92:9`! (initialPlasticity, U"Initial plasticity", U"1.0") |
| 976 | NATURALcxx . . $ `sys/praatM.h:120:9`! (replicationsPerPlasticity, U"Replications per plasticity", U"100000") |
| 977 | REALcxx . . $ `sys/praatM.h:92:9`! (plasticityDecrement, U"Plasticity decrement", U"0.1") |
| 978 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfPlasticities, U"Number of plasticities", U"4") |
| 979 | REALcxx . . $ `sys/praatM.h:92:9`! (relativePlasticitySpreading, U"Rel. plasticity spreading", U"0.1") |
| 980 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (honourLocalRankings, U"Honour local rankings", 1) |
| 981 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfChews, U"Number of chews", U"1") |
| 982 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (storeHistoryEvery, U"Store history every", U"0") |
| 983 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 984 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 985 | MODIFY_FIRST_OF_ONE_WEAK_AND_ONE_WITH_HISTORYcxx . . $ `sys/praatM.h:1055:9`! (OTGrammar, Distributions, OTHistory) |
| 986 | OTGrammar_Distributions_learnFromPartialOutputscxx . . $ OTGrammar_Distributions_learnFromPartialOutputs(6fee105ba7335590). (me, you, columnNumber, evaluationNoise, |
| 987 | updateRule, honourLocalRankings, |
| 988 | initialPlasticity, replicationsPerPlasticity, plasticityDecrement, numberOfPlasticities, |
| 989 | relativePlasticitySpreading, numberOfChews, storeHistoryEvery, & history, true, true, 0 |
| 990 | ); |
| 991 | MODIFY_FIRST_OF_ONE_WEAK_AND_ONE_WITH_HISTORY_ENDcxx . . $ `sys/praatM.h:1059:9`! |
| 992 | } |
| 993 | |
| 994 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_FIRST_OF_ONE_WEAK_AND_ONE_WITH_HISTORY__OTGrammar_Distributions_learnFromPartialOutputs_eip, |
| 995 | U"OTGrammar & Distributions: Learn from partial outputs (eip)", U"OT learning 6. Shortcut to grammar learning") |
| 996 | { |
| 997 | NATURALcxx . . $ `sys/praatM.h:120:9`! (columnNumber, U"Column number", U"1") |
| 998 | REALcxx . . $ `sys/praatM.h:92:9`! (evaluationNoise, U"Evaluation noise", U"2.0") |
| 999 | OPTIONMENU_ENUMcxx . . $ `sys/praatM.h:262:9`! (kOTGrammar_rerankingStrategy, updateRule, |
| 1000 | U"Update rule", kOTGrammar_rerankingStrategy::SYMMETRIC_ALL) |
| 1001 | REALcxx . . $ `sys/praatM.h:92:9`! (initialPlasticity, U"Initial plasticity", U"1.0") |
| 1002 | NATURALcxx . . $ `sys/praatM.h:120:9`! (replicationsPerPlasticity, U"Replications per plasticity", U"100000") |
| 1003 | REALcxx . . $ `sys/praatM.h:92:9`! (plasticityDecrement, U"Plasticity decrement", U"0.1") |
| 1004 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfPlasticities, U"Number of plasticities", U"4") |
| 1005 | REALcxx . . $ `sys/praatM.h:92:9`! (relativePlasticitySpreading, U"Rel. plasticity spreading", U"0.1") |
| 1006 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (honourLocalRankings, U"Honour local rankings", 1) |
| 1007 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfChews, U"Number of chews", U"1") |
| 1008 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (storeHistoryEvery, U"Store history every", U"0") |
| 1009 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1010 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1011 | MODIFY_FIRST_OF_ONE_WEAK_AND_ONE_WITH_HISTORYcxx . . $ `sys/praatM.h:1055:9`! (OTGrammar, Distributions, OTHistory) |
| 1012 | OTGrammar_Distributions_learnFromPartialOutputscxx . . $ OTGrammar_Distributions_learnFromPartialOutputs(6fee105ba7335590). (me, you, columnNumber, evaluationNoise, |
| 1013 | updateRule, honourLocalRankings, |
| 1014 | initialPlasticity, replicationsPerPlasticity, plasticityDecrement, numberOfPlasticities, |
| 1015 | relativePlasticitySpreading, numberOfChews, storeHistoryEvery, & history, true, true, 1000 |
| 1016 | ); |
| 1017 | MODIFY_FIRST_OF_ONE_WEAK_AND_ONE_WITH_HISTORY_ENDcxx . . $ `sys/praatM.h:1059:9`! |
| 1018 | } |
| 1019 | |
| 1020 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_FIRST_OF_ONE_WEAK_AND_ONE_WITH_HISTORY__OTGrammar_Distributions_learnFromPartialOutputs_wrip, |
| 1021 | U"OTGrammar & Distributions: Learn from partial outputs (wrip)", U"OT learning 6. Shortcut to grammar learning") |
| 1022 | { |
| 1023 | NATURALcxx . . $ `sys/praatM.h:120:9`! (columnNumber, U"Column number", U"1") |
| 1024 | REALcxx . . $ `sys/praatM.h:92:9`! (evaluationNoise, U"Evaluation noise", U"2.0") |
| 1025 | OPTIONMENU_ENUMcxx . . $ `sys/praatM.h:262:9`! (kOTGrammar_rerankingStrategy, updateRule, |
| 1026 | U"Update rule", kOTGrammar_rerankingStrategy::SYMMETRIC_ALL) |
| 1027 | REALcxx . . $ `sys/praatM.h:92:9`! (initialPlasticity, U"Initial plasticity", U"1.0") |
| 1028 | NATURALcxx . . $ `sys/praatM.h:120:9`! (replicationsPerPlasticity, U"Replications per plasticity", U"100000") |
| 1029 | REALcxx . . $ `sys/praatM.h:92:9`! (plasticityDecrement, U"Plasticity decrement", U"0.1") |
| 1030 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfPlasticities, U"Number of plasticities", U"4") |
| 1031 | REALcxx . . $ `sys/praatM.h:92:9`! (relativePlasticitySpreading, U"Rel. plasticity spreading", U"0.1") |
| 1032 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (honourLocalRankings, U"Honour local rankings", 1) |
| 1033 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfChews, U"Number of chews", U"1") |
| 1034 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (storeHistoryEvery, U"Store history every", U"0") |
| 1035 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1036 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1037 | MODIFY_FIRST_OF_ONE_WEAK_AND_ONE_WITH_HISTORYcxx . . $ `sys/praatM.h:1055:9`! (OTGrammar, Distributions, OTHistory) |
| 1038 | OTGrammar_Distributions_learnFromPartialOutputscxx . . $ OTGrammar_Distributions_learnFromPartialOutputs(6fee105ba7335590). (me, you, columnNumber, evaluationNoise, |
| 1039 | updateRule, honourLocalRankings, |
| 1040 | initialPlasticity, replicationsPerPlasticity, plasticityDecrement, numberOfPlasticities, |
| 1041 | relativePlasticitySpreading, numberOfChews, storeHistoryEvery, & history, true, true, 1 |
| 1042 | ); |
| 1043 | MODIFY_FIRST_OF_ONE_WEAK_AND_ONE_WITH_HISTORY_ENDcxx . . $ `sys/praatM.h:1059:9`! |
| 1044 | } |
| 1045 | |
| 1046 | FORMcxx . . $ `sys/praatM.h:79:9`! (INFO_ONE_AND_ONE__OTGrammar_Distributions_listObligatoryRankings, U"OTGrammar & Distributions: Get fraction correct...", nullptr) { |
| 1047 | NATURALcxx . . $ `sys/praatM.h:120:9`! (columnNumber, U"Column number", U"1") |
| 1048 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1049 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1050 | INFO_ONE_AND_ONEcxx . . $ `sys/praatM.h:595:9`! (OTGrammar, Distributions) |
| 1051 | OTGrammar_Distributions_listObligatoryRankingscxx . . $ OTGrammar_Distributions_listObligatoryRankings(53d5c23304eec8aa). (me, you, columnNumber); |
| 1052 | INFO_ONE_AND_ONE_ENDcxx . . $ `sys/praatM.h:597:9`! |
| 1053 | } |
| 1054 | |
| 1055 | // MARK: OTGRAMMAR & PAIRDISTRIBUTION |
| 1056 | |
| 1057 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_FIRST_OF_ONE_AND_ONE__OTGrammar_PairDistribution_findPositiveWeights, |
| 1058 | U"OTGrammar & PairDistribution: Find positive weights", U"OTGrammar & PairDistribution: Find positive weights...") |
| 1059 | { |
| 1060 | POSITIVEcxx . . $ `sys/praatM.h:104:9`! (weightFloor, U"Weight floor", U"1.0") |
| 1061 | POSITIVEcxx . . $ `sys/praatM.h:104:9`! (marginOfSeparation, U"Margin of separation", U"1.0") |
| 1062 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1063 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1064 | MODIFY_FIRST_OF_ONE_AND_ONEcxx . . $ `sys/praatM.h:1041:9`! (OTGrammar, PairDistribution) |
| 1065 | OTGrammar_PairDistribution_findPositiveWeightscxx . . $ OTGrammar_PairDistribution_findPositiveWeights(eaf0cef6ddde00a8). (me, you, weightFloor, marginOfSeparation); |
| 1066 | MODIFY_FIRST_OF_ONE_AND_ONE_ENDcxx . . $ `sys/praatM.h:1044:9`! |
| 1067 | } |
| 1068 | |
| 1069 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_WEAK_AND_ONE_FOR_REAL__OTGrammar_PairDistribution_getFractionCorrect, U"OTGrammar & PairDistribution: Get fraction correct...", nullptr) { |
| 1070 | REALcxx . . $ `sys/praatM.h:92:9`! (evaluationNoise, U"Evaluation noise", U"2.0") |
| 1071 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (replications, U"Replications", U"100000") |
| 1072 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1073 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1074 | QUERY_ONE_WEAK_AND_ONE_FOR_REALcxx . . $ `sys/praatM.h:865:9`! (OTGrammar, PairDistribution) |
| 1075 | const double result = OTGrammar_PairDistribution_getFractionCorrectcxx . . $ OTGrammar_PairDistribution_getFractionCorrect(94bcbbbc39507653). (me, you, evaluationNoise, replications); |
| 1076 | QUERY_ONE_WEAK_AND_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:868:9`! (U" (fraction correct)") |
| 1077 | } |
| 1078 | |
| 1079 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_WEAK_AND_ONE_FOR_INTEGER__OTGrammar_PairDistribution_getMinimumNumberCorrect, U"OTGrammar & PairDistribution: Get minimum number correct...", nullptr) { |
| 1080 | REALcxx . . $ `sys/praatM.h:92:9`! (evaluationNoise, U"Evaluation noise", U"2.0") |
| 1081 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (replicationsPerInput, U"Replications per input", U"1000") |
| 1082 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1083 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1084 | QUERY_ONE_WEAK_AND_ONE_FOR_INTEGERcxx . . $ `sys/praatM.h:876:9`! (OTGrammar, PairDistribution) |
| 1085 | const integercxx . . $ integer# result = OTGrammar_PairDistribution_getMinimumNumberCorrectcxx . . $ OTGrammar_PairDistribution_getMinimumNumberCorrect(682fb95bb304ac5f). (me, you, |
| 1086 | evaluationNoise, replicationsPerInput); |
| 1087 | QUERY_ONE_WEAK_AND_ONE_FOR_INTEGER_ENDcxx . . $ `sys/praatM.h:879:9`! (U" (minimally correct)") |
| 1088 | } |
| 1089 | |
| 1090 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_FIRST_OF_ONE_WEAK_AND_ONE__OTGrammar_PairDistribution_learn, U"OTGrammar & PairDistribution: Learn", U"OT learning 6. Shortcut to grammar learning") { |
| 1091 | REALcxx . . $ `sys/praatM.h:92:9`! (evaluationNoise, U"Evaluation noise", U"2.0") |
| 1092 | OPTIONMENU_ENUMcxx . . $ `sys/praatM.h:262:9`! (kOTGrammar_rerankingStrategy, updateRule, |
| 1093 | U"Update rule", kOTGrammar_rerankingStrategy::SYMMETRIC_ALL) |
| 1094 | POSITIVEcxx . . $ `sys/praatM.h:104:9`! (initialPlasticity, U"Initial plasticity", U"1.0") |
| 1095 | NATURALcxx . . $ `sys/praatM.h:120:9`! (replicationsPerPlasticity, U"Replications per plasticity", U"100000") |
| 1096 | REALcxx . . $ `sys/praatM.h:92:9`! (plasticityDecrement, U"Plasticity decrement", U"0.1") |
| 1097 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfPlasticities, U"Number of plasticities", U"4") |
| 1098 | REALcxx . . $ `sys/praatM.h:92:9`! (relativePlasticitySpreading, U"Rel. plasticity spreading", U"0.1") |
| 1099 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (honourLocalRankings, U"Honour local rankings", true) |
| 1100 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfChews, U"Number of chews", U"1") |
| 1101 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1102 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1103 | MODIFY_FIRST_OF_ONE_WEAK_AND_ONEcxx . . $ `sys/praatM.h:1048:9`! (OTGrammar, PairDistribution) |
| 1104 | OTGrammar_PairDistribution_learncxx . . $ OTGrammar_PairDistribution_learn(a19079481669c00d). (me, you, |
| 1105 | evaluationNoise, updateRule, honourLocalRankings, |
| 1106 | initialPlasticity, replicationsPerPlasticity, |
| 1107 | plasticityDecrement, numberOfPlasticities, relativePlasticitySpreading, numberOfChews |
| 1108 | ); |
| 1109 | MODIFY_FIRST_OF_ONE_WEAK_AND_ONE_ENDcxx . . $ `sys/praatM.h:1051:9`! |
| 1110 | } |
| 1111 | |
| 1112 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (INFO_ONE_AND_ONE__OTGrammar_PairDistribution_listObligatoryRankings) { |
| 1113 | INFO_ONE_AND_ONEcxx . . $ `sys/praatM.h:595:9`! (OTGrammar, PairDistribution) |
| 1114 | OTGrammar_PairDistribution_listObligatoryRankingscxx . . $ OTGrammar_PairDistribution_listObligatoryRankings(df4b34804257e4d4). (me, you); |
| 1115 | INFO_ONE_AND_ONE_ENDcxx . . $ `sys/praatM.h:597:9`! |
| 1116 | } |
| 1117 | |
| 1118 | // MARK: - OTMULTI |
| 1119 | |
| 1120 | // MARK: New |
| 1121 | |
| 1122 | FORMcxx . . $ `sys/praatM.h:79:9`! (CREATE_ONE__Create_multi_level_metrics_grammar, U"Create multi-level metrics grammar", nullptr) { |
| 1123 | OPTIONMENU_ENUMcxx . . $ `sys/praatM.h:262:9`! (kOTGrammar_createMetricsGrammar_initialRanking, initialRanking, |
| 1124 | U"Initial ranking", kOTGrammar_createMetricsGrammar_initialRanking::DEFAULT) |
| 1125 | OPTIONMENUcxx . . $ `sys/praatM.h:231:9`! (trochaicityConstraint, U"Trochaicity constraint", 1) |
| 1126 | OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"FtNonfinal") |
| 1127 | OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"Trochaic") |
| 1128 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (includeFootBimoraic, U"Include FootBimoraic", false) |
| 1129 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (includeFootBisyllabic, U"Include FootBisyllabic", false) |
| 1130 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (includePeripheral, U"Include Peripheral", false) |
| 1131 | OPTIONMENUcxx . . $ `sys/praatM.h:231:9`! (nonfinalityConstraint, U"Nonfinality constraint", 1) |
| 1132 | OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"Nonfinal") |
| 1133 | OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"MainNonfinal") |
| 1134 | OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"HeadNonfinal") |
| 1135 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (overtFormsHaveSecondaryStress, U"Overt forms have secondary stress", true) |
| 1136 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (includeClashAndLapse, U"Include *Clash and *Lapse", false) |
| 1137 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (includeCodas, U"Include codas", false) |
| 1138 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1139 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1140 | CREATE_ONEcxx . . $ `sys/praatM.h:485:9`! |
| 1141 | autoOTMulticxx . . $ autoOTMulti# result = OTMulti_create_metricscxx . . $ OTMulti_create_metrics(958e3198317757e). (initialRanking, trochaicityConstraint, |
| 1142 | includeFootBimoraic, includeFootBisyllabic, includePeripheral, nonfinalityConstraint, |
| 1143 | overtFormsHaveSecondaryStress, includeClashAndLapse, includeCodas |
| 1144 | ); |
| 1145 | CREATE_ONE_ENDcxx . . $ `sys/praatM.h:486:9`! (kOTGrammar_createMetricsGrammar_initialRanking_getText (initialRanking)) |
| 1146 | } |
| 1147 | |
| 1148 | // MARK: Draw |
| 1149 | |
| 1150 | FORMcxx . . $ `sys/praatM.h:79:9`! (GRAPHICS_EACH__OTMulti_drawTableau, U"Draw tableau", U"OT learning") { |
| 1151 | SENTENCEcxx . . $ `sys/praatM.h:126:9`! (partialForm1, U"Partial form 1", U"") |
| 1152 | SENTENCEcxx . . $ `sys/praatM.h:126:9`! (partialForm2, U"Partial form 2", U"") |
| 1153 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (showDisharmonies, U"Show disharmonies", true) |
| 1154 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1155 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1156 | GRAPHICS_EACHcxx . . $ `sys/praatM.h:697:9`! (OTMulti) |
| 1157 | OTMulti_drawTableaucxx . . $ OTMulti_drawTableau(6da0ce92984dc4c7). (me, GRAPHICScxx . . $ `sys/praat.h:204:9`!, partialForm1, partialForm2, false, showDisharmonies); |
| 1158 | GRAPHICS_EACH_ENDcxx . . $ `sys/praatM.h:700:9`! |
| 1159 | } |
| 1160 | |
| 1161 | FORMcxx . . $ `sys/praatM.h:79:9`! (GRAPHICS_EACH__OTMulti_drawTableau_narrowly, U"Draw tableau (narrowly)", U"OT learning") { |
| 1162 | SENTENCEcxx . . $ `sys/praatM.h:126:9`! (partialForm1, U"Partial form 1", U"") |
| 1163 | SENTENCEcxx . . $ `sys/praatM.h:126:9`! (partialForm2, U"Partial form 2", U"") |
| 1164 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (showDisharmonies, U"Show disharmonies", true) |
| 1165 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1166 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1167 | GRAPHICS_EACHcxx . . $ `sys/praatM.h:697:9`! (OTMulti) |
| 1168 | OTMulti_drawTableaucxx . . $ OTMulti_drawTableau(6da0ce92984dc4c7). (me, GRAPHICScxx . . $ `sys/praat.h:204:9`!, partialForm1, partialForm2, true, showDisharmonies); |
| 1169 | GRAPHICS_EACH_ENDcxx . . $ `sys/praatM.h:700:9`! |
| 1170 | } |
| 1171 | |
| 1172 | // MARK: View & Edit |
| 1173 | |
| 1174 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (EDITOR_ONE__OTMulti_viewAndEdit) { |
| 1175 | EDITOR_ONEcxx . . $ `sys/praatM.h:1327:9`! (an,OTMulti) |
| 1176 | autoOTMultiEditorcxx . . $ autoOTMultiEditor# editor = OTMultiEditor_createcxx . . $ OTMultiEditor_create(3fdefbd777bc61a2). (ID_AND_FULL_NAMEcxx . . $ `sys/praat.h:207:9`!, me); |
| 1177 | EDITOR_ONE_ENDcxx . . $ `sys/praatM.h:1331:9`! |
| 1178 | } |
| 1179 | |
| 1180 | // MARK: Query |
| 1181 | |
| 1182 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (QUERY_ONE_FOR_INTEGER__OTMulti_getNumberOfConstraints) { |
| 1183 | QUERY_ONE_FOR_INTEGERcxx . . $ `sys/praatM.h:838:9`! (OTMulti) |
| 1184 | const integercxx . . $ integer# result = mycxx . . $ `melder/melder.h:44:9`! numberOfConstraintscxx . . $ structOTMulti#numberOfConstraints.; |
| 1185 | QUERY_ONE_FOR_INTEGER_ENDcxx . . $ `sys/praatM.h:840:9`! (U" constraints") |
| 1186 | } |
| 1187 | |
| 1188 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_STRING__OTMulti_getConstraint, U"Get constraint name", nullptr) { |
| 1189 | NATURALcxx . . $ `sys/praatM.h:120:9`! (constraintNumber, U"Constraint number", U"1") |
| 1190 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1191 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1192 | QUERY_ONE_FOR_STRINGcxx . . $ `sys/praatM.h:931:9`! (OTMulti) |
| 1193 | if (constraintNumber > mycxx . . $ `melder/melder.h:44:9`! numberOfConstraintscxx . . $ structOTMulti#numberOfConstraints.) |
| 1194 | Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"Your constraint number should not exceed the number of constraints."); |
| 1195 | const conststring32cxx . . $ conststring32# result = mycxx . . $ `melder/melder.h:44:9`! constraintscxx . . $ structOTMulti#constraints. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).constraintNumber]. namecxx . . $ structOTConstraint#name..getcxx . . $ _autostring#get(5a2a78a048fb49a8).(); |
| 1196 | QUERY_ONE_FOR_STRING_ENDcxx . . $ `sys/praatM.h:933:9`! |
| 1197 | } |
| 1198 | |
| 1199 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_INTEGER__OTMulti_getConstraintIndexFromName, U"OTMulti: Get constraint number", nullptr) { |
| 1200 | SENTENCEcxx . . $ `sys/praatM.h:126:9`! (constraintName, U"Constraint name", U"") |
| 1201 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1202 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1203 | QUERY_ONE_FOR_INTEGERcxx . . $ `sys/praatM.h:838:9`! (OTMulti) |
| 1204 | const integercxx . . $ integer# result = OTMulti_getConstraintIndexFromNamecxx . . $ OTMulti_getConstraintIndexFromName(71cea15ada5e2dac). (me, constraintName); |
| 1205 | QUERY_ONE_FOR_INTEGER_ENDcxx . . $ `sys/praatM.h:840:9`! (U" (index of constraint ", constraintName, U")") |
| 1206 | } |
| 1207 | |
| 1208 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__OTMulti_getRankingValue, U"Get ranking value", nullptr) { |
| 1209 | NATURALcxx . . $ `sys/praatM.h:120:9`! (constraintNumber, U"Constraint number", U"1") |
| 1210 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1211 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1212 | QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (OTMulti) |
| 1213 | if (constraintNumber > mycxx . . $ `melder/melder.h:44:9`! numberOfConstraintscxx . . $ structOTMulti#numberOfConstraints.) |
| 1214 | Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"Your constraint number should not exceed the number of constraints."); |
| 1215 | const double result = mycxx . . $ `melder/melder.h:44:9`! constraintscxx . . $ structOTMulti#constraints. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).constraintNumber]. rankingcxx . . $ structOTConstraint#ranking.; |
| 1216 | QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" (ranking of constraint ", constraintNumber, U")") |
| 1217 | } |
| 1218 | |
| 1219 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__OTMulti_getDisharmony, U"Get disharmony", nullptr) { |
| 1220 | NATURALcxx . . $ `sys/praatM.h:120:9`! (constraintNumber, U"Constraint number", U"1") |
| 1221 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1222 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1223 | QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (OTMulti) |
| 1224 | if (constraintNumber > mycxx . . $ `melder/melder.h:44:9`! numberOfConstraintscxx . . $ structOTMulti#numberOfConstraints.) |
| 1225 | Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"Your constraint number should not exceed the number of constraints."); |
| 1226 | const double result = mycxx . . $ `melder/melder.h:44:9`! constraintscxx . . $ structOTMulti#constraints. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).constraintNumber]. disharmonycxx . . $ structOTConstraint#disharmony.; |
| 1227 | QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" (disharmony of constraint ", constraintNumber, U")") |
| 1228 | } |
| 1229 | |
| 1230 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (QUERY_ONE_FOR_INTEGER__OTMulti_getNumberOfCandidates) { |
| 1231 | QUERY_ONE_FOR_INTEGERcxx . . $ `sys/praatM.h:838:9`! (OTMulti) |
| 1232 | integercxx . . $ integer# result = mycxx . . $ `melder/melder.h:44:9`! numberOfCandidatescxx . . $ structOTMulti#numberOfCandidates.; |
| 1233 | QUERY_ONE_FOR_INTEGER_ENDcxx . . $ `sys/praatM.h:840:9`! (U" candidates") |
| 1234 | } |
| 1235 | |
| 1236 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_STRING__OTMulti_getCandidate, U"Get candidate", nullptr) { |
| 1237 | NATURALcxx . . $ `sys/praatM.h:120:9`! (candidateNumber, U"Candidate number", U"1") |
| 1238 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1239 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1240 | QUERY_ONE_FOR_STRINGcxx . . $ `sys/praatM.h:931:9`! (OTMulti) |
| 1241 | if (candidateNumber > mycxx . . $ `melder/melder.h:44:9`! numberOfCandidatescxx . . $ structOTMulti#numberOfCandidates.) |
| 1242 | Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"Your candidate number should not exceed the number of candidates."); |
| 1243 | const conststring32cxx . . $ conststring32# result = mycxx . . $ `melder/melder.h:44:9`! candidatescxx . . $ structOTMulti#candidates. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).candidateNumber]. stringcxx . . $ structOTCandidate#string..getcxx . . $ _autostring#get(5a2a78a048fb49a8).(); |
| 1244 | QUERY_ONE_FOR_STRING_ENDcxx . . $ `sys/praatM.h:933:9`! |
| 1245 | } |
| 1246 | |
| 1247 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_INTEGER__OTMulti_getNumberOfViolations, U"Get number of violations", nullptr) { |
| 1248 | NATURALcxx . . $ `sys/praatM.h:120:9`! (candidateNumber, U"Candidate number", U"1") |
| 1249 | NATURALcxx . . $ `sys/praatM.h:120:9`! (constraintNumber, U"Constraint number", U"1") |
| 1250 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1251 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1252 | QUERY_ONE_FOR_INTEGERcxx . . $ `sys/praatM.h:838:9`! (OTMulti) |
| 1253 | if (candidateNumber > mycxx . . $ `melder/melder.h:44:9`! numberOfCandidatescxx . . $ structOTMulti#numberOfCandidates.) |
| 1254 | Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"Your candidate number should not exceed the number of candidates."); |
| 1255 | if (constraintNumber > mycxx . . $ `melder/melder.h:44:9`! numberOfConstraintscxx . . $ structOTMulti#numberOfConstraints.) |
| 1256 | Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"Your constraint number should not exceed the number of constraints."); |
| 1257 | const integercxx . . $ integer# result = mycxx . . $ `melder/melder.h:44:9`! candidatescxx . . $ structOTMulti#candidates. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).candidateNumber]. markscxx . . $ structOTCandidate#marks. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).constraintNumber]; |
| 1258 | QUERY_ONE_FOR_INTEGER_ENDcxx . . $ `sys/praatM.h:840:9`! (U" violations") |
| 1259 | } |
| 1260 | |
| 1261 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_INTEGER__OTMulti_getWinner, U"OTMulti: Get winner", nullptr) { |
| 1262 | SENTENCEcxx . . $ `sys/praatM.h:126:9`! (partialForm1, U"Partial form 1", U"") |
| 1263 | SENTENCEcxx . . $ `sys/praatM.h:126:9`! (partialForm2, U"Partial form 2", U"") |
| 1264 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1265 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1266 | QUERY_ONE_FOR_INTEGERcxx . . $ `sys/praatM.h:838:9`! (OTMulti) |
| 1267 | const integercxx . . $ integer# result = OTMulti_getWinnercxx . . $ OTMulti_getWinner(d0a56e89bef5a754). (me, partialForm1, partialForm2); |
| 1268 | QUERY_ONE_FOR_INTEGER_ENDcxx . . $ `sys/praatM.h:840:9`! (U" (winner)") |
| 1269 | } |
| 1270 | |
| 1271 | // MARK: Evaluate |
| 1272 | |
| 1273 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__OTMulti_evaluate, U"OTMulti: Evaluate", nullptr) { |
| 1274 | REALcxx . . $ `sys/praatM.h:92:9`! (evaluationNoise, U"Evaluation noise", U"2.0") |
| 1275 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1276 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1277 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (OTMulti) |
| 1278 | OTMulti_newDisharmoniescxx . . $ OTMulti_newDisharmonies(8663bcc155b161db). (me, evaluationNoise); |
| 1279 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 1280 | } |
| 1281 | |
| 1282 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_WEAK_FOR_STRING__OTMulti_generateOptimalForm, U"OTMulti: Generate optimal form", nullptr) { |
| 1283 | SENTENCEcxx . . $ `sys/praatM.h:126:9`! (partialForm1, U"Partial form 1", U"") |
| 1284 | SENTENCEcxx . . $ `sys/praatM.h:126:9`! (partialForm2, U"Partial form 2", U"") |
| 1285 | REALcxx . . $ `sys/praatM.h:92:9`! (evaluationNoise, U"Evaluation noise", U"2.0") |
| 1286 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1287 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1288 | QUERY_ONE_WEAK_FOR_STRINGcxx . . $ `sys/praatM.h:941:9`! (OTMulti) |
| 1289 | autostring32cxx . . $ autostring32# output = OTMulti_generateOptimalFormcxx . . $ OTMulti_generateOptimalForm(334bc7481588a192). (me, partialForm1, partialForm2, evaluationNoise); |
| 1290 | conststring32cxx . . $ conststring32# result = output.getcxx . . $ _autostring#get(5a2a78a048fb49a8).(); |
| 1291 | QUERY_ONE_WEAK_FOR_STRING_ENDcxx . . $ `sys/praatM.h:944:9`! |
| 1292 | } |
| 1293 | |
| 1294 | FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_WEAK_TO_ONE__OTMulti_generateOptimalForms, U"OTMulti: Generate optimal forms", nullptr) { |
| 1295 | SENTENCEcxx . . $ `sys/praatM.h:126:9`! (partialForm1, U"Partial form 1", U"") |
| 1296 | SENTENCEcxx . . $ `sys/praatM.h:126:9`! (partialForm2, U"Partial form 2", U"") |
| 1297 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfTrials, U"Number of trials", U"1000") |
| 1298 | REALcxx . . $ `sys/praatM.h:92:9`! (evaluationNoise, U"Evaluation noise", U"2.0") |
| 1299 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1300 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1301 | CONVERT_EACH_WEAK_TO_ONEcxx . . $ `sys/praatM.h:1126:9`! (OTMulti) |
| 1302 | autoStringscxx . . $ autoStrings# result = OTMulti_generateOptimalFormscxx . . $ OTMulti_generateOptimalForms(eddf49135c67c679). (me, partialForm1, partialForm2, |
| 1303 | numberOfTrials, evaluationNoise); |
| 1304 | CONVERT_EACH_WEAK_TO_ONE_ENDcxx . . $ `sys/praatM.h:1129:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_out") |
| 1305 | } |
| 1306 | |
| 1307 | FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_WEAK_TO_ONE__OTMulti_to_Distribution, U"OTMulti: Compute output distribution", nullptr) { |
| 1308 | SENTENCEcxx . . $ `sys/praatM.h:126:9`! (partialForm1, U"Partial form 1", U"") |
| 1309 | SENTENCEcxx . . $ `sys/praatM.h:126:9`! (partialForm2, U"Partial form 2", U"") |
| 1310 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfTrials, U"Number of trials", U"100000") |
| 1311 | REALcxx . . $ `sys/praatM.h:92:9`! (evaluationNoise, U"Evaluation noise", U"2.0") |
| 1312 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1313 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1314 | CONVERT_EACH_WEAK_TO_ONEcxx . . $ `sys/praatM.h:1126:9`! (OTMulti) |
| 1315 | autoDistributionscxx . . $ autoDistributions# result = OTMulti_to_Distributioncxx . . $ OTMulti_to_Distribution(10993a2b6c47e40c). (me, partialForm1, partialForm2, |
| 1316 | numberOfTrials, evaluationNoise); |
| 1317 | CONVERT_EACH_WEAK_TO_ONE_ENDcxx . . $ `sys/praatM.h:1129:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_out") |
| 1318 | } |
| 1319 | |
| 1320 | // MARK: Modify ranking |
| 1321 | |
| 1322 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__OTMulti_setRanking, U"OTMulti: Set ranking", nullptr) { |
| 1323 | NATURALcxx . . $ `sys/praatM.h:120:9`! (constraint, U"Constraint", U"1") |
| 1324 | REALcxx . . $ `sys/praatM.h:92:9`! (ranking, U"Ranking", U"100.0") |
| 1325 | REALcxx . . $ `sys/praatM.h:92:9`! (disharmony, U"Disharmony", U"100.0") |
| 1326 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1327 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1328 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (OTMulti) |
| 1329 | OTMulti_setRankingcxx . . $ OTMulti_setRanking(92fa69f80755f0da). (me, constraint, ranking, disharmony); |
| 1330 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 1331 | } |
| 1332 | |
| 1333 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__OTMulti_resetAllRankings, U"OTMulti: Reset all rankings", nullptr) { |
| 1334 | REALcxx . . $ `sys/praatM.h:92:9`! (ranking, U"Ranking", U"100.0") |
| 1335 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1336 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1337 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (OTMulti) |
| 1338 | OTMulti_resetcxx . . $ OTMulti_reset(8663bcc155b161db). (me, ranking); |
| 1339 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 1340 | } |
| 1341 | |
| 1342 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH_WEAK__OTMulti_learnOne, U"OTMulti: Learn one", nullptr) { |
| 1343 | SENTENCEcxx . . $ `sys/praatM.h:126:9`! (partialForm1, U"Partial form 1", U"") |
| 1344 | SENTENCEcxx . . $ `sys/praatM.h:126:9`! (partialForm2, U"Partial form 2", U"") |
| 1345 | OPTIONMENU_ENUMcxx . . $ `sys/praatM.h:262:9`! (kOTGrammar_rerankingStrategy, updateRule, |
| 1346 | U"Update rule", kOTGrammar_rerankingStrategy::SYMMETRIC_ALL) |
| 1347 | OPTIONMENUcxx . . $ `sys/praatM.h:231:9`! (direction, U"Direction", 3) |
| 1348 | OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"forward") |
| 1349 | OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"backward") |
| 1350 | OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"bidirectionally") |
| 1351 | POSITIVEcxx . . $ `sys/praatM.h:104:9`! (plasticity, U"Plasticity", U"0.1") |
| 1352 | REALcxx . . $ `sys/praatM.h:92:9`! (relativePlasticitySpreading, U"Rel. plasticity spreading", U"0.1") |
| 1353 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1354 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1355 | MODIFY_EACH_WEAKcxx . . $ `sys/praatM.h:1025:9`! (OTMulti) |
| 1356 | OTMulti_learnOnecxx . . $ OTMulti_learnOne(359a3fa70914d01b). (me, partialForm1, partialForm2, updateRule, |
| 1357 | direction, plasticity, relativePlasticitySpreading); |
| 1358 | MODIFY_EACH_WEAK_ENDcxx . . $ `sys/praatM.h:1028:9`! |
| 1359 | } |
| 1360 | |
| 1361 | // MARK: Modify behaviour |
| 1362 | |
| 1363 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__OTMulti_setDecisionStrategy, U"OTMulti: Set decision strategy", nullptr) { |
| 1364 | CHOICE_ENUMcxx . . $ `sys/praatM.h:249:9`! (kOTGrammar_decisionStrategy, decisionStrategy, |
| 1365 | U"Decision strategy", kOTGrammar_decisionStrategy::DEFAULT) |
| 1366 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1367 | FIND_ONEcxx . . $ `sys/praatM.h:490:9`! (OTMulti) |
| 1368 | SET_ENUMcxx . . $ `sys/praatM.h:347:9`! (decisionStrategy, kOTGrammar_decisionStrategy, mycxx . . $ `melder/melder.h:44:9`! decisionStrategy); |
| 1369 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1370 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (OTMulti) |
| 1371 | mycxx . . $ `melder/melder.h:44:9`! decisionStrategycxx . . $ structOTMulti#decisionStrategy. = decisionStrategy; |
| 1372 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 1373 | } |
| 1374 | |
| 1375 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__OTMulti_setLeak, U"OTGrammar: Set leak", nullptr) { |
| 1376 | REALcxx . . $ `sys/praatM.h:92:9`! (leak, U"Leak", U"0.0") |
| 1377 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1378 | FIND_ONEcxx . . $ `sys/praatM.h:490:9`! (OTMulti) |
| 1379 | SET_REALcxx . . $ `sys/praatM.h:332:9`! (leak, mycxx . . $ `melder/melder.h:44:9`! leak) |
| 1380 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1381 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (OTMulti) |
| 1382 | mycxx . . $ `melder/melder.h:44:9`! leakcxx . . $ structOTMulti#leak. = leak; |
| 1383 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 1384 | } |
| 1385 | |
| 1386 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__OTMulti_setConstraintPlasticity, U"OTMulti: Set constraint plasticity", nullptr) { |
| 1387 | NATURALcxx . . $ `sys/praatM.h:120:9`! (constraintNumber, U"Constraint number", U"1") |
| 1388 | REALcxx . . $ `sys/praatM.h:92:9`! (plasticity, U"Plasticity", U"1.0") |
| 1389 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1390 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1391 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (OTMulti) |
| 1392 | OTMulti_setConstraintPlasticitycxx . . $ OTMulti_setConstraintPlasticity(c3b8207962d96f28). (me, constraintNumber, plasticity); |
| 1393 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 1394 | } |
| 1395 | |
| 1396 | // MARK: Modify structure |
| 1397 | |
| 1398 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__OTMulti_removeConstraint, U"OTMulti: Remove constraint", nullptr) { |
| 1399 | SENTENCEcxx . . $ `sys/praatM.h:126:9`! (constraintName, U"Constraint name", U"") |
| 1400 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1401 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1402 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (OTMulti) |
| 1403 | OTMulti_removeConstraintcxx . . $ OTMulti_removeConstraint(53c7497ad62bed0). (me, constraintName); |
| 1404 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 1405 | } |
| 1406 | |
| 1407 | // MARK: OTMULTI & PAIRDISTRIBUTION |
| 1408 | |
| 1409 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_FIRST_OF_ONE_WEAK_AND_ONE_WITH_HISTORY__OTMulti_PairDistribution_learn, U"OTMulti & PairDistribution: Learn", nullptr) { |
| 1410 | REALcxx . . $ `sys/praatM.h:92:9`! (evaluationNoise, U"Evaluation noise", U"2.0") |
| 1411 | OPTIONMENU_ENUMcxx . . $ `sys/praatM.h:262:9`! (kOTGrammar_rerankingStrategy, updateRule, |
| 1412 | U"Update rule", kOTGrammar_rerankingStrategy::SYMMETRIC_ALL) |
| 1413 | OPTIONMENUcxx . . $ `sys/praatM.h:231:9`! (direction, U"Direction", 3) |
| 1414 | OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"forward") |
| 1415 | OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"backward") |
| 1416 | OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"bidirectionally") |
| 1417 | POSITIVEcxx . . $ `sys/praatM.h:104:9`! (initialPlasticity, U"Initial plasticity", U"1.0") |
| 1418 | NATURALcxx . . $ `sys/praatM.h:120:9`! (replicationsPerPlasticity, U"Replications per plasticity", U"100000") |
| 1419 | REALcxx . . $ `sys/praatM.h:92:9`! (plasticityDecrement, U"Plasticity decrement", U"0.1") |
| 1420 | NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfPlasticities, U"Number of plasticities", U"4") |
| 1421 | REALcxx . . $ `sys/praatM.h:92:9`! (relativePlasticitySpreading, U"Rel. plasticity spreading", U"0.1") |
| 1422 | INTEGERcxx . . $ `sys/praatM.h:108:9`! (storeHistoryEvery, U"Store history every", U"0") |
| 1423 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1424 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1425 | MODIFY_FIRST_OF_ONE_WEAK_AND_ONE_WITH_HISTORYcxx . . $ `sys/praatM.h:1055:9`! (OTMulti, PairDistribution, Table) |
| 1426 | OTMulti_PairDistribution_learncxx . . $ OTMulti_PairDistribution_learn(cf6b7e47a2952806). (me, you, evaluationNoise, |
| 1427 | updateRule, direction, |
| 1428 | initialPlasticity, replicationsPerPlasticity, plasticityDecrement, numberOfPlasticities, |
| 1429 | relativePlasticitySpreading, storeHistoryEvery, & history |
| 1430 | ); |
| 1431 | MODIFY_FIRST_OF_ONE_WEAK_AND_ONE_WITH_HISTORY_ENDcxx . . $ `sys/praatM.h:1059:9`! |
| 1432 | } |
| 1433 | |
| 1434 | // MARK: OTMULTI & STRINGS |
| 1435 | |
| 1436 | FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_ONE_WEAK_AND_ONE_TO_ONE__OTMulti_Strings_generateOptimalForms, U"OTGrammar: Inputs to outputs", U"OTGrammar: Inputs to outputs...") { |
| 1437 | REALcxx . . $ `sys/praatM.h:92:9`! (evaluationNoise, U"Evaluation noise", U"2.0") |
| 1438 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1439 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1440 | CONVERT_ONE_WEAK_AND_ONE_TO_ONEcxx . . $ `sys/praatM.h:1177:9`! (OTMulti, Strings) |
| 1441 | autoStringscxx . . $ autoStrings# result = OTMulti_Strings_generateOptimalFormscxx . . $ OTMulti_Strings_generateOptimalForms(70a9d7a2ed2d09d6). (me, you, evaluationNoise); |
| 1442 | CONVERT_ONE_WEAK_AND_ONE_TO_ONE_ENDcxx . . $ `sys/praatM.h:1180:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_out") |
| 1443 | } |
| 1444 | |
| 1445 | // MARK: - NET |
| 1446 | |
| 1447 | // MARK: New |
| 1448 | |
| 1449 | FORMcxx . . $ `sys/praatM.h:79:9`! (CREATE_ONE__CreateNetAsDeepBeliefNetwork, U"Create Net as DeepBeliefNetwork", nullptr) { |
| 1450 | WORDcxx . . $ `sys/praatM.h:122:9`! (name, U"Name", U"network") |
| 1451 | NATURALVECTORcxx . . $ `sys/praatM.h:190:9`! (numbersOfNodes, U"Numbers of nodes", WHITESPACE_SEPARATED_, U"30 50 20") |
| 1452 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (inputsAreBinary, U"Inputs are binary", false) |
| 1453 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1454 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1455 | CREATE_ONEcxx . . $ `sys/praatM.h:485:9`! |
| 1456 | autoNetcxx . . $ autoNet# result = Net_createAsDeepBeliefNetcxx . . $ Net_createAsDeepBeliefNet(8acab0b79241e3a2). (numbersOfNodescxx . . $ constvectorview#constvectorview(fc39adb4395e9baf)., inputsAreBinary); |
| 1457 | CREATE_ONE_ENDcxx . . $ `sys/praatM.h:486:9`! (name) |
| 1458 | } |
| 1459 | |
| 1460 | // MARK: Modify |
| 1461 | |
| 1462 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__Net_spreadUp, U"Net: Spread up", nullptr) { |
| 1463 | CHOICE_ENUMcxx . . $ `sys/praatM.h:249:9`! (kLayer_activationType, activationType, |
| 1464 | U"Activation type", kLayer_activationType::STOCHASTIC) |
| 1465 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1466 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1467 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Net) |
| 1468 | Net_spreadUpcxx . . $ Net_spreadUp(f522b14aca4c9a92). (me, activationType); |
| 1469 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 1470 | } |
| 1471 | |
| 1472 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__Net_spreadDown, U"Net: Spread down", nullptr) { |
| 1473 | CHOICE_ENUMcxx . . $ `sys/praatM.h:249:9`! (kLayer_activationType, activationType, |
| 1474 | U"Activation type", kLayer_activationType::DETERMINISTIC) |
| 1475 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1476 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1477 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Net) |
| 1478 | Net_spreadDowncxx . . $ Net_spreadDown(f522b14aca4c9a92). (me, activationType); |
| 1479 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 1480 | } |
| 1481 | |
| 1482 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (MODIFY_EACH__Net_spreadUp_reconstruction) { |
| 1483 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Net) |
| 1484 | Net_spreadUp_reconstructioncxx . . $ Net_spreadUp_reconstruction(d673124f54d4ba0a). (me); |
| 1485 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 1486 | } |
| 1487 | |
| 1488 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (MODIFY_EACH__Net_spreadDown_reconstruction) { |
| 1489 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Net) |
| 1490 | Net_spreadDown_reconstructioncxx . . $ Net_spreadDown_reconstruction(d673124f54d4ba0a). (me); |
| 1491 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 1492 | } |
| 1493 | |
| 1494 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (MODIFY_EACH__Net_sampleInput) { |
| 1495 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Net) |
| 1496 | Net_sampleInputcxx . . $ Net_sampleInput(d673124f54d4ba0a). (me); |
| 1497 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 1498 | } |
| 1499 | |
| 1500 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (MODIFY_EACH__Net_sampleOutput) { |
| 1501 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Net) |
| 1502 | Net_sampleOutputcxx . . $ Net_sampleOutput(d673124f54d4ba0a). (me); |
| 1503 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 1504 | } |
| 1505 | |
| 1506 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_EACH__Net_update, U"Net: Update", nullptr) { |
| 1507 | POSITIVEcxx . . $ `sys/praatM.h:104:9`! (learningRate, U"Learning rate", U"0.001") |
| 1508 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1509 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1510 | MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Net) |
| 1511 | Net_updatecxx . . $ Net_update(930c30725813f50d). (me, learningRate); |
| 1512 | MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! |
| 1513 | } |
| 1514 | |
| 1515 | // MARK: Extract |
| 1516 | |
| 1517 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_EACH_TO_ONE__Net_extractInputActivities) { |
| 1518 | CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Net) |
| 1519 | autoMatrixcxx . . $ autoMatrix# result = Net_extractInputActivitiescxx . . $ Net_extractInputActivities(9bf953d307cd1cbb). (me); |
| 1520 | CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_inputActivities") |
| 1521 | } |
| 1522 | |
| 1523 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_EACH_TO_ONE__Net_extractOutputActivities) { |
| 1524 | CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Net) |
| 1525 | autoMatrixcxx . . $ autoMatrix# result = Net_extractOutputActivitiescxx . . $ Net_extractOutputActivities(9bf953d307cd1cbb). (me); |
| 1526 | CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_outputActivities") |
| 1527 | } |
| 1528 | |
| 1529 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_EACH_TO_ONE__Net_extractInputReconstruction) { |
| 1530 | CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Net) |
| 1531 | autoMatrixcxx . . $ autoMatrix# result = Net_extractInputReconstructioncxx . . $ Net_extractInputReconstruction(9bf953d307cd1cbb). (me); |
| 1532 | CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_inputReconstruction") |
| 1533 | } |
| 1534 | |
| 1535 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_EACH_TO_ONE__Net_extractOutputReconstruction) { |
| 1536 | CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Net) |
| 1537 | autoMatrixcxx . . $ autoMatrix# result = Net_extractOutputReconstructioncxx . . $ Net_extractOutputReconstruction(9bf953d307cd1cbb). (me); |
| 1538 | CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_outputReconstruction") |
| 1539 | } |
| 1540 | |
| 1541 | FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Net_extractInputBiases, U"Net: Extract input biases", nullptr) { |
| 1542 | NATURALcxx . . $ `sys/praatM.h:120:9`! (layerNumber, U"Layer number", U"1") |
| 1543 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1544 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1545 | CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Net) |
| 1546 | autoMatrixcxx . . $ autoMatrix# result = Net_extractInputBiasescxx . . $ Net_extractInputBiases(ae3d6684d3faaa72). (me, layerNumber); |
| 1547 | CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_inputBiases") |
| 1548 | } |
| 1549 | |
| 1550 | FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Net_extractOutputBiases, U"Net: Extract output biases", nullptr) { |
| 1551 | NATURALcxx . . $ `sys/praatM.h:120:9`! (layerNumber, U"Layer number", U"1") |
| 1552 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1553 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1554 | CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Net) |
| 1555 | autoMatrixcxx . . $ autoMatrix# result = Net_extractOutputBiasescxx . . $ Net_extractOutputBiases(ae3d6684d3faaa72). (me, layerNumber); |
| 1556 | CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_outputBiases") |
| 1557 | } |
| 1558 | |
| 1559 | FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Net_extractWeights, U"Net: Extract weights", nullptr) { |
| 1560 | NATURALcxx . . $ `sys/praatM.h:120:9`! (layerNumber, U"Layer number", U"1") |
| 1561 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1562 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1563 | CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Net) |
| 1564 | autoMatrixcxx . . $ autoMatrix# result = Net_extractWeightscxx . . $ Net_extractWeights(ae3d6684d3faaa72). (me, layerNumber); |
| 1565 | CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_weights") |
| 1566 | } |
| 1567 | |
| 1568 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_MATRIX__Net_getWeights, U"Net: Get weigths", nullptr) { |
| 1569 | NATURALcxx . . $ `sys/praatM.h:120:9`! (layerNumber, U"Layer number", U"1") |
| 1570 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1571 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1572 | QUERY_ONE_FOR_MATRIXcxx . . $ `sys/praatM.h:957:9`! (Net) |
| 1573 | autoMATcxx . . $ autoMAT# result = Net_getWeightscxx . . $ Net_getWeights(142f2782cf08a8d1). (me, layerNumber); |
| 1574 | QUERY_ONE_FOR_MATRIX_ENDcxx . . $ `sys/praatM.h:959:9`! |
| 1575 | } |
| 1576 | |
| 1577 | // MARK: - NET & PATTERN |
| 1578 | |
| 1579 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_FIRST_OF_ONE_AND_ONE__Net_PatternList_applyToInput, U"Net & PatternList: Apply to input", nullptr) { |
| 1580 | NATURALcxx . . $ `sys/praatM.h:120:9`! (rowNumber, U"Row number", U"1") |
| 1581 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1582 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1583 | MODIFY_FIRST_OF_ONE_AND_ONEcxx . . $ `sys/praatM.h:1041:9`! (Net, PatternList) |
| 1584 | Net_PatternList_applyToInputcxx . . $ Net_PatternList_applyToInput(2f212a4657f7e591). (me, you, rowNumber); |
| 1585 | MODIFY_FIRST_OF_ONE_AND_ONE_ENDcxx . . $ `sys/praatM.h:1044:9`! |
| 1586 | } |
| 1587 | |
| 1588 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_FIRST_OF_ONE_AND_ONE__Net_PatternList_applyToOutput, U"Net & PatternList: Apply to output", nullptr) { |
| 1589 | NATURALcxx . . $ `sys/praatM.h:120:9`! (rowNumber, U"Row number", U"1") |
| 1590 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1591 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1592 | MODIFY_FIRST_OF_ONE_AND_ONEcxx . . $ `sys/praatM.h:1041:9`! (Net, PatternList) |
| 1593 | Net_PatternList_applyToOutputcxx . . $ Net_PatternList_applyToOutput(2f212a4657f7e591). (me, you, rowNumber); |
| 1594 | MODIFY_FIRST_OF_ONE_AND_ONE_ENDcxx . . $ `sys/praatM.h:1044:9`! |
| 1595 | } |
| 1596 | |
| 1597 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_FIRST_OF_ONE_AND_ONE__Net_PatternList_learn, U"Net & PatternList: Learn", nullptr) { |
| 1598 | POSITIVEcxx . . $ `sys/praatM.h:104:9`! (learningRate, U"Learning rate", U"0.001") |
| 1599 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1600 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1601 | MODIFY_FIRST_OF_ONE_AND_ONEcxx . . $ `sys/praatM.h:1041:9`! (Net, PatternList) |
| 1602 | Net_PatternList_learncxx . . $ Net_PatternList_learn(1fa6dbf5f0870f0b). (me, you, learningRate); |
| 1603 | MODIFY_FIRST_OF_ONE_AND_ONE_ENDcxx . . $ `sys/praatM.h:1044:9`! |
| 1604 | } |
| 1605 | |
| 1606 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_FIRST_OF_ONE_AND_ONE__Net_PatternList_learnByLayer, U"Net & PatternList: Learn by layer", nullptr) { |
| 1607 | POSITIVEcxx . . $ `sys/praatM.h:104:9`! (learningRate, U"Learning rate", U"0.001") |
| 1608 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1609 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1610 | MODIFY_FIRST_OF_ONE_AND_ONEcxx . . $ `sys/praatM.h:1041:9`! (Net, PatternList) |
| 1611 | Net_PatternList_learnByLayercxx . . $ Net_PatternList_learnByLayer(1fa6dbf5f0870f0b). (me, you, learningRate); |
| 1612 | MODIFY_FIRST_OF_ONE_AND_ONE_ENDcxx . . $ `sys/praatM.h:1044:9`! |
| 1613 | } |
| 1614 | |
| 1615 | FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_FIRST_OF_ONE_AND_ONE__Net_PatternList_learn_twoPhases, U"Net & PatternList: Learn (two phases)", nullptr) { |
| 1616 | POSITIVEcxx . . $ `sys/praatM.h:104:9`! (learningRate, U"Learning rate", U"0.001") |
| 1617 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1618 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1619 | MODIFY_FIRST_OF_ONE_AND_ONEcxx . . $ `sys/praatM.h:1041:9`! (Net, PatternList) |
| 1620 | Net_PatternList_learn_twoPhasescxx . . $ Net_PatternList_learn_twoPhases(1fa6dbf5f0870f0b). (me, you, learningRate); |
| 1621 | MODIFY_FIRST_OF_ONE_AND_ONE_ENDcxx . . $ `sys/praatM.h:1044:9`! |
| 1622 | } |
| 1623 | |
| 1624 | FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_ONE_AND_ONE_TO_ONE__Net_PatternList_to_ActivationList, U"Net & PatternList: To ActivationList", nullptr) { |
| 1625 | CHOICE_ENUMcxx . . $ `sys/praatM.h:249:9`! (kLayer_activationType, activationType, |
| 1626 | U"Activation type", kLayer_activationType::DETERMINISTIC) |
| 1627 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1628 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1629 | CONVERT_ONE_AND_ONE_TO_ONEcxx . . $ `sys/praatM.h:1165:9`! (Net, PatternList) |
| 1630 | autoActivationListcxx . . $ autoActivationList# result = Net_PatternList_to_ActivationListcxx . . $ Net_PatternList_to_ActivationList(398af02ba3f8e9d3). (me, you, activationType); |
| 1631 | 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()) |
| 1632 | } |
| 1633 | |
| 1634 | // MARK: - NOULLIGRID |
| 1635 | |
| 1636 | // MARK: View & Edit |
| 1637 | |
| 1638 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (EDITOR_ONE_WITH_ONE__NoulliGrid_viewAndEdit) { |
| 1639 | EDITOR_ONE_WITH_ONEcxx . . $ `sys/praatM.h:1334:9`! (a,NoulliGrid, Sound) // Sound may be null |
| 1640 | autoNoulliGridEditorcxx . . $ autoNoulliGridEditor# editor = NoulliGridEditor_createcxx . . $ NoulliGridEditor_create(c25aafa314ca770b). (ID_AND_FULL_NAMEcxx . . $ `sys/praat.h:207:9`!, me, you); |
| 1641 | EDITOR_ONE_WITH_ONE_ENDcxx . . $ `sys/praatM.h:1338:9`! |
| 1642 | } |
| 1643 | |
| 1644 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL_VECTOR__NoulliGrid_getAverageProbabilities, U"NoulliGrid: Get average probabilities", nullptr) { |
| 1645 | NATURALcxx . . $ `sys/praatM.h:120:9`! (tierNumber, U"Tier number", U"1") |
| 1646 | REALcxx . . $ `sys/praatM.h:92:9`! (fromTime, U"From time (s)", U"0") |
| 1647 | REALcxx . . $ `sys/praatM.h:92:9`! (toTime, U"To time (s)", U"10.0") |
| 1648 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1649 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1650 | QUERY_ONE_FOR_REAL_VECTORcxx . . $ `sys/praatM.h:947:9`! (NoulliGrid) |
| 1651 | autoVECcxx . . $ autoVEC# result = NoulliGrid_getAverageProbabilitiescxx . . $ NoulliGrid_getAverageProbabilities(80aa975bde4cea04). (me, tierNumber, fromTime, toTime); |
| 1652 | QUERY_ONE_FOR_REAL_VECTOR_ENDcxx . . $ `sys/praatM.h:949:9`! |
| 1653 | } |
| 1654 | |
| 1655 | FORMcxx . . $ `sys/praatM.h:79:9`! (GRAPHICS_NoulliGrid_paint, U"NoulliGrid: Paint", U"NoulliGrid: Paint...") { |
| 1656 | praat_TimeFunction_RANGEcxx . . $ `fon/praat_TimeFunction.h:31:9`! (fromTime, toTime) |
| 1657 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (garnish, U"Garnish", 1) |
| 1658 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1659 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1660 | GRAPHICS_EACHcxx . . $ `sys/praatM.h:697:9`! (NoulliGrid) |
| 1661 | NoulliGrid_paintcxx . . $ NoulliGrid_paint(a524d22acd509ed9). (me, GRAPHICScxx . . $ `sys/praat.h:204:9`!, fromTime, toTime, garnish); |
| 1662 | GRAPHICS_EACH_ENDcxx . . $ `sys/praatM.h:700:9`! |
| 1663 | } |
| 1664 | |
| 1665 | // MARK: - CUBEGRID |
| 1666 | |
| 1667 | // MARK: View & Edit |
| 1668 | |
| 1669 | DIRECTcxx . . $ `sys/praatM.h:412:9`! (EDITOR_ONE_WITH_ONE__CubeGrid_viewAndEdit) { |
| 1670 | EDITOR_ONE_WITH_ONEcxx . . $ `sys/praatM.h:1334:9`! (a,CubeGrid, Sound) // Sound may be null |
| 1671 | autoCubeGridEditorcxx . . $ autoCubeGridEditor# editor = CubeGridEditor_createcxx . . $ CubeGridEditor_create(dbad0b4e43ce1320). (ID_AND_FULL_NAMEcxx . . $ `sys/praat.h:207:9`!, me, you); |
| 1672 | EDITOR_ONE_WITH_ONE_ENDcxx . . $ `sys/praatM.h:1338:9`! |
| 1673 | } |
| 1674 | |
| 1675 | FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL_VECTOR__CubeGrid_getAverage, U"CubeGrid: Get average", nullptr) { |
| 1676 | NATURALcxx . . $ `sys/praatM.h:120:9`! (tierNumber, U"Tier number", U"1") |
| 1677 | REALcxx . . $ `sys/praatM.h:92:9`! (fromTime, U"From time (s)", U"0") |
| 1678 | REALcxx . . $ `sys/praatM.h:92:9`! (toTime, U"To time (s)", U"10.0") |
| 1679 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1680 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1681 | QUERY_ONE_FOR_REAL_VECTORcxx . . $ `sys/praatM.h:947:9`! (CubeGrid) |
| 1682 | autoVECcxx . . $ autoVEC# result = CubeGrid_getAveragescxx . . $ CubeGrid_getAverages(adf2cb2d84513c0b). (me, tierNumber, fromTime, toTime); |
| 1683 | QUERY_ONE_FOR_REAL_VECTOR_ENDcxx . . $ `sys/praatM.h:949:9`! |
| 1684 | } |
| 1685 | |
| 1686 | FORMcxx . . $ `sys/praatM.h:79:9`! (GRAPHICS_CubeGrid_paint, U"CubeGrid: Paint", U"CubeGrid: Paint...") { |
| 1687 | praat_TimeFunction_RANGEcxx . . $ `fon/praat_TimeFunction.h:31:9`! (fromTime, toTime) |
| 1688 | BOOLEANcxx . . $ `sys/praatM.h:130:9`! (garnish, U"Garnish", 1) |
| 1689 | OKcxx . . $ `sys/praatM.h:327:9`! |
| 1690 | DOcxx . . $ `sys/praatM.h:354:9`! |
| 1691 | GRAPHICS_EACHcxx . . $ `sys/praatM.h:697:9`! (CubeGrid) |
| 1692 | CubeGrid_paintcxx . . $ CubeGrid_paint(50679656f0477d). (me, GRAPHICScxx . . $ `sys/praat.h:204:9`!, fromTime, toTime, garnish); |
| 1693 | GRAPHICS_EACH_ENDcxx . . $ `sys/praatM.h:700:9`! |
| 1694 | } |
| 1695 | |
| 1696 | // MARK: - buttons |
| 1697 | |
| 1698 | void praat_uvafon_gram_initcxx . . $ praat_uvafon_gram_init(49f6e7a06ebc5aa8). (); |
| 1699 | void praat_uvafon_gram_initcxx . . $ praat_uvafon_gram_init(49f6e7a06ebc5aa8). () { |
| 1700 | Thing_recognizeClassesByNamecxx . . $ Thing_recognizeClassesByName(f327490b5edb0dcb). (classNetworkcxx . . $ classNetwork., |
| 1701 | classOTGrammarcxx . . $ classOTGrammar., classOTHistorycxx . . $ classOTHistory., classOTMulticxx . . $ classOTMulti., |
| 1702 | classRBMLayercxx . . $ classRBMLayer., classFullyConnectedLayercxx . . $ classFullyConnectedLayer., classNetcxx . . $ classNet., |
| 1703 | classNoulliTiercxx . . $ classNoulliTier., classNoulliGridcxx . . $ classNoulliGrid., classCubeGridcxx . . $ classCubeGrid. |
| 1704 | ); |
| 1705 | Thing_recognizeClassByOtherNamecxx . . $ Thing_recognizeClassByOtherName(cb82456e35792de1). (classOTGrammarcxx . . $ classOTGrammar., U"OTCase"); |
| 1706 | |
| 1707 | structNoulliGridEditorcxx . . $ structNoulliGridEditor# :: f_preferencescxx . . $ structNoulliGridEditor#f_preferences(49f6e7a06ebc5aa8). (); |
| 1708 | structCubeGridEditorcxx . . $ structCubeGridEditor# :: f_preferencescxx . . $ structCubeGridEditor#f_preferences(49f6e7a06ebc5aa8). (); |
| 1709 | |
| 1710 | praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"Constraint grammars", nullptr, 0, nullptr); |
| 1711 | praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"OT learning tutorial", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_NO_APIcxx . . $ `sys/Gui.h:871:9`!, |
| 1712 | HELP__OT_learning_tutorial); |
| 1713 | praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"-- tableau grammars --", nullptr, 1, nullptr); |
| 1714 | praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"Create NoCoda grammar", nullptr, 1, |
| 1715 | CREATE_ONE__Create_NoCoda_grammar); |
| 1716 | praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"Create place assimilation grammar", nullptr, 1, |
| 1717 | CREATE_ONE__Create_NPA_grammar); |
| 1718 | praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"Create place assimilation distribution", nullptr, 1, |
| 1719 | CREATE_ONE__Create_NPA_distribution); |
| 1720 | praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"Create tongue-root grammar...", nullptr, 1, |
| 1721 | CREATE_ONE__Create_tongue_root_grammar); |
| 1722 | praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"Create metrics grammar...", nullptr, 1, |
| 1723 | CREATE_ONE__Create_metrics_grammar); |
| 1724 | praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"Create multi-level metrics grammar...", nullptr, 1, |
| 1725 | CREATE_ONE__Create_multi_level_metrics_grammar); |
| 1726 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 1, U"Save as headerless spreadsheet file... || Write to headerless spreadsheet file...", nullptr, 0, |
| 1727 | SAVE_ONE__OTGrammar_writeToHeaderlessSpreadsheetFile); // alternative COMPATIBILITY <= 2011 |
| 1728 | |
| 1729 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 0, U"OTGrammar help", nullptr, 0, |
| 1730 | HELP__OTGrammar_help); |
| 1731 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 0, U"View & Edit || Edit", nullptr, GuiMenu_ATTRACTIVEcxx . . $ `sys/Gui.h:855:9`!, |
| 1732 | EDITOR_ONE__OTGrammar_viewAndEdit); |
| 1733 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 0, U"Draw", nullptr, 0, nullptr); |
| 1734 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 0, U"Draw tableau...", nullptr, 0, |
| 1735 | GRAPHICS_EACH__OTGrammar_drawTableau); |
| 1736 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 0, U"Draw tableau (narrowly)...", nullptr, 0, |
| 1737 | GRAPHICS_EACH__OTGrammar_drawTableau_narrowly); |
| 1738 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 0, U"Query -", nullptr, 0, nullptr); |
| 1739 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 1, U"Get number of constraints", nullptr, 1, |
| 1740 | QUERY_ONE_FOR_INTEGER__OTGrammar_getNumberOfConstraints); |
| 1741 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 1, U"Get constraint...", nullptr, 1, |
| 1742 | QUERY_ONE_FOR_STRING__OTGrammar_getConstraint); |
| 1743 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 1, U"Get ranking value...", nullptr, 1, |
| 1744 | QUERY_ONE_FOR_REAL__OTGrammar_getRankingValue); |
| 1745 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 1, U"Get disharmony...", nullptr, 1, |
| 1746 | QUERY_ONE_FOR_REAL__OTGrammar_getDisharmony); |
| 1747 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 1, U"Get number of tableaus", nullptr, 1, |
| 1748 | QUERY_ONE_FOR_INTEGER__OTGrammar_getNumberOfTableaus); |
| 1749 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 1, U"Get input...", nullptr, 1, |
| 1750 | QUERY_ONE_FOR_STRING__OTGrammar_getInput); |
| 1751 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 1, U"Get number of candidates...", nullptr, 1, |
| 1752 | QUERY_ONE_FOR_INTEGER__OTGrammar_getNumberOfCandidates); |
| 1753 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 1, U"Get candidate...", nullptr, 1, |
| 1754 | QUERY_ONE_FOR_STRING__OTGrammar_getCandidate); |
| 1755 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 1, U"Get number of violations...", nullptr, 1, |
| 1756 | QUERY_ONE_FOR_INTEGER__OTGrammar_getNumberOfViolations); |
| 1757 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 1, U"Are all outputs distinguishable?", nullptr, 1, |
| 1758 | QUERY_ONE_FOR_BOOLEAN__OTGrammar_areAllOutputsDistinguishable); |
| 1759 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 1, U"Tabulate equivalent pairs", nullptr, 1, |
| 1760 | CONVERT_EACH_TO_ONE_OTGrammar_tabulateEquivalentPairs); |
| 1761 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 1, U"-- parse --", nullptr, 1, nullptr); |
| 1762 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 1, U"Get winner...", nullptr, 1, |
| 1763 | QUERY_ONE_FOR_INTEGER__OTGrammar_getWinner); |
| 1764 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 1, U"Compare candidates...", nullptr, 1, |
| 1765 | QUERY_ONE_FOR_INTEGER__OTGrammar_compareCandidates); |
| 1766 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 1, U"Get number of optimal candidates...", nullptr, 1, |
| 1767 | QUERY_ONE_FOR_INTEGER__OTGrammar_getNumberOfOptimalCandidates); |
| 1768 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 1, U"Is candidate grammatical...", nullptr, 1, |
| 1769 | QUERY_ONE_FOR_BOOLEAN__OTGrammar_isCandidateGrammatical); |
| 1770 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 1, U"Is candidate singly grammatical...", nullptr, 1, |
| 1771 | QUERY_ONE_FOR_BOOLEAN__OTGrammar_isCandidateSinglyGrammatical); |
| 1772 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 1, U"Get interpretive parse...", nullptr, 1, |
| 1773 | INFO_ONE__OTGrammar_getInterpretiveParse); |
| 1774 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 1, U"Is partial output grammatical...", nullptr, 1, |
| 1775 | QUERY_ONE_FOR_BOOLEAN__OTGrammar_isPartialOutputGrammatical); |
| 1776 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 1, U"Is partial output singly grammatical...", nullptr, 1, |
| 1777 | QUERY_ONE_FOR_BOOLEAN__OTGrammar_isPartialOutputSinglyGrammatical); |
| 1778 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 0, U"Generate inputs...", nullptr, 0, |
| 1779 | CONVERT_EACH_TO_ONE__OTGrammar_generateInputs); |
| 1780 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 0, U"Get inputs", nullptr, 0, |
| 1781 | CONVERT_EACH_TO_ONE__OTGrammar_getInputs); |
| 1782 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 0, U"Measure typology", nullptr, 0, |
| 1783 | CONVERT_EACH_WEAK_TO_ONE__OTGrammar_measureTypology); |
| 1784 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 0, U"Evaluate", nullptr, 0, nullptr); |
| 1785 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 0, U"Evaluate...", nullptr, 0, |
| 1786 | MODIFY_EACH__OTGrammar_evaluate); |
| 1787 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 0, U"Input to output...", nullptr, 0, |
| 1788 | QUERY_ONE_WEAK_FOR_STRING__OTGrammar_inputToOutput); |
| 1789 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 0, U"Input to outputs...", nullptr, 0, |
| 1790 | CONVERT_EACH_WEAK_TO_ONE__OTGrammar_inputToOutputs); |
| 1791 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 0, U"To output Distributions...", nullptr, 0, |
| 1792 | CONVERT_EACH_WEAK_TO_ONE__OTGrammar_to_Distributions); |
| 1793 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 0, U"To PairDistribution...", nullptr, 0, |
| 1794 | CONVERT_EACH_WEAK_TO_ONE__OTGrammar_to_PairDistribution); |
| 1795 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 0, U"Modify ranking -", nullptr, 0, nullptr); |
| 1796 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 0, U"Set ranking...", nullptr, 1, |
| 1797 | MODIFY_EACH__OTGrammar_setRanking); |
| 1798 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 0, U"Reset all rankings...", nullptr, 1, |
| 1799 | MODIFY_EACH__OTGrammar_resetAllRankings); |
| 1800 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 0, U"Reset to random ranking...", nullptr, 1, |
| 1801 | MODIFY_EACH__OTGrammar_resetToRandomRanking); |
| 1802 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 0, U"Reset to random total ranking...", nullptr, 1, |
| 1803 | MODIFY_EACH__OTGrammar_resetToRandomTotalRanking); |
| 1804 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 0, U"Learn one...", nullptr, 1, |
| 1805 | MODIFY_EACH_WEAK__OTGrammar_learnOne); |
| 1806 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 0, U"Learn one from partial output...", nullptr, 1, |
| 1807 | MODIFY_EACH_WEAK__OTGrammar_learnOneFromPartialOutput); |
| 1808 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 0, U"Modify behaviour -", nullptr, 0, nullptr); |
| 1809 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 1, U"Set decision strategy... || Set harmony computation method...", |
| 1810 | nullptr, 1, MODIFY_EACH__OTGrammar_setDecisionStrategy); |
| 1811 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 1, U"Set leak...", nullptr, 1, |
| 1812 | MODIFY_EACH__OTGrammar_setLeak); |
| 1813 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 1, U"Set constraint plasticity...", nullptr, 1, |
| 1814 | MODIFY_EACH__OTGrammar_setConstraintPlasticity); |
| 1815 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 0, U"Modify structure -", nullptr, 0, nullptr); |
| 1816 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 0, U"Remove constraint...", nullptr, 1, |
| 1817 | MODIFY_EACH__OTGrammar_removeConstraint); |
| 1818 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTGrammar, 0, U"Remove harmonically bounded candidates...", nullptr, 1, |
| 1819 | MODIFY_EACH__OTGrammar_removeHarmonicallyBoundedCandidates); |
| 1820 | |
| 1821 | praat_TableOfReal_initcxx . . $ praat_TableOfReal_init(b2b8400651464df9). (classOTHistorycxx . . $ classOTHistory.); |
| 1822 | |
| 1823 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTMulti, 0, U"View & Edit || Edit", nullptr, GuiMenu_ATTRACTIVEcxx . . $ `sys/Gui.h:855:9`!, |
| 1824 | EDITOR_ONE__OTMulti_viewAndEdit); |
| 1825 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTMulti, 0, U"Draw -", nullptr, 0, nullptr); |
| 1826 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTMulti, 0, U"Draw tableau...", nullptr, 1, |
| 1827 | GRAPHICS_EACH__OTMulti_drawTableau); |
| 1828 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTMulti, 0, U"Draw tableau (narrowly)...", nullptr, 1, |
| 1829 | GRAPHICS_EACH__OTMulti_drawTableau_narrowly); |
| 1830 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTMulti, 0, U"Query -", nullptr, 0, nullptr); |
| 1831 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTMulti, 1, U"Get number of constraints", nullptr, 1, |
| 1832 | QUERY_ONE_FOR_INTEGER__OTMulti_getNumberOfConstraints); |
| 1833 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTMulti, 1, U"Get constraint...", nullptr, 1, |
| 1834 | QUERY_ONE_FOR_STRING__OTMulti_getConstraint); |
| 1835 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTMulti, 1, U"Get constraint number...", nullptr, 1, |
| 1836 | QUERY_ONE_FOR_INTEGER__OTMulti_getConstraintIndexFromName); |
| 1837 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTMulti, 1, U"Get ranking value...", nullptr, 1, |
| 1838 | QUERY_ONE_FOR_REAL__OTMulti_getRankingValue); |
| 1839 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTMulti, 1, U"Get disharmony...", nullptr, 1, |
| 1840 | QUERY_ONE_FOR_REAL__OTMulti_getDisharmony); |
| 1841 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTMulti, 1, U"Get number of candidates", nullptr, 1, |
| 1842 | QUERY_ONE_FOR_INTEGER__OTMulti_getNumberOfCandidates); |
| 1843 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTMulti, 1, U"Get candidate...", nullptr, 1, |
| 1844 | QUERY_ONE_FOR_STRING__OTMulti_getCandidate); |
| 1845 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTMulti, 1, U"Get number of violations...", nullptr, 1, |
| 1846 | QUERY_ONE_FOR_INTEGER__OTMulti_getNumberOfViolations); |
| 1847 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTMulti, 1, U"-- parse --", nullptr, 1, nullptr); |
| 1848 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTMulti, 1, U"Get winner...", nullptr, 1, |
| 1849 | QUERY_ONE_FOR_INTEGER__OTMulti_getWinner); |
| 1850 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTMulti, 0, U"Evaluate", nullptr, 0, nullptr); |
| 1851 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTMulti, 0, U"Evaluate...", nullptr, 1, |
| 1852 | MODIFY_EACH__OTMulti_evaluate); |
| 1853 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTMulti, 0, U"Get output...", nullptr, 1, |
| 1854 | QUERY_ONE_WEAK_FOR_STRING__OTMulti_generateOptimalForm); |
| 1855 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTMulti, 0, U"Get outputs...", nullptr, 1, |
| 1856 | CONVERT_EACH_WEAK_TO_ONE__OTMulti_generateOptimalForms); |
| 1857 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTMulti, 0, U"To output Distribution...", nullptr, 1, |
| 1858 | CONVERT_EACH_WEAK_TO_ONE__OTMulti_to_Distribution); |
| 1859 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTMulti, 0, U"Modify ranking", nullptr, 0, nullptr); |
| 1860 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTMulti, 0, U"Set ranking...", nullptr, 0, |
| 1861 | MODIFY_EACH__OTMulti_setRanking); |
| 1862 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTMulti, 0, U"Reset all rankings...", nullptr, 0, |
| 1863 | MODIFY_EACH__OTMulti_resetAllRankings); |
| 1864 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTMulti, 0, U"Learn one...", nullptr, 0, |
| 1865 | MODIFY_EACH_WEAK__OTMulti_learnOne); |
| 1866 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTMulti, 0, U"Modify behaviour -", nullptr, 0, nullptr); |
| 1867 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTMulti, 1, U"Set decision strategy...", nullptr, 1, |
| 1868 | MODIFY_EACH__OTMulti_setDecisionStrategy); |
| 1869 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTMulti, 1, U"Set leak...", nullptr, 1, |
| 1870 | MODIFY_EACH__OTMulti_setLeak); |
| 1871 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTMulti, 1, U"Set constraint plasticity...", nullptr, 1, |
| 1872 | MODIFY_EACH__OTMulti_setConstraintPlasticity); |
| 1873 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTMulti, 0, U"Modify structure -", nullptr, 0, nullptr); |
| 1874 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classOTMulti, 0, U"Remove constraint...", nullptr, 1, |
| 1875 | MODIFY_EACH__OTMulti_removeConstraint); |
| 1876 | |
| 1877 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classOTGrammar, 1, classStrings, 1, U"Query -", nullptr, 0, nullptr); |
| 1878 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classOTGrammar, 1, classStrings, 1, U"Are all partial outputs grammatical?", nullptr, 1, |
| 1879 | QUERY_ONE_AND_ONE_FOR_BOOLEAN__OTGrammar_Strings_areAllPartialOutputsGrammatical); |
| 1880 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classOTGrammar, 1, classStrings, 1, U"Are all partial outputs singly grammatical?", nullptr, 1, |
| 1881 | QUERY_ONE_AND_ONE_FOR_BOOLEAN__OTGrammar_Strings_areAllPartialOutputsSinglyGrammatical); |
| 1882 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classOTGrammar, 1, classStrings, 1, U"Inputs to outputs...", nullptr, 0, |
| 1883 | CONVERT_ONE_WEAK_AND_ONE_TO_ONE__OTGrammar_Strings_inputsToOutputs); |
| 1884 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classOTGrammar, 1, classStrings, 1, U"Learn from partial outputs...", nullptr, 0, |
| 1885 | MODIFY_FIRST_OF_ONE_WEAK_AND_ONE_WITH_HISTORY__OTGrammar_Strings_learnFromPartialOutputs); |
| 1886 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classOTGrammar, 1, classStrings, 2, U"Learn...", nullptr, 0, |
| 1887 | MODIFY_FIRST_OF_ONE_WEAK_AND_TWO__OTGrammar_Stringses_learn); |
| 1888 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classOTGrammar, 1, classStrings, 2, U"Tabulate all correct rankings", nullptr, 0, |
| 1889 | CONVERT_ONE_AND_TWO_TO_ONE__OTGrammar_Stringses_tabulateAllCorrectRankings); |
| 1890 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classOTGrammar, 1, classDistributions, 1, U"Learn from partial outputs...", nullptr, 0, |
| 1891 | MODIFY_FIRST_OF_ONE_WEAK_AND_ONE_WITH_HISTORY__OTGrammar_Distributions_learnFromPartialOutputs); |
| 1892 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classOTGrammar, 1, classDistributions, 1, U"Learn from partial outputs (rrip)...", nullptr, 0, |
| 1893 | MODIFY_FIRST_OF_ONE_WEAK_AND_ONE_WITH_HISTORY__OTGrammar_Distributions_learnFromPartialOutputs_rrip); |
| 1894 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classOTGrammar, 1, classDistributions, 1, U"Learn from partial outputs (eip)...", nullptr, 0, |
| 1895 | MODIFY_FIRST_OF_ONE_WEAK_AND_ONE_WITH_HISTORY__OTGrammar_Distributions_learnFromPartialOutputs_eip); |
| 1896 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classOTGrammar, 1, classDistributions, 1, U"Learn from partial outputs (wrip)...", nullptr, 0, |
| 1897 | MODIFY_FIRST_OF_ONE_WEAK_AND_ONE_WITH_HISTORY__OTGrammar_Distributions_learnFromPartialOutputs_wrip); |
| 1898 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classOTGrammar, 1, classDistributions, 1, U"Get fraction correct...", nullptr, 0, |
| 1899 | QUERY_ONE_WEAK_AND_ONE_FOR_REAL__OTGrammar_Distributions_getFractionCorrect); |
| 1900 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classOTGrammar, 1, classDistributions, 1, U"List obligatory rankings...", nullptr, GuiMenu_HIDDENcxx . . $ `sys/Gui.h:869:9`!, |
| 1901 | INFO_ONE_AND_ONE__OTGrammar_Distributions_listObligatoryRankings); |
| 1902 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classOTGrammar, 1, classPairDistribution, 1, U"Learn...", nullptr, 0, |
| 1903 | MODIFY_FIRST_OF_ONE_WEAK_AND_ONE__OTGrammar_PairDistribution_learn); |
| 1904 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classOTGrammar, 1, classPairDistribution, 1, U"Find positive weights...", nullptr, 0, |
| 1905 | MODIFY_FIRST_OF_ONE_AND_ONE__OTGrammar_PairDistribution_findPositiveWeights); |
| 1906 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classOTGrammar, 1, classPairDistribution, 1, U"Get fraction correct...", nullptr, 0, |
| 1907 | QUERY_ONE_WEAK_AND_ONE_FOR_REAL__OTGrammar_PairDistribution_getFractionCorrect); |
| 1908 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classOTGrammar, 1, classPairDistribution, 1, U"Get minimum number correct...", nullptr, 0, |
| 1909 | QUERY_ONE_WEAK_AND_ONE_FOR_INTEGER__OTGrammar_PairDistribution_getMinimumNumberCorrect); |
| 1910 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classOTGrammar, 1, classPairDistribution, 1, U"List obligatory rankings", nullptr, 0, |
| 1911 | INFO_ONE_AND_ONE__OTGrammar_PairDistribution_listObligatoryRankings); |
| 1912 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classOTMulti, 1, classPairDistribution, 1, U"Learn...", nullptr, 0, |
| 1913 | MODIFY_FIRST_OF_ONE_WEAK_AND_ONE_WITH_HISTORY__OTMulti_PairDistribution_learn); |
| 1914 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classOTMulti, 1, classStrings, 1, U"Get outputs...", nullptr, 0, |
| 1915 | CONVERT_ONE_WEAK_AND_ONE_TO_ONE__OTMulti_Strings_generateOptimalForms); |
| 1916 | |
| 1917 | praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"Symmetric neural networks", nullptr, 0, nullptr); |
| 1918 | praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"Create empty Network...", nullptr, 1, |
| 1919 | CREATE_ONE__Create_empty_Network); |
| 1920 | praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"Create rectangular Network...", nullptr, 1, |
| 1921 | CREATE_ONE__Create_rectangular_Network); |
| 1922 | praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"Create rectangular Network (vertical)...", nullptr, 1, |
| 1923 | CREATE_ONE__Create_rectangular_Network_vertical); |
| 1924 | praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"Create Net as deep belief network...", nullptr, 1, |
| 1925 | CREATE_ONE__CreateNetAsDeepBeliefNetwork); |
| 1926 | |
| 1927 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNetwork, 0, U"Draw...", nullptr, 0, |
| 1928 | GRAPHICS_EACH__Network_draw); |
| 1929 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNetwork, 1, U"Tabulate -", nullptr, 0, nullptr); |
| 1930 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNetwork, 1, U"List nodes...", nullptr, 1, |
| 1931 | INFO_ONE__Network_listNodes); |
| 1932 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNetwork, 1, U"Nodes down to table...", nullptr, 1, |
| 1933 | CONVERT_EACH_TO_ONE__Network_nodes_downto_Table); |
| 1934 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNetwork, 0, U"Query -", nullptr, 0, nullptr); |
| 1935 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNetwork, 1, U"Get activity...", nullptr, 1, |
| 1936 | QUERY_ONE_FOR_REAL__Network_getActivity); |
| 1937 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNetwork, 1, U"Get activities...", nullptr, 1, |
| 1938 | QUERY_ONE_FOR_REAL_VECTOR__Network_getActivities); |
| 1939 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNetwork, 1, U"Get weight...", nullptr, 1, |
| 1940 | QUERY_ONE_FOR_REAL__Network_getWeight); |
| 1941 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNetwork, 0, U"Modify -", nullptr, 0, nullptr); |
| 1942 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNetwork, 0, U"Add node...", nullptr, 1, |
| 1943 | MODIFY_EACH__Network_addNode); |
| 1944 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNetwork, 0, U"Add connection...", nullptr, 1, |
| 1945 | MODIFY_EACH__Network_addConnection); |
| 1946 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNetwork, 0, U"-- activity --", nullptr, 1, nullptr); |
| 1947 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNetwork, 0, U"Set activity...", nullptr, 1, |
| 1948 | MODIFY_EACH__Network_setActivity); |
| 1949 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNetwork, 0, U"Set clamping...", nullptr, 1, |
| 1950 | MODIFY_EACH__Network_setClamping); |
| 1951 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNetwork, 0, U"Zero activities...", nullptr, 1, |
| 1952 | MODIFY_EACH__Network_zeroActivities); |
| 1953 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNetwork, 0, U"Normalize activities...", nullptr, 1, |
| 1954 | MODIFY_EACH__Network_normalizeActivities); |
| 1955 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNetwork, 0, U"Formula (activities)...", nullptr, 1, |
| 1956 | MODIFY_EACH_WEAK__Network_formula_activities); |
| 1957 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNetwork, 0, U"Spread activities...", nullptr, 1, |
| 1958 | MODIFY_EACH__Network_spreadActivities); |
| 1959 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNetwork, 0, U"Set activity clipping rule...", nullptr, 1, |
| 1960 | MODIFY_EACH__Network_setActivityClippingRule); |
| 1961 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNetwork, 0, U"Set activity leak...", nullptr, 1, |
| 1962 | MODIFY_EACH__Network_setActivityLeak); |
| 1963 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNetwork, 0, U"Set shunting...", nullptr, 1, |
| 1964 | MODIFY_EACH__Network_setShunting); |
| 1965 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNetwork, 0, U"-- weight --", nullptr, 1, nullptr); |
| 1966 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNetwork, 0, U"Set weight...", nullptr, 1, |
| 1967 | MODIFY_EACH__Network_setWeight); |
| 1968 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNetwork, 0, U"Update weights", nullptr, 1, |
| 1969 | MODIFY_EACH__Network_updateWeights); |
| 1970 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNetwork, 0, U"Normalize weights...", nullptr, 1, |
| 1971 | MODIFY_EACH__Network_normalizeWeights); |
| 1972 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNetwork, 0, U"Set instar...", nullptr, 1, |
| 1973 | MODIFY_EACH__Network_setInstar); |
| 1974 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNetwork, 0, U"Set outstar...", nullptr, 1, |
| 1975 | MODIFY_EACH__Network_setOutstar); |
| 1976 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNetwork, 0, U"Set weight leak...", nullptr, 1, |
| 1977 | MODIFY_EACH__Network_setWeightLeak); |
| 1978 | |
| 1979 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNet, 0, U"Query", nullptr, 0, nullptr); |
| 1980 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNet, 0, U"Get weights...", nullptr, 0, |
| 1981 | QUERY_ONE_FOR_MATRIX__Net_getWeights); |
| 1982 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNet, 0, U"Modify", nullptr, 0, nullptr); |
| 1983 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNet, 0, U"Spread up...", nullptr, 0, |
| 1984 | MODIFY_EACH__Net_spreadUp); |
| 1985 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNet, 0, U"Spread down...", nullptr, 0, |
| 1986 | MODIFY_EACH__Net_spreadDown); |
| 1987 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNet, 0, U"Spread up (reconstruction)", nullptr, 0, |
| 1988 | MODIFY_EACH__Net_spreadUp_reconstruction); |
| 1989 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNet, 0, U"Spread down (reconstruction)", nullptr, 0, |
| 1990 | MODIFY_EACH__Net_spreadDown_reconstruction); |
| 1991 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNet, 0, U"Sample input", nullptr, 0, |
| 1992 | MODIFY_EACH__Net_sampleInput); |
| 1993 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNet, 0, U"Sample output", nullptr, 0, |
| 1994 | MODIFY_EACH__Net_sampleOutput); |
| 1995 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNet, 0, U"Update...", nullptr, 0, |
| 1996 | MODIFY_EACH__Net_update); |
| 1997 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNet, 0, U"Extract", nullptr, 0, nullptr); |
| 1998 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNet, 0, U"Extract input activities", nullptr, 0, |
| 1999 | CONVERT_EACH_TO_ONE__Net_extractInputActivities); |
| 2000 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNet, 0, U"Extract output activities", nullptr, 0, |
| 2001 | CONVERT_EACH_TO_ONE__Net_extractOutputActivities); |
| 2002 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNet, 0, U"Extract input reconstruction", nullptr, 0, |
| 2003 | CONVERT_EACH_TO_ONE__Net_extractInputReconstruction); |
| 2004 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNet, 0, U"Extract output reconstruction", nullptr, 0, |
| 2005 | CONVERT_EACH_TO_ONE__Net_extractOutputReconstruction); |
| 2006 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNet, 0, U"Extract input biases...", nullptr, 0, |
| 2007 | CONVERT_EACH_TO_ONE__Net_extractInputBiases); |
| 2008 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNet, 0, U"Extract output biases...", nullptr, 0, |
| 2009 | CONVERT_EACH_TO_ONE__Net_extractOutputBiases); |
| 2010 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNet, 0, U"Extract weights...", nullptr, 0, |
| 2011 | CONVERT_EACH_TO_ONE__Net_extractWeights); |
| 2012 | |
| 2013 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classNet, 1, classPatternList, 1, U"Apply to input...", nullptr, 0, |
| 2014 | MODIFY_FIRST_OF_ONE_AND_ONE__Net_PatternList_applyToInput); |
| 2015 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classNet, 1, classPatternList, 1, U"Apply to output...", nullptr, 0, |
| 2016 | MODIFY_FIRST_OF_ONE_AND_ONE__Net_PatternList_applyToOutput); |
| 2017 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classNet, 1, classPatternList, 1, U"Learn...", nullptr, 0, |
| 2018 | MODIFY_FIRST_OF_ONE_AND_ONE__Net_PatternList_learn); |
| 2019 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classNet, 1, classPatternList, 1, U"Learn by layer...", nullptr, 0, |
| 2020 | MODIFY_FIRST_OF_ONE_AND_ONE__Net_PatternList_learnByLayer); |
| 2021 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classNet, 1, classPatternList, 1, U"Learn (two phases)...", nullptr, 0, |
| 2022 | MODIFY_FIRST_OF_ONE_AND_ONE__Net_PatternList_learn_twoPhases); |
| 2023 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classNet, 1, classPatternList, 1, U"To ActivationList", nullptr, 0, |
| 2024 | CONVERT_ONE_AND_ONE_TO_ONE__Net_PatternList_to_ActivationList); |
| 2025 | |
| 2026 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNoulliGrid, 1, U"View & Edit", nullptr, GuiMenu_ATTRACTIVEcxx . . $ `sys/Gui.h:855:9`!, |
| 2027 | EDITOR_ONE_WITH_ONE__NoulliGrid_viewAndEdit); |
| 2028 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNoulliGrid, 0, U"Query -", nullptr, 0, nullptr); |
| 2029 | praat_TimeFunction_query_initcxx . . $ praat_TimeFunction_query_init(b2b8400651464df9). (classNoulliGridcxx . . $ classNoulliGrid.); |
| 2030 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNoulliGrid, 1, U"Get average probabilities...", nullptr, 1, |
| 2031 | QUERY_ONE_FOR_REAL_VECTOR__NoulliGrid_getAverageProbabilities); |
| 2032 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNoulliGrid, 0, U"Draw -", nullptr, 0, nullptr); |
| 2033 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classNoulliGrid, 0, U"Paint...", nullptr, 1, GRAPHICS_NoulliGrid_paint); |
| 2034 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classNoulliGrid, 1, classSound, 1, U"View & Edit", nullptr, GuiMenu_ATTRACTIVEcxx . . $ `sys/Gui.h:855:9`!, |
| 2035 | EDITOR_ONE_WITH_ONE__NoulliGrid_viewAndEdit); |
| 2036 | |
| 2037 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classCubeGrid, 1, U"View & Edit", nullptr, GuiMenu_ATTRACTIVEcxx . . $ `sys/Gui.h:855:9`!, |
| 2038 | EDITOR_ONE_WITH_ONE__CubeGrid_viewAndEdit); |
| 2039 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classCubeGrid, 0, U"Query -", nullptr, 0, nullptr); |
| 2040 | praat_TimeFunction_query_initcxx . . $ praat_TimeFunction_query_init(b2b8400651464df9). (classCubeGridcxx . . $ classCubeGrid.); |
| 2041 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classCubeGrid, 1, U"Get average...", nullptr, 1, |
| 2042 | QUERY_ONE_FOR_REAL_VECTOR__CubeGrid_getAverage); |
| 2043 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classCubeGrid, 0, U"Draw -", nullptr, 0, nullptr); |
| 2044 | praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classCubeGrid, 0, U"Paint...", nullptr, 1, GRAPHICS_CubeGrid_paint); |
| 2045 | praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classCubeGrid, 1, classSound, 1, U"View & Edit", nullptr, GuiMenu_ATTRACTIVEcxx . . $ `sys/Gui.h:855:9`!, |
| 2046 | EDITOR_ONE_WITH_ONE__CubeGrid_viewAndEdit); |
| 2047 | } |
| 2048 | |
| 2049 | /* End of file praat_gram.cpp */ |