Debian Codegraph @

gram/OTGrammar_ex_tongueRoot.cpp

raw symbols SCIP
1 /* OTGrammar_ex_tongueRoot.cpp
2 *
3 * Copyright (C) 1997-2005,2007,2009,2011-2013,2015-2021 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 2 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 "OTGrammar.h"cxx . . $ `<file>/gram/OTGrammar.h`/
20
21 static const conststring32cxx . . $ conststring32# vowelscxx . . $ vowels. [] = { U"i", U"e", U"\\sw", U"\\ic", U"\\ef", U"a" };
22 #define icxx . . $ `gram/OTGrammar_ex_tongueRoot.cpp:22:9`! 0
23 #define ecxx . . $ `gram/OTGrammar_ex_tongueRoot.cpp:23:9`! 1
24 #define schwacxx . . $ `gram/OTGrammar_ex_tongueRoot.cpp:24:9`! 2
25 #define Icxx . . $ `gram/OTGrammar_ex_tongueRoot.cpp:25:9`! 3
26 #define Ecxx . . $ `gram/OTGrammar_ex_tongueRoot.cpp:26:9`! 4
27 #define acxx . . $ `gram/OTGrammar_ex_tongueRoot.cpp:27:9`! 5
28 #define isatrcxx . . $ `gram/OTGrammar_ex_tongueRoot.cpp:28:9`!(v) ((v) <= schwacxx . . $ `gram/OTGrammar_ex_tongueRoot.cpp:24:9`!)
29 #define isrtrcxx . . $ `gram/OTGrammar_ex_tongueRoot.cpp:29:9`!(v) ((v) >= I)
30 #define fliptrcxx . . $ `gram/OTGrammar_ex_tongueRoot.cpp:30:9`!(v) (((v) + 3) % 6)
31
32 static void countVowelViolationscxx . . $ countVowelViolations(8d8a4892d0847a7e). (const INTVECcxx . . $ INTVEC# marks, const integercxx . . $ integer# numberOfConstraints, const integercxx . . $ integer# v) {
33 if (v == Icxx . . $ `gram/OTGrammar_ex_tongueRoot.cpp:25:9`!)
34 marks [cxx . . $ vector#`operator[]`(8a4599b8835d1ce1).1] ++;
35 if (v == schwacxx . . $ `gram/OTGrammar_ex_tongueRoot.cpp:24:9`!)
36 marks [cxx . . $ vector#`operator[]`(8a4599b8835d1ce1).2] ++;
37 if (numberOfConstraints == 9) {
38 if (v == Ecxx . . $ `gram/OTGrammar_ex_tongueRoot.cpp:26:9`!)
39 marks [cxx . . $ vector#`operator[]`(8a4599b8835d1ce1).6] ++;
40 if (v == acxx . . $ `gram/OTGrammar_ex_tongueRoot.cpp:27:9`!)
41 marks [cxx . . $ vector#`operator[]`(8a4599b8835d1ce1).7] ++;
42 if (v == ecxx . . $ `gram/OTGrammar_ex_tongueRoot.cpp:23:9`!)
43 marks [cxx . . $ vector#`operator[]`(8a4599b8835d1ce1).8] ++;
44 if (v == icxx . . $ `gram/OTGrammar_ex_tongueRoot.cpp:22:9`!)
45 marks [cxx . . $ vector#`operator[]`(8a4599b8835d1ce1).9] ++;
46 }
47 }
48
49 static void OTGrammarCandidate_initcxx . . $ OTGrammarCandidate_init(bfaffc3c6469682a). (OTGrammarCandidatecxx . . $ OTGrammarCandidate# me, integercxx . . $ integer# ncons, integercxx . . $ integer# v1, integercxx . . $ integer# v2) {
50 mycxx . . $ `melder/melder.h:44:9`! outputcxx . . $ structOTGrammarCandidate#output. =cxx . . $ _autostring#`operator=`(f562943cbc4bcf37). Melder_dupcxx . . $ Melder_dup(87bf156b1f548402). (Melder_catcxx . . $ Melder_cat(7fbf27f4d367f442). (vowelscxx . . $ vowels. [v1], U"t", vowelscxx . . $ vowels. [v2]));
51 mycxx . . $ `melder/melder.h:44:9`! markscxx . . $ structOTGrammarCandidate#marks. =cxx . . $ autovector#`operator=`(f4f0443dbfdd1e40). zero_INTVECcxx . . $ zero_INTVEC(dab5d3ef28d6a25). (mycxx . . $ `melder/melder.h:44:9`! numberOfConstraintscxx . . $ structOTGrammarCandidate#numberOfConstraints. = ncons);
52 /*
53 Count vowel-gesture violations.
54 */
55 countVowelViolationscxx . . $ countVowelViolations(8d8a4892d0847a7e). (mycxx . . $ `melder/melder.h:44:9`! markscxx . . $ structOTGrammarCandidate#marks..getcxx . . $ autovector#get(e8d1da7fe68a6585).(), ncons, v1);
56 countVowelViolationscxx . . $ countVowelViolations(8d8a4892d0847a7e). (mycxx . . $ `melder/melder.h:44:9`! markscxx . . $ structOTGrammarCandidate#marks..getcxx . . $ autovector#get(e8d1da7fe68a6585).(), ncons, v2);
57 /*
58 Count contour-gesture violations.
59 */
60 if (isatrcxx . . $ `gram/OTGrammar_ex_tongueRoot.cpp:28:9`! (v1) != isatrcxx . . $ `gram/OTGrammar_ex_tongueRoot.cpp:28:9`! (v2))
61 mycxx . . $ `melder/melder.h:44:9`! markscxx . . $ structOTGrammarCandidate#marks. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).5] ++;
62 }
63
64 autoOTGrammarcxx . . $ autoOTGrammar# OTGrammar_create_tongueRoot_grammarcxx . . $ OTGrammar_create_tongueRoot_grammar(dd2490af35a81629). (
65 kOTGrammar_createTongueRootGrammar_constraintSetcxx . . $ kOTGrammar_createTongueRootGrammar_constraintSet# small_large,
66 kOTGrammar_createTongueRootGrammar_rankingcxx . . $ kOTGrammar_createTongueRootGrammar_ranking# equal_random_infant_Wolof)
67 {
68 try {
69 const integercxx . . $ integer# numberOfConstraints = ( small_large == kOTGrammar_createTongueRootGrammar_constraintSetcxx . . $ kOTGrammar_createTongueRootGrammar_constraintSet#::FIVEcxx . . $ kOTGrammar_createTongueRootGrammar_constraintSet#FIVE. ? 5 : 9 );
70 autoOTGrammarcxx . . $ autoOTGrammar# me = Thing_newcxx . . $ `sys/Thing.h:514:9`! (OTGrammar);
71 mycxx . . $ `melder/melder.h:44:9`! constraintscxx . . $ structOTGrammar#constraints. =cxx . . $ autovector#`operator=`(f4f0443dbfdd1e40). newvectorzerocxx . . $ newvectorzero(d6d5973469733409). <structOTGrammarConstraintcxx . . $ structOTGrammarConstraint#> (mycxx . . $ `melder/melder.h:44:9`! numberOfConstraintscxx . . $ structOTGrammar#numberOfConstraints. = numberOfConstraints);
72 mycxx . . $ `melder/melder.h:44:9`! constraintscxx . . $ structOTGrammar#constraints. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).1]. namecxx . . $ structOTGrammarConstraint#name. =cxx . . $ _autostring#`operator=`(f562943cbc4bcf37). Melder_dupcxx . . $ Melder_dup(87bf156b1f548402). (U"*[rtr / hi]");
73 mycxx . . $ `melder/melder.h:44:9`! constraintscxx . . $ structOTGrammar#constraints. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).2]. namecxx . . $ structOTGrammarConstraint#name. =cxx . . $ _autostring#`operator=`(f562943cbc4bcf37). Melder_dupcxx . . $ Melder_dup(87bf156b1f548402). (U"*[atr / lo]");
74 mycxx . . $ `melder/melder.h:44:9`! constraintscxx . . $ structOTGrammar#constraints. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).3]. namecxx . . $ structOTGrammarConstraint#name. =cxx . . $ _autostring#`operator=`(f562943cbc4bcf37). Melder_dupcxx . . $ Melder_dup(87bf156b1f548402). (U"P\\s{ARSE}\n(rtr)");
75 mycxx . . $ `melder/melder.h:44:9`! constraintscxx . . $ structOTGrammar#constraints. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).4]. namecxx . . $ structOTGrammarConstraint#name. =cxx . . $ _autostring#`operator=`(f562943cbc4bcf37). Melder_dupcxx . . $ Melder_dup(87bf156b1f548402). (U"P\\s{ARSE}\n(atr)");
76 mycxx . . $ `melder/melder.h:44:9`! constraintscxx . . $ structOTGrammar#constraints. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).5]. namecxx . . $ structOTGrammarConstraint#name. =cxx . . $ _autostring#`operator=`(f562943cbc4bcf37). Melder_dupcxx . . $ Melder_dup(87bf156b1f548402). (U"*G\\s{ESTURE}\n(contour)");
77 if (numberOfConstraints == 9) {
78 mycxx . . $ `melder/melder.h:44:9`! constraintscxx . . $ structOTGrammar#constraints. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).6]. namecxx . . $ structOTGrammarConstraint#name. =cxx . . $ _autostring#`operator=`(f562943cbc4bcf37). Melder_dupcxx . . $ Melder_dup(87bf156b1f548402). (U"*[rtr / mid]");
79 mycxx . . $ `melder/melder.h:44:9`! constraintscxx . . $ structOTGrammar#constraints. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).7]. namecxx . . $ structOTGrammarConstraint#name. =cxx . . $ _autostring#`operator=`(f562943cbc4bcf37). Melder_dupcxx . . $ Melder_dup(87bf156b1f548402). (U"*[rtr / lo]");
80 mycxx . . $ `melder/melder.h:44:9`! constraintscxx . . $ structOTGrammar#constraints. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).8]. namecxx . . $ structOTGrammarConstraint#name. =cxx . . $ _autostring#`operator=`(f562943cbc4bcf37). Melder_dupcxx . . $ Melder_dup(87bf156b1f548402). (U"*[atr / mid]");
81 mycxx . . $ `melder/melder.h:44:9`! constraintscxx . . $ structOTGrammar#constraints. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).9]. namecxx . . $ structOTGrammarConstraint#name. =cxx . . $ _autostring#`operator=`(f562943cbc4bcf37). Melder_dupcxx . . $ Melder_dup(87bf156b1f548402). (U"*[atr / hi]");
82 }
83 if (equal_random_infant_Wolof == kOTGrammar_createTongueRootGrammar_rankingcxx . . $ kOTGrammar_createTongueRootGrammar_ranking#::EQUALcxx . . $ kOTGrammar_createTongueRootGrammar_ranking#EQUAL.) {
84 for (integercxx . . $ integer# icons = 1; icons <= numberOfConstraints; icons ++)
85 mycxx . . $ `melder/melder.h:44:9`! constraintscxx . . $ structOTGrammar#constraints. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).icons]. rankingcxx . . $ structOTGrammarConstraint#ranking. = 100.0;
86 } else if (equal_random_infant_Wolof == kOTGrammar_createTongueRootGrammar_rankingcxx . . $ kOTGrammar_createTongueRootGrammar_ranking#::RANDOMcxx . . $ kOTGrammar_createTongueRootGrammar_ranking#RANDOM.) {
87 for (integercxx . . $ integer# icons = 1; icons <= numberOfConstraints; icons ++)
88 mycxx . . $ `melder/melder.h:44:9`! constraintscxx . . $ structOTGrammar#constraints. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).icons]. rankingcxx . . $ structOTGrammarConstraint#ranking. = NUMrandomGausscxx . . $ NUMrandomGauss(d8e7e0733fa41c87). (100.0, 10.0);
89 } else if (equal_random_infant_Wolof == kOTGrammar_createTongueRootGrammar_rankingcxx . . $ kOTGrammar_createTongueRootGrammar_ranking#::INFANTcxx . . $ kOTGrammar_createTongueRootGrammar_ranking#INFANT.) {
90 for (integercxx . . $ integer# icons = 1; icons <= numberOfConstraints; icons ++)
91 mycxx . . $ `melder/melder.h:44:9`! constraintscxx . . $ structOTGrammar#constraints. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).icons]. rankingcxx . . $ structOTGrammarConstraint#ranking. = 100.0; // structural constraints
92 mycxx . . $ `melder/melder.h:44:9`! constraintscxx . . $ structOTGrammar#constraints. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).3]. rankingcxx . . $ structOTGrammarConstraint#ranking. = 50.0; // faithfulness constraints
93 mycxx . . $ `melder/melder.h:44:9`! constraintscxx . . $ structOTGrammar#constraints. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).4]. rankingcxx . . $ structOTGrammarConstraint#ranking. = 50.0;
94 } else {
95 Melder_assertcxx . . $ `melder/melder_assert.h:39:10`! (equal_random_infant_Wolof == kOTGrammar_createTongueRootGrammar_ranking::WOLOF);
96 mycxx . . $ `melder/melder.h:44:9`! constraintscxx . . $ structOTGrammar#constraints. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).1]. rankingcxx . . $ structOTGrammarConstraint#ranking. = 100.0;
97 mycxx . . $ `melder/melder.h:44:9`! constraintscxx . . $ structOTGrammar#constraints. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).2]. rankingcxx . . $ structOTGrammarConstraint#ranking. = 10.0;
98 mycxx . . $ `melder/melder.h:44:9`! constraintscxx . . $ structOTGrammar#constraints. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).3]. rankingcxx . . $ structOTGrammarConstraint#ranking. = 50.0;
99 mycxx . . $ `melder/melder.h:44:9`! constraintscxx . . $ structOTGrammar#constraints. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).4]. rankingcxx . . $ structOTGrammarConstraint#ranking. = 20.0;
100 mycxx . . $ `melder/melder.h:44:9`! constraintscxx . . $ structOTGrammar#constraints. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).5]. rankingcxx . . $ structOTGrammarConstraint#ranking. = 30.0;
101 if (numberOfConstraints == 9) {
102 mycxx . . $ `melder/melder.h:44:9`! constraintscxx . . $ structOTGrammar#constraints. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).6]. rankingcxx . . $ structOTGrammarConstraint#ranking. = 0.0;
103 mycxx . . $ `melder/melder.h:44:9`! constraintscxx . . $ structOTGrammar#constraints. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).7]. rankingcxx . . $ structOTGrammarConstraint#ranking. = -10.0;
104 mycxx . . $ `melder/melder.h:44:9`! constraintscxx . . $ structOTGrammar#constraints. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).8]. rankingcxx . . $ structOTGrammarConstraint#ranking. = 0.0;
105 mycxx . . $ `melder/melder.h:44:9`! constraintscxx . . $ structOTGrammar#constraints. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).9]. rankingcxx . . $ structOTGrammarConstraint#ranking. = -10.0;
106 }
107 }
108 if (numberOfConstraints == 9) {
109 mycxx . . $ `melder/melder.h:44:9`! fixedRankingscxx . . $ structOTGrammar#fixedRankings. =cxx . . $ autovector#`operator=`(f4f0443dbfdd1e40). newvectorzerocxx . . $ newvectorzero(d6d5973469733409). <structOTGrammarFixedRankingcxx . . $ structOTGrammarFixedRanking#> (mycxx . . $ `melder/melder.h:44:9`! numberOfFixedRankingscxx . . $ structOTGrammar#numberOfFixedRankings. = 4);
110 mycxx . . $ `melder/melder.h:44:9`! fixedRankingscxx . . $ structOTGrammar#fixedRankings. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).1] =cxx . . $ structOTGrammarFixedRanking#`operator=`(b9e6027badcf0b75). { 1, 6 };
111 mycxx . . $ `melder/melder.h:44:9`! fixedRankingscxx . . $ structOTGrammar#fixedRankings. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).2] =cxx . . $ structOTGrammarFixedRanking#`operator=`(b9e6027badcf0b75). { 6, 7 };
112 mycxx . . $ `melder/melder.h:44:9`! fixedRankingscxx . . $ structOTGrammar#fixedRankings. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).3] =cxx . . $ structOTGrammarFixedRanking#`operator=`(b9e6027badcf0b75). { 2, 8 };
113 mycxx . . $ `melder/melder.h:44:9`! fixedRankingscxx . . $ structOTGrammar#fixedRankings. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).4] =cxx . . $ structOTGrammarFixedRanking#`operator=`(b9e6027badcf0b75). { 8, 9 };
114 }
115 mycxx . . $ `melder/melder.h:44:9`! tableauscxx . . $ structOTGrammar#tableaus. =cxx . . $ autovector#`operator=`(f4f0443dbfdd1e40). newvectorzerocxx . . $ newvectorzero(d6d5973469733409). <structOTGrammarTableaucxx . . $ structOTGrammarTableau#> (mycxx . . $ `melder/melder.h:44:9`! numberOfTableauscxx . . $ structOTGrammar#numberOfTableaus. = 36);
116 integercxx . . $ integer# itab = 1;
117 for (integercxx . . $ integer# v1 = 0; v1 < 6; v1 ++) {
118 for (integercxx . . $ integer# v2 = 0; v2 < 6; v2 ++) {
119 OTGrammarTableaucxx . . $ OTGrammarTableau# tableau = & mycxx . . $ `melder/melder.h:44:9`! tableauscxx . . $ structOTGrammar#tableaus. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).itab];
120 tableau -> inputcxx . . $ structOTGrammarTableau#input. =cxx . . $ _autostring#`operator=`(f562943cbc4bcf37). Melder_dupcxx . . $ Melder_dup(87bf156b1f548402). (Melder_catcxx . . $ Melder_cat(7fbf27f4d367f442). (vowelscxx . . $ vowels. [v1], U"t", vowelscxx . . $ vowels. [v2]));
121 tableau -> candidatescxx . . $ structOTGrammarTableau#candidates. =cxx . . $ autovector#`operator=`(f4f0443dbfdd1e40). newvectorzerocxx . . $ newvectorzero(d6d5973469733409). <structOTGrammarCandidatecxx . . $ structOTGrammarCandidate#> (tableau -> numberOfCandidatescxx . . $ structOTGrammarTableau#numberOfCandidates. = 4);
122 /*
123 Generate the four tongue-root variants as output candidates.
124 */
125 OTGrammarCandidate_initcxx . . $ OTGrammarCandidate_init(bfaffc3c6469682a). (& tableau -> candidatescxx . . $ structOTGrammarTableau#candidates. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).1], numberOfConstraints, v1, v2);
126 /* Faithful: no PARSE constraints violated. */
127 OTGrammarCandidate_initcxx . . $ OTGrammarCandidate_init(bfaffc3c6469682a). (& tableau -> candidatescxx . . $ structOTGrammarTableau#candidates. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).2], numberOfConstraints, fliptrcxx . . $ `gram/OTGrammar_ex_tongueRoot.cpp:30:9`! (v1), v2);
128 /* First vowel flipped: violated one PARSE constraint. */
129 OTGrammarCandidate_initcxx . . $ OTGrammarCandidate_init(bfaffc3c6469682a). (& tableau -> candidatescxx . . $ structOTGrammarTableau#candidates. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).3], numberOfConstraints, v1, fliptrcxx . . $ `gram/OTGrammar_ex_tongueRoot.cpp:30:9`! (v2));
130 /* Second vowel flipped. */
131 OTGrammarCandidate_initcxx . . $ OTGrammarCandidate_init(bfaffc3c6469682a). (& tableau -> candidatescxx . . $ structOTGrammarTableau#candidates. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).4], numberOfConstraints, fliptrcxx . . $ `gram/OTGrammar_ex_tongueRoot.cpp:30:9`! (v1), fliptrcxx . . $ `gram/OTGrammar_ex_tongueRoot.cpp:30:9`! (v2));
132 /* Both vowels flipped. */
133 /*
134 Count PARSE violations.
135 */
136 if (isatrcxx . . $ `gram/OTGrammar_ex_tongueRoot.cpp:28:9`! (v1)) {
137 tableau -> candidatescxx . . $ structOTGrammarTableau#candidates. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).2]. markscxx . . $ structOTGrammarCandidate#marks. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).4] ++;
138 tableau -> candidatescxx . . $ structOTGrammarTableau#candidates. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).4]. markscxx . . $ structOTGrammarCandidate#marks. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).4] ++;
139 } else {
140 tableau -> candidatescxx . . $ structOTGrammarTableau#candidates. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).2]. markscxx . . $ structOTGrammarCandidate#marks. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).3] ++;
141 tableau -> candidatescxx . . $ structOTGrammarTableau#candidates. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).4]. markscxx . . $ structOTGrammarCandidate#marks. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).3] ++;
142 }
143 if (isatrcxx . . $ `gram/OTGrammar_ex_tongueRoot.cpp:28:9`! (v2)) {
144 tableau -> candidatescxx . . $ structOTGrammarTableau#candidates. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).3]. markscxx . . $ structOTGrammarCandidate#marks. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).4] ++;
145 tableau -> candidatescxx . . $ structOTGrammarTableau#candidates. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).4]. markscxx . . $ structOTGrammarCandidate#marks. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).4] ++;
146 } else {
147 tableau -> candidatescxx . . $ structOTGrammarTableau#candidates. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).3]. markscxx . . $ structOTGrammarCandidate#marks. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).3] ++;
148 tableau -> candidatescxx . . $ structOTGrammarTableau#candidates. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).4]. markscxx . . $ structOTGrammarCandidate#marks. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).3] ++;
149 }
150 itab ++;
151 }
152 }
153 OTGrammar_checkIndexcxx . . $ OTGrammar_checkIndex(17bef8f582790df). (me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).());
154 OTGrammar_newDisharmoniescxx . . $ OTGrammar_newDisharmonies(ebbb2d2a494dd028). (me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), 0.0);
155 for (integercxx . . $ integer# icons = 1; icons <= mycxx . . $ `melder/melder.h:44:9`! numberOfConstraintscxx . . $ structOTGrammar#numberOfConstraints.; icons ++)
156 mycxx . . $ `melder/melder.h:44:9`! constraintscxx . . $ structOTGrammar#constraints. [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).icons]. plasticitycxx . . $ structOTGrammarConstraint#plasticity. = 1.0;
157 return mecxx . . $ autoSomeThing#autoSomeThing(b79141a71f7bc86f).;
158 } catch (MelderErrorcxx . . $ MelderError#) {
159 Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"Tongue root grammar not created.");
160 }
161 }
162
163 /* End of file OTGrammar_ex_tongueRoot.cpp */