| 1 | package Lingua::Zompist::Barakhinei; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 2 | # vim:set sw=2 cin cinkeys-=0#: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 3 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 4 | 11 | ▶ | use 5.005; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 5 | 11 | ▶ | use strict; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 6 | # use re 'debug'; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 7 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 8 | 11 | require Exporter; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 9 | 11 | ▶ | use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 10 | 11 | ▶ | use vars qw($gendertab $pluraltab $rootconstab $subjtab); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 11 | 11 | ▶ | use vars qw($cadhctab $cadhgtab $cadhutab); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 12 | 11 | ▶ | use vars qw($classtab); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 13 | 11 | @ISA = qw(Exporter); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 14 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 15 | # Items to export into callers namespace by default. Note: do not export | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 16 | # names by default without a very good reason. Use EXPORT_OK instead. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 17 | # Do not simply export all your public functions/methods/constants. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 18 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 19 | # This allows declaration use Lingua::Zompist::Barakhinei ':all'; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 20 | # If you do not need this, moving things directly into @EXPORT or @EXPORT_OK | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 21 | # will save memory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 22 | 11 | %EXPORT_TAGS = ( | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 23 | 'tabs' => [ qw( | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 24 | $gendertab | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25 | $pluraltab | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 26 | $rootconstab | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 27 | $subjtab | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 28 | $cadhutab | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 29 | $cadhgtab | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 30 | $cadhctab | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 31 | ) ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 32 | 'all' => [ qw( | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 33 | demeric | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 34 | scrifel | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 35 | izhcrifel | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 36 | budemeric | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 37 | buscrifel | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 38 | befel | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 39 | part | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 40 | noun | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 41 | adj | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 42 | ) ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 43 | ); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 45 | 11 | push @{$EXPORT_TAGS{'all'}}, @{$EXPORT_TAGS{'tabs'}}; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 46 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47 | 11 | @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 48 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 49 | 11 | @EXPORT = qw( | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 50 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 51 | ); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 52 | 11 | $VERSION = '0.02'; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 53 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 54 | 11 | my %verb = (demeric => \&demeric, | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 55 | scrifel => \&scrifel, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 56 | izhcrifel => \&izhcrifel, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 57 | budemeric => \&budemeric, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 58 | buscrifel => \&buscrifel, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 59 | befel => \&befel, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 60 | part => \&part, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 61 | ); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 62 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 63 | 11 | my @persons = qw(sû lê ât ta mukh kâ); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 65 | 11 | my @cases = qw(nom gen acc dat); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 66 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 67 | 11 | my @numbers = qw(sing pl); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 68 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 69 | # Some handy things for -i- insertion and moving stress | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 70 | 11 | my $cons = qr/(?:[ctdsknlr]h|[pbtdkgfvszhmnlr])/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 71 | 11 | my $consend = qr/[hpbtdkgfvszhmnlr]$/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 72 | 11 | my $vow = qr/[aeiouâêîôûAEIOUÂÊÎÔÛ]/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 73 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 74 | # spirant forms | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 75 | 11 | my %spir = ( | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 76 | d => 'dh', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 77 | t => 'th', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 78 | p => 'v', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 79 | ); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 80 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 81 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 82 | # Verbs with stems ending in -c in Cadhinor | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 83 | 11 | $cadhctab = { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 84 | 'dichi' => 'DUCIR', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 85 | 'faichi' => 'FAUCIR', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 86 | 'farki' => 'FARCIR', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 87 | 'fênki' => 'VENCIR', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 88 | 'foka' => 'VOCAN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 89 | 'hashki' => 'HASCIR', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 90 | 'hêshki' => 'HESCIR', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 91 | 'kaoka' => 'CAUCAN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 92 | 'kashki' => 'KASCIR', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 93 | 'kêshkê' => 'KESCEN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 94 | 'krêshki' => 'CRESCIR', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 95 | 'lachê' => 'LACEN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 96 | 'lêshkê' => 'LESCEN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 97 | 'manka' => 'MANCAN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 98 | 'oloka' => 'OLOCAN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 99 | 'prechê' => 'PRECER', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 100 | 'rashki' => 'RASCIR', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 101 | 'shkolichê' => 'SCOLICER', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 102 | 'snuka' => 'SNUCAN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 103 | 'tôshkê' => 'TOSCEN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 104 | 'trankê' => 'TRANCEN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 105 | }; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 106 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 107 | # Verbs with stems ending in -g in Cadhinor | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 108 | 11 | $cadhgtab = { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 109 | 'benhi' => 'BENGIR', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 110 | 'briga' => 'BRIGAN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 111 | 'fachi' => 'VAGIR', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 112 | 'glonhê' => 'GLONGEC', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 113 | 'grochê' => 'GROGEC', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 114 | 'hachê' => 'IAGEN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 115 | 'ilhê' => 'ULGEC', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 116 | 'klachê' => 'CLAGER', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 117 | 'kochi' => 'COGIR', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 118 | 'krechê' => 'CREGEN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 119 | 'lega' => 'LEGAN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 120 | 'mêrgê' => 'MERGEN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 121 | 'nochê' => 'NOGEN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 122 | 'puga' => 'PUGAN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 123 | 'trachê' => 'TRAGEN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 124 | 'troga' => 'TROGAN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 125 | }; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 126 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 127 | # Verbs with stems ending in -uC in Cadhinor | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 128 | 11 | $cadhutab = { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 129 | 'burukha' => 'BURUKHAN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 130 | 'chidê' => 'CIUDER', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 131 | 'chura' => 'TURAN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 132 | 'dhirê' => 'DHUREC', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 133 | 'dichi' => 'DUCIR', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 134 | 'dimê' => 'DUMEC', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 135 | 'faichi' => 'FAUCIR', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 136 | 'faoba' => 'FAUBAN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 137 | 'fedhura' => 'VETHURAN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 138 | 'fura' => 'FURAN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 139 | 'glunti' => 'GLUNTIR', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 140 | 'gushta' => 'GUSTAN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 141 | 'hizi' => 'IUSIR', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 142 | 'idura' => 'IDURAN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 143 | 'ilhê' => 'ULGEC', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 144 | 'ilubra' => 'ILUBRAN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 145 | 'ishkuza' => 'ISKUSAN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 146 | 'izubrê' => 'ISUBREN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 147 | 'kaoka' => 'CAUCAN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 148 | 'kitê' => 'CUTEC', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 149 | 'kupi' => 'CULPIR', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 150 | 'kurê' => 'CURREC', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 151 | 'laoda' => 'LAUDAN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 152 | 'laota' => 'LAUTAN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 153 | 'liri' => 'LURIR', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 154 | 'lôndura' => 'LONDURAN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 155 | 'meundê' => 'MEHUNDEN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 156 | 'niri' => 'NURIR', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 157 | 'plii' => 'PLUHIR', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 158 | 'pua' => 'PUHAN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 159 | 'puga' => 'PUGAN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 160 | 'raola' => 'RAULAN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 161 | 'rênlaoda' => 'RENLAUDAN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 162 | 'rêshkuli' => 'RESCULLIR', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 163 | 'ridhê' => 'RUTHER', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 164 | 'rizundê' => 'RISUNDEN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 165 | 'shkechubrê' => 'SCEIUBREN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 166 | 'shpiri' => 'SPURIR', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 167 | 'sidi' => 'SUDIR', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 168 | 'snuka' => 'SNUCAN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 169 | 'subra' => 'SUBRAN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 170 | 'sudri' => 'SUDRIR', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 171 | 'taobrê' => 'TAUBREN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 172 | 'traoda' => 'TRAUDAN', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 173 | 'ubri' => 'UBRIR', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 174 | }; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 175 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 176 | # Verb classes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 177 | 11 | $classtab = { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 178 | }; # %class | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 179 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 180 | # Separate subjunctive stems | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 181 | 11 | $subjtab = { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 182 | 'achupua' => 'achupoa', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 183 | 'da' => 'dona', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 184 | 'dichi' => 'doki', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 185 | 'feriê' => 'fêrsê', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 186 | 'fôtê' => 'fêlsê', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 187 | 'hizi' => 'hôrsi', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 188 | 'ihmêta' => 'ihmêrsa', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 189 | 'kêshkê' => 'kêsê', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 190 | 'kolaoda' => 'koloda', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 191 | 'kudichi' => 'kudoki', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 192 | 'laoda' => 'loda', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 193 | 'lega' => 'loga', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 194 | 'lêshkê' => 'lêsê', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 195 | 'mêta' => 'mêrsa', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 196 | 'noê' => 'nozê', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 197 | 'pua' => 'poa', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 198 | 'puga' => 'poga', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 199 | 'rênlaoda' => 'rênloda', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 200 | 'rênlelê' => 'rênlêlsê', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 201 | 'shterê' => 'shtêrsê', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 202 | 'sôtê' => 'sêlsê', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 203 | 'subra' => 'sôbra', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 204 | 'tôshkê' => 'tôsê', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 205 | }; # $subjtab | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 206 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 207 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 208 | 11 | my %demeric = ( | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 209 | 'epeza' => [ qw( ûzâ ûzê epê epeza epezu ûzôn ) ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 210 | 'eza' => [ qw( sâ sê ê eza ezu sôn ) ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 211 | 'fâli' => [ qw( fâl fêl fêl fâlu fâlu fâlîn ) ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 212 | 'foli' => [ qw( ful ful fut folu folu folîn ) ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 213 | 'hizi' => [ qw( huz hu hut hizu hizu hizîn ) ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 214 | 'kedhê' => [ qw( kedhâ kedhê kedhu kedha kedhu kên ) ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 215 | 'lhibê' => [ qw( lhua lhû lhu lhubu lhubu lôn ) ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 216 | 'nhê' => [ qw( nhe ni ni nheza nhezu nhên ) ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 217 | 'oi' => [ qw( oh fi fit ou ou oîn ) ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 218 | 'shkrivê' => [ qw( shkriva shkri shkri shkrivu shkrivu shkrivôn ) ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 219 | 'shtanê' => [ qw( shtâ shtê shtê shtana shtanu shtôn ) ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 220 | 'rênshtanê' => [ qw( rênshtâ rênshtê rênshtê rênshtana rênshtanu rênshtôn ) ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 221 | ); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 222 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 223 | 23 | ▶ | sub demeric { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
demeric: called CC=44 SCAR=39.4
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 224 | 23 | my $verb = shift; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 225 | 23 | my $class = shift; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 226 | 23 | my $stem = $verb; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 227 | 23 | my $table; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 228 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 229 | 23 | ▶ | return $demeric{$verb} if exists $demeric{$verb}; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 230 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 231 | 12 | ▶ | if(! defined($class) && exists $classtab->{$verb}) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $class and exists $Lingua::Zompist::Barakhinei::classtab->{$verb}
MC/DC0%0/2
not defined $class and exists $Lingua::Zompist::Barakhinei::classtab->{$verb}
not defined $class
exists $Lingua::Zompist::Barakhinei::classtab->{$verb}
Truth table33%1/3
not(A) and B
A= not defined $classB= exists $Lingua::Zompist::Barakhinei::classtab->{$verb}
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 232 | 0 | $class = $classtab->{$verb}; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 233 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 234 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 235 | 12 | ▶ | $class = 2 if !defined($class) && $verb =~ /a$/; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $class and $verb =~ /a$/
MC/DC0%0/2
not defined $class and $verb =~ /a$/
not defined $class
$verb =~ /a$/
Truth table33%1/3
not(A) and B
A= not defined $classB= $verb =~ /a$/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 236 | 12 | ▶ | $class = 3 if !defined($class) && $verb =~ /ê$/; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $class and $verb =~ /\352$/
MC/DC0%0/2
not defined $class and $verb =~ /\352$/
not defined $class
$verb =~ /\352$/
Truth table33%1/3
not(A) and B
A= not defined $classB= $verb =~ /\352$/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 237 | 12 | ▶ | $class = 4 if !defined($class) && $verb =~ /i$/; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $class and $verb =~ /i$/
MC/DC0%0/2
not defined $class and $verb =~ /i$/
not defined $class
$verb =~ /i$/
Truth table33%1/3
not(A) and B
A= not defined $classB= $verb =~ /i$/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 238 | 12 | ▶ | $class = 0 unless defined $class; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 239 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 240 | 12 | ▶ | if($class == 1 && $stem =~ s/ê$//) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 5 branches
Condition66%2/3
$class == 1 and $stem =~ s/\352$//
MC/DC50%1/2
$class == 1 and $stem =~ s/\352$//
$class == 1
$stem =~ s/\352$//
Truth table66%2/3
A and B
A= $class == 1B= $stem =~ s/\352$//
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 241 | 2 | $table = [ map "$stem$_", qw( a û ê u u ôn ) ]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 242 | } elsif($stem =~ s/a$//) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 243 | 3 | $table = [ map "$stem$_", qw( â ê ê a u ôn ) ]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 244 | ▶ | } elsif($class == 3 && $stem =~ s/ê$//) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition66%2/3
$class == 3 and $stem =~ s/\352$//
MC/DC50%1/2
$class == 3 and $stem =~ s/\352$//
$class == 3
$stem =~ s/\352$//
Truth table66%2/3
A and B
A= $class == 3B= $stem =~ s/\352$//
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 245 | 2 | $table = [ map "$stem$_", qw( â ê ê a u ên ) ]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 246 | } elsif($stem =~ s/i$//) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 247 | 2 | $table = [ map "$stem$_", '', qw( û i u u în ) ]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 248 | ▶ | } elsif($class == 5 && $stem =~ s/ê$//) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition33%1/3
$class == 5 and $stem =~ s/\352$//
MC/DC0%0/2
$class == 5 and $stem =~ s/\352$//
$class == 5
$stem =~ s/\352$//
Truth table33%1/3
A and B
A= $class == 5B= $stem =~ s/\352$//
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 249 | 3 | $table = [ map "$stem$_", '', qw( û ê u u un ) ]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 250 | } else { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 251 | 0 | return; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 252 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 253 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 254 | # Cadhinor verbs in -c- and -g- | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 255 | 12 | ▶ | if($class == 1 || $class == 4 || $class == 5) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 2 branches
Condition100%6/6
$class == 1 or $class == 4 or $class == 5
$class == 1 or $class == 4
MC/DC100%3/3
$class == 1 or $class == 4 or $class == 5
$class == 1
$class == 4
$class == 5
Truth table100%4/4
A or B or C
A= $class == 1B= $class == 4C= $class == 5
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 256 | 7 | for(@{$table}[0,3,4,5]) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 257 | 28 | ▶ | if(exists $cadhctab->{$verb}) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 2 branches
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 258 | 4 | s/ch([auoâô]?n?)$/k$1/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 259 | } elsif(exists $cadhgtab->{$verb}) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 260 | 8 | s/ch([auoâô]?n?)$/g$1/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 261 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 262 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 263 | 7 | for(@{$table}[1,2]) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 264 | 14 | ▶ | if(exists $cadhctab->{$verb}) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 2 branches
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 265 | 2 | s/k([eiêîû]n?)$/ch$1/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 266 | } elsif(exists $cadhgtab->{$verb}) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 267 | 4 | s/g([eiêîû]n?)$/ch$1/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 268 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 269 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 270 | ▶ | } elsif($class == 2 || $class == 3) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition66%2/3
$class == 2 or $class == 3
MC/DC0%0/2
$class == 2 or $class == 3
$class == 2
$class == 3
Truth table66%2/3
A or B
A= $class == 2B= $class == 3
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 271 | 5 | for(@{$table}[0]) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 272 | 5 | ▶ | if(exists $cadhctab->{$verb}) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 2 branches
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 273 | 1 | s/ch([auoâô]?n?)$/k$1/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 274 | } elsif(exists $cadhgtab->{$verb}) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 275 | 1 | s/ch([auoâô]?n?)$/g$1/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 276 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 277 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 278 | 5 | for(@{$table}[1,2]) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 279 | 10 | ▶ | if(exists $cadhctab->{$verb}) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 2 branches
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 280 | 2 | s/k([eiêîû]n?)$/ch$1/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 281 | } elsif(exists $cadhgtab->{$verb}) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 282 | 2 | s/g([eiêîû]n?)$/ch$1/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 283 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 284 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 285 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 286 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 287 | 12 | for(@$table) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 288 | 72 | s/shtu$/kchu/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 289 | 72 | s/sht$/ch/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 290 | 72 | s/g$/k/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 291 | 72 | s/b$/p/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 292 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 293 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 294 | # spirantise -d -t -p in 4th and 5th conjugation | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 295 | 12 | ▶ | if(($class == 4 || $class == 5) && $verb =~ /$vow[dtp][êai]$/o) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition100%6/6
$class == 4 || $class == 5 and $verb =~ /${vow}[dtp][\352ai]$/o
$class == 4 or $class == 5
MC/DC66%2/3
$class == 4 || $class == 5 and $verb =~ /${vow}[dtp][\352ai]$/o
$class == 4
$class == 5
$verb =~ /${vow}[dtp][\352ai]$/o
Truth table80%4/5
A or B and C
A= $class == 4B= $class == 5C= $verb =~ /${vow}[dtp][\352ai]$/o
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 296 | 1 | for($table->[0]) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 297 | 1 | s/d$/dh/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 298 | 1 | s/t$/th/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 299 | 1 | s/p$/f/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 300 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 301 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 302 | 1 | for(@{$table}[3,4,5]) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 303 | 3 | s/d(un?|în)$/dh$1/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 304 | 3 | s/t(un?|în)$/th$1/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 305 | 3 | s/p(un?|în)$/v$1/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 306 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 307 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 308 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 309 | # front and back vowel alternations for Cadhinor verbs in -u- | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 310 | 12 | ▶ | if(exists $cadhutab->{$verb}) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 311 | 2 | for(@$table) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 312 | 12 | s/i($cons+[aouâôû]?)$/o$1/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 313 | 12 | s/u($cons+[êiî]n?)$/i$1/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 314 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 315 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 316 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 317 | 12 | return $table; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 318 | } # demeric | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 319 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 320 | 11 | my %scrifel = ( | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 321 | 'epeza' => [ qw( ûzi ûzi epâ ûzu ûzê ûzîn ) ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 322 | 'eza' => [ qw( fuch fuch fâ fu fuê fûn ) ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 323 | 'kedhê' => [ qw( kedhi kedhi kiâ kedhu kedhê kedhîn ) ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 324 | ); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 325 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 326 | 15 | ▶ | sub scrifel { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
scrifel: called CC=35 SCAR=37.9
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 327 | 15 | my $verb = shift; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 328 | 15 | my $class = shift; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 329 | 15 | my $stem = $verb; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 330 | 15 | my $table; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 331 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 332 | 15 | ▶ | return $scrifel{$verb} if exists $scrifel{$verb}; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 333 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 334 | 12 | ▶ | if(! defined($class) && exists $classtab->{$verb}) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $class and exists $Lingua::Zompist::Barakhinei::classtab->{$verb}
MC/DC0%0/2
not defined $class and exists $Lingua::Zompist::Barakhinei::classtab->{$verb}
not defined $class
exists $Lingua::Zompist::Barakhinei::classtab->{$verb}
Truth table33%1/3
not(A) and B
A= not defined $classB= exists $Lingua::Zompist::Barakhinei::classtab->{$verb}
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 335 | 0 | $class = $classtab->{$verb}; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 336 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 337 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 338 | 12 | ▶ | $class = 2 if !defined($class) && $verb =~ /a$/; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $class and $verb =~ /a$/
MC/DC0%0/2
not defined $class and $verb =~ /a$/
not defined $class
$verb =~ /a$/
Truth table33%1/3
not(A) and B
A= not defined $classB= $verb =~ /a$/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 339 | 12 | ▶ | $class = 3 if !defined($class) && $verb =~ /ê$/; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $class and $verb =~ /\352$/
MC/DC0%0/2
not defined $class and $verb =~ /\352$/
not defined $class
$verb =~ /\352$/
Truth table33%1/3
not(A) and B
A= not defined $classB= $verb =~ /\352$/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 340 | 12 | ▶ | $class = 4 if !defined($class) && $verb =~ /i$/; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $class and $verb =~ /i$/
MC/DC0%0/2
not defined $class and $verb =~ /i$/
not defined $class
$verb =~ /i$/
Truth table33%1/3
not(A) and B
A= not defined $classB= $verb =~ /i$/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 341 | 12 | ▶ | $class = 0 unless defined $class; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 342 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 343 | 12 | ▶ | if($class == 1 && $stem =~ s/ê$//) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 5 branches
Condition66%2/3
$class == 1 and $stem =~ s/\352$//
MC/DC50%1/2
$class == 1 and $stem =~ s/\352$//
$class == 1
$stem =~ s/\352$//
Truth table66%2/3
A and B
A= $class == 1B= $stem =~ s/\352$//
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 344 | 4 | $table = [ map "$stem$_", qw( i î ), '', qw( ê ê în ) ]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 345 | } elsif($stem =~ s/a$//) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 346 | 2 | $table = [ map "$stem$_", qw( i i â u ê în ) ]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 347 | ▶ | } elsif($class == 3 && $stem =~ s/ê$//) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition66%2/3
$class == 3 and $stem =~ s/\352$//
MC/DC50%1/2
$class == 3 and $stem =~ s/\352$//
$class == 3
$stem =~ s/\352$//
Truth table66%2/3
A and B
A= $class == 3B= $stem =~ s/\352$//
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 348 | 2 | $table = [ map "$stem$_", qw( i i â u ê în ) ]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 349 | } elsif($stem =~ s/i$//) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 350 | 2 | $table = [ map "$stem$_", qw( i ê â ê ê ên ) ]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 351 | ▶ | } elsif($class == 5 && $stem =~ s/ê$//) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition33%1/3
$class == 5 and $stem =~ s/\352$//
MC/DC0%0/2
$class == 5 and $stem =~ s/\352$//
$class == 5
$stem =~ s/\352$//
Truth table33%1/3
A and B
A= $class == 5B= $stem =~ s/\352$//
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 352 | 2 | $table = [ map "$stem$_", qw( i ê ), '', qw( ê ê ên ) ]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 353 | } else { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 354 | 0 | return; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 355 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 356 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 357 | # Cadhinor verbs in -c- and -g- | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 358 | 12 | ▶ | if($class == 1 || $class == 2 || $class == 3) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 2 branches
Condition100%6/6
$class == 1 or $class == 2 or $class == 3
$class == 1 or $class == 2
MC/DC100%3/3
$class == 1 or $class == 2 or $class == 3
$class == 1
$class == 2
$class == 3
Truth table100%4/4
A or B or C
A= $class == 1B= $class == 2C= $class == 3
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 359 | 8 | for(@$table) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 360 | 48 | ▶ | if(exists $cadhctab->{$verb}) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 2 branches
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 361 | 6 | s/ch([êâu]?)$/k$1/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 362 | 6 | s/k([iî]n?)$/ch$1/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 363 | } elsif(exists $cadhgtab->{$verb}) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 364 | 12 | s/ch([êâu]?)$/g$1/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 365 | 12 | s/g([iî]n?)$/ch$1/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 366 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 367 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 368 | } elsif($class == 4) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 369 | 2 | for(@{$table}[2]) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 370 | 2 | ▶ | if(exists $cadhctab->{$verb}) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 2 branches
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 371 | 1 | s/ch(â)$/k$1/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 372 | } elsif(exists $cadhgtab->{$verb}) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 373 | 0 | s/ch(â)$/g$1/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 374 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 375 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 376 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 377 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 378 | 12 | for(@$table) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 379 | 72 | s/shtu$/kchu/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 380 | 72 | s/g$/k/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 381 | 72 | s/b$/p/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 382 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 383 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 384 | # -sht --> -ch in III.sg for 1st conjugation | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 385 | # spirantise -d -t -p in 1st conjugation | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 386 | 12 | ▶ | if($class == 1) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 387 | 4 | for($table->[2]) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 388 | 4 | s/sht$/ch/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 389 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 390 | 4 | ▶ | if($verb =~ /$vow[dtp][êai]$/o) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 391 | 1 | s/d$/dh/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 392 | 1 | s/t$/th/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 393 | 1 | s/p$/f/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 394 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 395 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 396 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 397 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 398 | # front and back vowel alternations for Cadhinor verbs in -u- | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 399 | 12 | ▶ | if(exists $cadhutab->{$verb}) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 400 | 1 | for(@$table) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 401 | 6 | s/i($cons+[uâ]?)$/o$1/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 402 | 6 | s/u($cons+[êiî]n?)$/i$1/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 403 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 404 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 405 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 406 | 12 | return $table; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 407 | } # scrifel | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 408 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 409 | 11 | my %izhcrifel = ( | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 410 | 'eza' => [ qw( firi firi furâ furu furê firiôn ) ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 411 | ); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 412 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 413 | 6 | ▶ | sub izhcrifel { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
izhcrifel: called CC=19 SCAR=34.4
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 414 | 6 | my $verb = shift; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 415 | 6 | my $class = shift; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 416 | 6 | my $stem = $verb; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 417 | 6 | my $table; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 418 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 419 | 6 | ▶ | return $izhcrifel{$verb} if exists $izhcrifel{$verb}; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 420 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 421 | 5 | ▶ | if(! defined($class) && exists $classtab->{$verb}) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $class and exists $Lingua::Zompist::Barakhinei::classtab->{$verb}
MC/DC0%0/2
not defined $class and exists $Lingua::Zompist::Barakhinei::classtab->{$verb}
not defined $class
exists $Lingua::Zompist::Barakhinei::classtab->{$verb}
Truth table33%1/3
not(A) and B
A= not defined $classB= exists $Lingua::Zompist::Barakhinei::classtab->{$verb}
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 422 | 0 | $class = $classtab->{$verb}; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 423 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 424 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 425 | 5 | ▶ | $class = 2 if !defined($class) && $verb =~ /a$/; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $class and $verb =~ /a$/
MC/DC0%0/2
not defined $class and $verb =~ /a$/
not defined $class
$verb =~ /a$/
Truth table33%1/3
not(A) and B
A= not defined $classB= $verb =~ /a$/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 426 | 5 | ▶ | $class = 3 if !defined($class) && $verb =~ /ê$/; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $class and $verb =~ /\352$/
MC/DC0%0/2
not defined $class and $verb =~ /\352$/
not defined $class
$verb =~ /\352$/
Truth table33%1/3
not(A) and B
A= not defined $classB= $verb =~ /\352$/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 427 | 5 | ▶ | $class = 4 if !defined($class) && $verb =~ /i$/; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $class and $verb =~ /i$/
MC/DC0%0/2
not defined $class and $verb =~ /i$/
not defined $class
$verb =~ /i$/
Truth table33%1/3
not(A) and B
A= not defined $classB= $verb =~ /i$/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 428 | 5 | ▶ | $class = 0 unless defined $class; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 429 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 430 | 5 | ▶ | if($class == 1 && $stem =~ s/ê$//) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 5 branches
Condition66%2/3
$class == 1 and $stem =~ s/\352$//
MC/DC50%1/2
$class == 1 and $stem =~ s/\352$//
$class == 1
$stem =~ s/\352$//
Truth table66%2/3
A and B
A= $class == 1B= $stem =~ s/\352$//
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 431 | 1 | $table = [ map "$stem$_", qw( ri rî êr rê rê rîn ) ]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 432 | } elsif($stem =~ s/a$//) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 433 | 1 | $table = [ map "$stem$_", qw( ri ri râ ru rê rîn ) ]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 434 | ▶ | } elsif($class == 3 && $stem =~ s/ê$//) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition66%2/3
$class == 3 and $stem =~ s/\352$//
MC/DC50%1/2
$class == 3 and $stem =~ s/\352$//
$class == 3
$stem =~ s/\352$//
Truth table66%2/3
A and B
A= $class == 3B= $stem =~ s/\352$//
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 435 | 1 | $table = [ map "$stem$_", qw( ri ri râ ru rê rîn ) ]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 436 | } elsif($stem =~ s/i$//) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 437 | 1 | $table = [ map "$stem$_", qw( ri rê râ rê rê rên ) ]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 438 | ▶ | } elsif($class == 5 && $stem =~ s/ê$//) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition33%1/3
$class == 5 and $stem =~ s/\352$//
MC/DC0%0/2
$class == 5 and $stem =~ s/\352$//
$class == 5
$stem =~ s/\352$//
Truth table33%1/3
A and B
A= $class == 5B= $stem =~ s/\352$//
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 439 | 1 | $table = [ map "$stem$_", qw( ri rê êr rê rê rên ) ]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 440 | } else { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 441 | 0 | return; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 442 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 443 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 444 | 5 | return $table; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 445 | } # izhcrifel | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 446 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 447 | 11 | my %budemeric = ( | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 448 | 'eza' => [ qw( êshta êshtê êshtê êshta êshtu êshtôn ) ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 449 | ); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 450 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 451 | 6 | ▶ | sub budemeric { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
budemeric: called CC=22 SCAR=35.3
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 452 | 6 | my $verb = shift; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 453 | 6 | my $class = shift; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 454 | 6 | my $stem = $verb; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 455 | 6 | my $table; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 456 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 457 | 6 | ▶ | return $budemeric{$verb} if exists $budemeric{$verb}; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 458 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 459 | 5 | ▶ | return demeric($subjtab->{$verb}, $class) if exists $subjtab->{$verb}; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 460 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 461 | 5 | ▶ | if(! defined($class) && exists $classtab->{$verb}) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $class and exists $Lingua::Zompist::Barakhinei::classtab->{$verb}
MC/DC0%0/2
not defined $class and exists $Lingua::Zompist::Barakhinei::classtab->{$verb}
not defined $class
exists $Lingua::Zompist::Barakhinei::classtab->{$verb}
Truth table33%1/3
not(A) and B
A= not defined $classB= exists $Lingua::Zompist::Barakhinei::classtab->{$verb}
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 462 | 0 | $class = $classtab->{$verb}; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 463 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 464 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 465 | 5 | ▶ | $class = 2 if !defined($class) && $verb =~ /a$/; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $class and $verb =~ /a$/
MC/DC0%0/2
not defined $class and $verb =~ /a$/
not defined $class
$verb =~ /a$/
Truth table33%1/3
not(A) and B
A= not defined $classB= $verb =~ /a$/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 466 | 5 | ▶ | $class = 3 if !defined($class) && $verb =~ /ê$/; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $class and $verb =~ /\352$/
MC/DC0%0/2
not defined $class and $verb =~ /\352$/
not defined $class
$verb =~ /\352$/
Truth table33%1/3
not(A) and B
A= not defined $classB= $verb =~ /\352$/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 467 | 5 | ▶ | $class = 4 if !defined($class) && $verb =~ /i$/; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $class and $verb =~ /i$/
MC/DC0%0/2
not defined $class and $verb =~ /i$/
not defined $class
$verb =~ /i$/
Truth table33%1/3
not(A) and B
A= not defined $classB= $verb =~ /i$/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 468 | 5 | ▶ | $class = 0 unless defined $class; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 469 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 470 | 5 | ▶ | if($class == 1 && $stem =~ s/ê$/t/) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 5 branches
Condition66%2/3
$class == 1 and $stem =~ s/\352$/t/
MC/DC50%1/2
$class == 1 and $stem =~ s/\352$/t/
$class == 1
$stem =~ s/\352$/t/
Truth table66%2/3
A and B
A= $class == 1B= $stem =~ s/\352$/t/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 471 | 1 | $table = [ map "$stem$_", qw( a ê ê u u ôn ) ]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 472 | } elsif($stem =~ s/a$/m/) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 473 | 1 | $table = [ map "$stem$_", qw( â ê ê a u ôn ) ]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 474 | ▶ | } elsif($class == 3 && $stem =~ s/ê$/m/) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition66%2/3
$class == 3 and $stem =~ s/\352$/m/
MC/DC50%1/2
$class == 3 and $stem =~ s/\352$/m/
$class == 3
$stem =~ s/\352$/m/
Truth table66%2/3
A and B
A= $class == 3B= $stem =~ s/\352$/m/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 475 | 1 | $table = [ map "$stem$_", qw( â ê ê a u ên ) ]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 476 | } elsif($stem =~ s/i$/t/) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 477 | 1 | $table = [ map "$stem$_", '', '', qw( i u u în ) ]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 478 | 1 | for(@$table) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 479 | 6 | s/t$/ech/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 480 | 6 | s/tu$/chu/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 481 | 6 | s/t(ti|chu|tîn)$/$1/; # for beshti | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 482 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 483 | ▶ | } elsif($class == 5 && $stem =~ s/ê$/t/) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition33%1/3
$class == 5 and $stem =~ s/\352$/t/
MC/DC0%0/2
$class == 5 and $stem =~ s/\352$/t/
$class == 5
$stem =~ s/\352$/t/
Truth table33%1/3
A and B
A= $class == 5B= $stem =~ s/\352$/t/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 484 | 1 | $table = [ map "$stem$_", '', '', qw( i u u în ) ]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 485 | 1 | for(@$table) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 486 | 6 | s/t$/ech/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 487 | 6 | s/tu$/chu/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 488 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 489 | } else { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 490 | 0 | return; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 491 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 492 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 493 | 5 | return $table; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 494 | } # budemeric | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 495 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 496 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 497 | 11 | my %buscrifel = ( | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 498 | 'eza' => [ qw( êshka êshkê êshkê êshka êshku êshkôn ) ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 499 | ); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 500 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 501 | 6 | ▶ | sub buscrifel { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
buscrifel: called CC=23 SCAR=36.0
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 502 | 6 | my $verb = shift; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 503 | 6 | my $class = shift; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 504 | 6 | my $stem = $verb; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 505 | 6 | my $table; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 506 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 507 | 6 | ▶ | return $buscrifel{$verb} if exists $buscrifel{$verb}; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 508 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 509 | 5 | ▶ | return scrifel($subjtab->{$verb}, $class) if exists $subjtab->{$verb}; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 510 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 511 | 5 | ▶ | if(! defined($class) && exists $classtab->{$verb}) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $class and exists $Lingua::Zompist::Barakhinei::classtab->{$verb}
MC/DC0%0/2
not defined $class and exists $Lingua::Zompist::Barakhinei::classtab->{$verb}
not defined $class
exists $Lingua::Zompist::Barakhinei::classtab->{$verb}
Truth table33%1/3
not(A) and B
A= not defined $classB= exists $Lingua::Zompist::Barakhinei::classtab->{$verb}
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 512 | 0 | $class = $classtab->{$verb}; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 513 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 514 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 515 | 5 | ▶ | $class = 2 if !defined($class) && $verb =~ /a$/; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $class and $verb =~ /a$/
MC/DC0%0/2
not defined $class and $verb =~ /a$/
not defined $class
$verb =~ /a$/
Truth table33%1/3
not(A) and B
A= not defined $classB= $verb =~ /a$/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 516 | 5 | ▶ | $class = 3 if !defined($class) && $verb =~ /ê$/; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $class and $verb =~ /\352$/
MC/DC0%0/2
not defined $class and $verb =~ /\352$/
not defined $class
$verb =~ /\352$/
Truth table33%1/3
not(A) and B
A= not defined $classB= $verb =~ /\352$/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 517 | 5 | ▶ | $class = 4 if !defined($class) && $verb =~ /i$/; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $class and $verb =~ /i$/
MC/DC0%0/2
not defined $class and $verb =~ /i$/
not defined $class
$verb =~ /i$/
Truth table33%1/3
not(A) and B
A= not defined $classB= $verb =~ /i$/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 518 | 5 | ▶ | $class = 0 unless defined $class; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 519 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 520 | 5 | ▶ | if($class == 1 && $stem =~ s/ê$/k/) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 5 branches
Condition66%2/3
$class == 1 and $stem =~ s/\352$/k/
MC/DC50%1/2
$class == 1 and $stem =~ s/\352$/k/
$class == 1
$stem =~ s/\352$/k/
Truth table66%2/3
A and B
A= $class == 1B= $stem =~ s/\352$/k/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 521 | 1 | $table = [ map "$stem$_", qw( a ê ê u u ôn ) ]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 522 | 1 | for(@$table) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 523 | 6 | s/kê$/chê/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 524 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 525 | } elsif($stem =~ s/a$/n/) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 526 | 1 | $table = [ map "$stem$_", qw( â ê ê a u ôn ) ]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 527 | ▶ | } elsif($class == 3 && $stem =~ s/ê$/n/) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition66%2/3
$class == 3 and $stem =~ s/\352$/n/
MC/DC50%1/2
$class == 3 and $stem =~ s/\352$/n/
$class == 3
$stem =~ s/\352$/n/
Truth table66%2/3
A and B
A= $class == 3B= $stem =~ s/\352$/n/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 528 | 1 | $table = [ map "$stem$_", qw( â ê ê a u ên ) ]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 529 | } elsif($stem =~ s/i$/r/) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 530 | 1 | $table = [ map "$stem$_", '', '', qw( i u u în ) ]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 531 | 1 | for(@$table) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 532 | 6 | s/r$/ir/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 533 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 534 | ▶ | } elsif($class == 5 && $stem =~ s/ê$/r/) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition33%1/3
$class == 5 and $stem =~ s/\352$/r/
MC/DC0%0/2
$class == 5 and $stem =~ s/\352$/r/
$class == 5
$stem =~ s/\352$/r/
Truth table33%1/3
A and B
A= $class == 5B= $stem =~ s/\352$/r/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 535 | 1 | $table = [ map "$stem$_", '', '', qw( i u u în ) ]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 536 | 1 | for(@$table) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 537 | 6 | s/r$/ir/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 538 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 539 | } else { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 540 | 0 | return; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 541 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 542 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 543 | 5 | return $table; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 544 | } # bucrifel | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 545 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 546 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 547 | 11 | my %befel = ( | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 548 | ); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 549 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 550 | 6 | ▶ | sub befel { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
befel: called CC=26 SCAR=37.1
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 551 | 6 | my $verb = shift; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 552 | 6 | my $class = shift; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 553 | 6 | my $stem = $verb; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 554 | 6 | my $table; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 555 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 556 | 6 | ▶ | return $befel{$verb} if exists $befel{$verb}; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 557 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 558 | 6 | ▶ | if(! defined($class) && exists $classtab->{$verb}) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $class and exists $Lingua::Zompist::Barakhinei::classtab->{$verb}
MC/DC0%0/2
not defined $class and exists $Lingua::Zompist::Barakhinei::classtab->{$verb}
not defined $class
exists $Lingua::Zompist::Barakhinei::classtab->{$verb}
Truth table33%1/3
not(A) and B
A= not defined $classB= exists $Lingua::Zompist::Barakhinei::classtab->{$verb}
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 559 | 0 | $class = $classtab->{$verb}; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 560 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 561 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 562 | 6 | ▶ | $class = 2 if !defined($class) && $verb =~ /a$/; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $class and $verb =~ /a$/
MC/DC0%0/2
not defined $class and $verb =~ /a$/
not defined $class
$verb =~ /a$/
Truth table33%1/3
not(A) and B
A= not defined $classB= $verb =~ /a$/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 563 | 6 | ▶ | $class = 3 if !defined($class) && $verb =~ /ê$/; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $class and $verb =~ /\352$/
MC/DC0%0/2
not defined $class and $verb =~ /\352$/
not defined $class
$verb =~ /\352$/
Truth table33%1/3
not(A) and B
A= not defined $classB= $verb =~ /\352$/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 564 | 6 | ▶ | $class = 4 if !defined($class) && $verb =~ /i$/; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $class and $verb =~ /i$/
MC/DC0%0/2
not defined $class and $verb =~ /i$/
not defined $class
$verb =~ /i$/
Truth table33%1/3
not(A) and B
A= not defined $classB= $verb =~ /i$/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 565 | 6 | ▶ | $class = 0 unless defined $class; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 566 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 567 | 6 | ▶ | if($class == 1 && $stem =~ s/ê$//) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 5 branches
Condition66%2/3
$class == 1 and $stem =~ s/\352$//
MC/DC50%1/2
$class == 1 and $stem =~ s/\352$//
$class == 1
$stem =~ s/\352$//
Truth table66%2/3
A and B
A= $class == 1B= $stem =~ s/\352$//
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 568 | 1 | $table = [ map "$stem$_", '', '', 'a', '', 'êl', 'an' ]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 569 | } elsif($stem =~ s/a$//) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 570 | 2 | $table = [ map "$stem$_", '', '', 'a', '', 'el', 'an' ]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 571 | ▶ | } elsif($class == 3 && $stem =~ s/ê$//) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition66%2/3
$class == 3 and $stem =~ s/\352$//
MC/DC50%1/2
$class == 3 and $stem =~ s/\352$//
$class == 3
$stem =~ s/\352$//
Truth table66%2/3
A and B
A= $class == 3B= $stem =~ s/\352$//
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 572 | 1 | $table = [ map "$stem$_", '', '', 'a', '', 'el', 'an' ]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 573 | } elsif($stem =~ s/i$//) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 574 | 1 | $table = [ map "$stem$_", '', '', 'a', '', 'u', 'an' ]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 575 | ▶ | } elsif($class == 5 && $stem =~ s/ê$//) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition33%1/3
$class == 5 and $stem =~ s/\352$//
MC/DC0%0/2
$class == 5 and $stem =~ s/\352$//
$class == 5
$stem =~ s/\352$//
Truth table33%1/3
A and B
A= $class == 5B= $stem =~ s/\352$//
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 576 | 1 | $table = [ map "$stem$_", '', '', 'a', '', 'u', 'an' ]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 577 | } else { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 578 | 0 | return; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 579 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 580 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 581 | 6 | for(@$table) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 582 | # Cadhinor verbs in -c- and -g- | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 583 | 36 | ▶ | if(exists $cadhctab->{$verb}) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 2 branches
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 584 | 0 | s/k([eiêîû]?)$/ch/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 585 | } elsif(exists $cadhgtab->{$verb}) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 586 | 0 | s/g([eiêîû]?)$/ch/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 587 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 588 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 589 | 36 | s/shtu$/kchu/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 590 | 36 | s/sht(an?)$/kch$1/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 591 | 36 | s/sht$/ch/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 592 | 36 | s/g$/k/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 593 | 36 | s/b$/p/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 594 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 595 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 596 | # front and back vowel alternation in II.sg of 2nd and 3rd conjugation | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 597 | 6 | ▶ | if($verb =~ /a$/ || $class == 3) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition100%3/3
$verb =~ /a$/ or $class == 3
MC/DC100%2/2
$verb =~ /a$/ or $class == 3
$verb =~ /a$/
$class == 3
Truth table100%3/3
A or B
A= $verb =~ /a$/B= $class == 3
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 598 | 3 | for($table->[1]) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 599 | 3 | s/u($cons+)$/i$1/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 600 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 601 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 602 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 603 | # front and back vowel alternations in III.sg + III.pl | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 604 | # and spirantisation | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 605 | 6 | for(@{$table}[2,5]) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 606 | 12 | s/([dtp])(an?)$/$spir{$1}$2/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 607 | 12 | s/u($cons+an?)$/i$1/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 608 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 609 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 610 | # I.sg and I.pl don't exist | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 611 | 6 | @{$table}[0,3] = (undef, undef); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 612 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 613 | 6 | return $table; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 614 | } # befel | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 615 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 616 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 617 | 11 | my %part = ( | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 618 | ); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 619 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 620 | # Participles | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 621 | 10 | ▶ | sub part { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
part: called CC=23 SCAR=39.4
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 622 | 10 | my $verb = shift; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 623 | 10 | my $class = shift; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 624 | 10 | my $stem = $verb; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 625 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 626 | 10 | my($present, $past); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 627 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 628 | 10 | ▶ | if(exists $part{$verb}) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 629 | 0 | ($present, $past) = @{ $part{$verb} }; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 630 | } else { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 631 | 10 | ▶ | if(! defined($class) && exists $classtab->{$verb}) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $class and exists $Lingua::Zompist::Barakhinei::classtab->{$verb}
MC/DC0%0/2
not defined $class and exists $Lingua::Zompist::Barakhinei::classtab->{$verb}
not defined $class
exists $Lingua::Zompist::Barakhinei::classtab->{$verb}
Truth table33%1/3
not(A) and B
A= not defined $classB= exists $Lingua::Zompist::Barakhinei::classtab->{$verb}
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 632 | 0 | $class = $classtab->{$verb}; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 633 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 634 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 635 | 10 | ▶ | $class = 2 if !defined($class) && $verb =~ /a$/; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $class and $verb =~ /a$/
MC/DC0%0/2
not defined $class and $verb =~ /a$/
not defined $class
$verb =~ /a$/
Truth table33%1/3
not(A) and B
A= not defined $classB= $verb =~ /a$/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 636 | 10 | ▶ | $class = 3 if !defined($class) && $verb =~ /ê$/; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $class and $verb =~ /\352$/
MC/DC0%0/2
not defined $class and $verb =~ /\352$/
not defined $class
$verb =~ /\352$/
Truth table33%1/3
not(A) and B
A= not defined $classB= $verb =~ /\352$/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 637 | 10 | ▶ | $class = 4 if !defined($class) && $verb =~ /i$/; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $class and $verb =~ /i$/
MC/DC0%0/2
not defined $class and $verb =~ /i$/
not defined $class
$verb =~ /i$/
Truth table33%1/3
not(A) and B
A= not defined $classB= $verb =~ /i$/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 638 | 10 | ▶ | $class = 0 unless defined $class; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 639 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 640 | 10 | ▶ | if($class == 1 && $stem =~ s/ê$//) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 5 branches
Condition66%2/3
$class == 1 and $stem =~ s/\352$//
MC/DC50%1/2
$class == 1 and $stem =~ s/\352$//
$class == 1
$stem =~ s/\352$//
Truth table66%2/3
A and B
A= $class == 1B= $stem =~ s/\352$//
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 641 | 2 | ($past, $present) = map "$stem$_", 'êl', 'il'; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 642 | } elsif($stem =~ s/a$//) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 643 | 2 | ($past, $present) = map "$stem$_", 'u', 'ê'; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 644 | ▶ | } elsif($class == 3 && $stem =~ s/ê$//) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition66%2/3
$class == 3 and $stem =~ s/\352$//
MC/DC50%1/2
$class == 3 and $stem =~ s/\352$//
$class == 3
$stem =~ s/\352$//
Truth table66%2/3
A and B
A= $class == 3B= $stem =~ s/\352$//
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 645 | 2 | ($past, $present) = map "$stem$_", 'u', 'ê'; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 646 | } elsif($stem =~ s/i$//) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 647 | 2 | ($past, $present) = map "$stem$_", 'u', 'i'; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 648 | ▶ | } elsif($class == 5 && $stem =~ s/ê$//) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition33%1/3
$class == 5 and $stem =~ s/\352$//
MC/DC0%0/2
$class == 5 and $stem =~ s/\352$//
$class == 5
$stem =~ s/\352$//
Truth table33%1/3
A and B
A= $class == 5B= $stem =~ s/\352$//
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 649 | 2 | ($past, $present) = map "$stem$_", 'êl', 'ê'; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 650 | } else { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 651 | 0 | return; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 652 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 653 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 654 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 655 | 10 | for($past, $present) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 656 | # Cadhinor verbs in -c- and -g- | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 657 | 20 | ▶ | if(exists $cadhctab->{$verb}) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 2 branches
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 658 | 0 | s/ch([auoâô])$/k/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 659 | 0 | s/k([eiêîû])$/ch/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 660 | } elsif(exists $cadhgtab->{$verb}) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 661 | 0 | s/ch([auoâô]?)$/g/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 662 | 0 | s/g([eiêîû])$/ch/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 663 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 664 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 665 | 20 | s/shtu$/kchu/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 666 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 667 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 668 | 10 | ▶ | return wantarray ? ($present, $past) : [ $present, $past ]; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 669 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 670 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 671 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 672 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 673 | 11 | $gendertab = { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 674 | 'âshta' => 'masc', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 675 | 'eli' => 'masc', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 676 | 'lônd' => 'masc', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 677 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 678 | 'kal' => 'neut', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 679 | 'manu' => 'neut', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 680 | 'nôshti' => 'neut', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 681 | 'shkor' => 'neut', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 682 | 'shpâ' => 'neut', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 683 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 684 | 'chir' => 'fem', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 685 | 'elorê' => 'fem', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 686 | 'kabrâ' => 'fem', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 687 | 'medhi' => 'fem', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 688 | 'nor' => 'fem', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 689 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 690 | 'achel' => 'fem', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 691 | 'acher' => 'masc', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 692 | 'Achirê' => 'fem', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 693 | 'âdh' => 'masc', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 694 | 'âdhechu' => 'masc', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 695 | 'adipa' => 'masc', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 696 | 'adlelek' => 'fem', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 697 | 'adlelu' => 'fem', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 698 | 'air' => 'fem', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 699 | }; # $gendertab | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 700 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 701 | 11 | $pluraltab = { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 702 | 'âshta' => 'âshtâ', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 703 | 'eli' => 'eliri', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 704 | 'lônd' => 'lôndi', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 705 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 706 | 'kal' => 'kalo', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 707 | 'manu' => 'mani', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 708 | 'nôshti' => 'nôkchu', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 709 | 'shkor' => 'shkoru', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 710 | 'shpâ' => 'shpao', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 711 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 712 | 'chir' => 'chirâ', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 713 | 'elorê' => 'eloriê', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 714 | 'kabrâ' => 'kabrachâ', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 715 | 'medhi' => 'medhiê', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 716 | 'nor' => 'norê', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 717 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 718 | 'âdhechu' => 'âdhechuni', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 719 | }; # $pluraltab | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 720 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 721 | 64 | ▶ | sub noun { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
noun: called CC=91 SCAR=74.6
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 722 | 64 | my $noun = shift; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 723 | 64 | my $gender = shift; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 724 | 64 | my $plural = shift; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 725 | 64 | my $table; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 726 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 727 | # is it a pronoun? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 728 | # nom acc dat gen nom acc/dat gen | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 729 | 64 | ▶ | return [ qw( sû sêth sû (eri) ta tâ (tandê) ) ] if $noun eq 'sû'; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 730 | 63 | ▶ | return [ qw( lê êk lê (leri) mukh mî (mundê) ) ] if $noun eq 'lê'; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 731 | 62 | ▶ | return [ qw( ât âtô âta âti kâ kâ (kandê) ) ] if $noun eq 'ât'; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 732 | 61 | ▶ | return [ qw( tot tô tota toti kâ kâ (kandê) ) ] if $noun eq 'tot'; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 733 | 60 | ▶ | return [ qw( kêt kêtô kêta kêti ), (undef) x 3 ] if $noun eq 'kêt'; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 734 | 59 | ▶ | return [ qw( ta tâ tao (tandê) ), (undef) x 3 ] if $noun eq 'ta'; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 735 | 58 | ▶ | return [ qw( mukh mî mî (mundê) ), (undef) x 3 ] if $noun eq 'mukh'; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 736 | 57 | ▶ | return [ qw( kâ kâ kâ (kandê) ), (undef) x 3 ] if $noun eq 'kâ'; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 737 | 56 | ▶ | return [ '', qw( zêth zeu zei ), '', qw( zaa zai ) ] if $noun eq 'zê'; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 738 | 55 | ▶ | return [ '', qw( zaa zau zai ), (undef) x 3 ] if $noun eq 'za'; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 739 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 740 | # otherwise it's a noun. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 741 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 742 | # irregular oblique stem | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 743 | 54 | ▶ | return [ qw( pû pû pea peo pei peî peich ) ] if $noun eq 'pû'; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 744 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 745 | 54 | ▶ | if(!defined($gender) && exists $gendertab->{$noun}) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition66%2/3
not defined $gender and exists $Lingua::Zompist::Barakhinei::gendertab->{$noun}
MC/DC50%1/2
not defined $gender and exists $Lingua::Zompist::Barakhinei::gendertab->{$noun}
not defined $gender
exists $Lingua::Zompist::Barakhinei::gendertab->{$noun}
Truth table66%2/3
not(A) and B
A= not defined $genderB= exists $Lingua::Zompist::Barakhinei::gendertab->{$noun}
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 746 | 26 | $gender = $gendertab->{$noun}; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 747 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 748 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 749 | 54 | ▶ | if(!defined($gender)) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 750 | # try to guess based on the ending | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 751 | 0 | ▶ | if($noun =~ /a$/) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 7 branches
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 752 | 0 | $gender = 'masc'; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 753 | } elsif($noun =~ /ê$/) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 754 | 0 | $gender = 'fem'; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 755 | ▶ | } elsif($noun =~ /$consend/o && defined $plural && $plural =~ /i$/) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition0%0/6
$noun =~ /$consend/o and defined $plural and $plural =~ /i$/
$noun =~ /$consend/o and defined $plural
MC/DC0%0/3
$noun =~ /$consend/o and defined $plural and $plural =~ /i$/
$noun =~ /$consend/o
defined $plural
$plural =~ /i$/
Truth table0%0/4
A and B and C
A= $noun =~ /$consend/oB= defined $pluralC= $plural =~ /i$/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 756 | 0 | $gender = 'masc'; # can't detect anisosyllabic nouns as they | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 757 | # could be neuter | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 758 | ▶ | } elsif($noun =~ /(?:$cons|i)$/o && defined $plural && $plural =~ /[ou]$/) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition0%0/6
$noun =~ /(?:$cons|i)$/o and defined $plural and $plural =~ /[ou]$/
$noun =~ /(?:$cons|i)$/o and defined $plural
MC/DC0%0/3
$noun =~ /(?:$cons|i)$/o and defined $plural and $plural =~ /[ou]$/
$noun =~ /(?:$cons|i)$/o
defined $plural
$plural =~ /[ou]$/
Truth table0%0/4
A and B and C
A= $noun =~ /(?:$cons|i)$/oB= defined $pluralC= $plural =~ /[ou]$/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 759 | 0 | $gender = 'neut'; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 760 | ▶ | } elsif($noun =~ /â$/ && defined $plural && $plural =~ /ao$/) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition0%0/6
$noun =~ /\342$/ and defined $plural and $plural =~ /ao$/
$noun =~ /\342$/ and defined $plural
MC/DC0%0/3
$noun =~ /\342$/ and defined $plural and $plural =~ /ao$/
$noun =~ /\342$/
defined $plural
$plural =~ /ao$/
Truth table0%0/4
A and B and C
A= $noun =~ /\342$/B= defined $pluralC= $plural =~ /ao$/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 761 | 0 | $gender = 'neut'; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 762 | ▶ | } elsif($noun =~ /(?:$cons|i)$/o && defined $plural && $plural =~ /[âê]$/) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition0%0/6
$noun =~ /(?:$cons|i)$/o and defined $plural and $plural =~ /[\342\352]$/
$noun =~ /(?:$cons|i)$/o and defined $plural
MC/DC0%0/3
$noun =~ /(?:$cons|i)$/o and defined $plural and $plural =~ /[\342\352]$/
$noun =~ /(?:$cons|i)$/o
defined $plural
$plural =~ /[\342\352]$/
Truth table0%0/4
A and B and C
A= $noun =~ /(?:$cons|i)$/oB= defined $pluralC= $plural =~ /[\342\352]$/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 763 | 0 | $gender = 'fem'; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 764 | ▶ | } elsif($noun =~ /â$/ && defined $plural && $plural =~ /ach$/) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition0%0/6
$noun =~ /\342$/ and defined $plural and $plural =~ /ach$/
$noun =~ /\342$/ and defined $plural
MC/DC0%0/3
$noun =~ /\342$/ and defined $plural and $plural =~ /ach$/
$noun =~ /\342$/
defined $plural
$plural =~ /ach$/
Truth table0%0/4
A and B and C
A= $noun =~ /\342$/B= defined $pluralC= $plural =~ /ach$/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 765 | 0 | $gender = 'fem'; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 766 | } else { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 767 | 0 | return; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 768 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 769 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 770 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 771 | 54 | ▶ | if(!defined($plural) && exists $pluraltab->{$noun}) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition66%2/3
not defined $plural and exists $Lingua::Zompist::Barakhinei::pluraltab->{$noun}
MC/DC50%1/2
not defined $plural and exists $Lingua::Zompist::Barakhinei::pluraltab->{$noun}
not defined $plural
exists $Lingua::Zompist::Barakhinei::pluraltab->{$noun}
Truth table66%2/3
not(A) and B
A= not defined $pluralB= exists $Lingua::Zompist::Barakhinei::pluraltab->{$noun}
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 772 | 26 | $plural = $pluraltab->{$noun}; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 773 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 774 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 775 | 54 | ▶ | if(!defined($plural)) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 776 | # try to guess based on the ending | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 777 | 0 | ▶ | if($noun =~ /$consend/o && $gender eq 'masc') { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 12 branches
Condition0%0/3
$noun =~ /$consend/o and $gender eq "masc"
MC/DC0%0/2
$noun =~ /$consend/o and $gender eq "masc"
$noun =~ /$consend/o
$gender eq "masc"
Truth table0%0/3
A and B
A= $noun =~ /$consend/oB= $gender eq "masc"
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 778 | 0 | $plural = $noun . 'i'; # assume isosyllabic | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 779 | ▶ | } elsif($noun =~ /a$/ && $gender eq 'masc') { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition0%0/3
$noun =~ /a$/ and $gender eq "masc"
MC/DC0%0/2
$noun =~ /a$/ and $gender eq "masc"
$noun =~ /a$/
$gender eq "masc"
Truth table0%0/3
A and B
A= $noun =~ /a$/B= $gender eq "masc"
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 780 | 0 | ($plural = $noun) =~ s/a$/â/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 781 | ▶ | } elsif($noun =~ /u$/ && $gender eq 'masc') { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition0%0/3
$noun =~ /u$/ and $gender eq "masc"
MC/DC0%0/2
$noun =~ /u$/ and $gender eq "masc"
$noun =~ /u$/
$gender eq "masc"
Truth table0%0/3
A and B
A= $noun =~ /u$/B= $gender eq "masc"
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 782 | 0 | $plural = $noun . 'li'; # assume from -ul | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 783 | ▶ | } elsif($noun =~ /$consend/o && $gender eq 'neut') { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition0%0/3
$noun =~ /$consend/o and $gender eq "neut"
MC/DC0%0/2
$noun =~ /$consend/o and $gender eq "neut"
$noun =~ /$consend/o
$gender eq "neut"
Truth table0%0/3
A and B
A= $noun =~ /$consend/oB= $gender eq "neut"
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 784 | 0 | $plural = $noun . 'o'; # more than twice as comman as -u | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 785 | ▶ | } elsif($noun =~ /i$/ && $gender eq 'neut') { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition0%0/3
$noun =~ /i$/ and $gender eq "neut"
MC/DC0%0/2
$noun =~ /i$/ and $gender eq "neut"
$noun =~ /i$/
$gender eq "neut"
Truth table0%0/3
A and B
A= $noun =~ /i$/B= $gender eq "neut"
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 786 | 0 | ($plural = $noun) =~ s/i$/u/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 787 | ▶ | } elsif($noun =~ /u$/ && $gender eq 'neut') { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition0%0/3
$noun =~ /u$/ and $gender eq "neut"
MC/DC0%0/2
$noun =~ /u$/ and $gender eq "neut"
$noun =~ /u$/
$gender eq "neut"
Truth table0%0/3
A and B
A= $noun =~ /u$/B= $gender eq "neut"
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 788 | 0 | ($plural = $noun) =~ s/u$/i/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 789 | ▶ | } elsif($noun =~ /â$/ && $gender eq 'neut') { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition0%0/3
$noun =~ /\342$/ and $gender eq "neut"
MC/DC0%0/2
$noun =~ /\342$/ and $gender eq "neut"
$noun =~ /\342$/
$gender eq "neut"
Truth table0%0/3
A and B
A= $noun =~ /\342$/B= $gender eq "neut"
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 790 | 0 | ($plural = $noun) =~ s/â$/ao/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 791 | ▶ | } elsif($noun =~ /$consend/o && $gender eq 'fem') { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition0%0/3
$noun =~ /$consend/o and $gender eq "fem"
MC/DC0%0/2
$noun =~ /$consend/o and $gender eq "fem"
$noun =~ /$consend/o
$gender eq "fem"
Truth table0%0/3
A and B
A= $noun =~ /$consend/oB= $gender eq "fem"
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 792 | 0 | $plural = $noun . 'â'; # "very common" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 793 | ▶ | } elsif($noun =~ /u$/ && $gender eq 'fem') { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition0%0/3
$noun =~ /u$/ and $gender eq "fem"
MC/DC0%0/2
$noun =~ /u$/ and $gender eq "fem"
$noun =~ /u$/
$gender eq "fem"
Truth table0%0/3
A and B
A= $noun =~ /u$/B= $gender eq "fem"
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 794 | 0 | $plural = $noun . 'lâ'; # assume from -ul | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 795 | ▶ | } elsif($noun =~ /i$/ && $gender eq 'fem') { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition0%0/3
$noun =~ /i$/ and $gender eq "fem"
MC/DC0%0/2
$noun =~ /i$/ and $gender eq "fem"
$noun =~ /i$/
$gender eq "fem"
Truth table0%0/3
A and B
A= $noun =~ /i$/B= $gender eq "fem"
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 796 | 0 | $plural = $noun . 'ê'; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 797 | ▶ | } elsif($noun =~ /ê$/ && $gender eq 'fem') { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition0%0/3
$noun =~ /\352$/ and $gender eq "fem"
MC/DC0%0/2
$noun =~ /\352$/ and $gender eq "fem"
$noun =~ /\352$/
$gender eq "fem"
Truth table0%0/3
A and B
A= $noun =~ /\352$/B= $gender eq "fem"
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 798 | 0 | ($plural = $noun) =~ s/ê/iê/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 799 | ▶ | } elsif($noun =~ /â$/ && $gender eq 'fem') { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition0%0/3
$noun =~ /\342$/ and $gender eq "fem"
MC/DC0%0/2
$noun =~ /\342$/ and $gender eq "fem"
$noun =~ /\342$/
$gender eq "fem"
Truth table0%0/3
A and B
A= $noun =~ /\342$/B= $gender eq "fem"
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 800 | 0 | ($plural = $noun) =~ s/â/achâ/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 801 | } else { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 802 | 0 | return; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 803 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 804 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 805 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 806 | 54 | my $sgstem = $noun; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 807 | 54 | my $plstem = $plural; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 808 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 809 | 54 | ▶ | if($gender eq 'masc') { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 3 branches
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 810 | 14 | ▶ | if($sgstem =~ /u$/ && $plstem =~ s/li$//) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 3 branches
Condition33%1/3
$sgstem =~ /u$/ and $plstem =~ s/li$//
MC/DC0%0/2
$sgstem =~ /u$/ and $plstem =~ s/li$//
$sgstem =~ /u$/
$plstem =~ s/li$//
Truth table33%1/3
A and B
A= $sgstem =~ /u$/B= $plstem =~ s/li$//
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 811 | 0 | $table = [ map("$sgstem$_", '', '', 'la', 'lo'), | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 812 | map("$plstem$_", 'li', 'lî', 'lich') ]; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 813 | } elsif($plstem =~ s/i$//) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 814 | 10 | $table = [ map("$sgstem$_", '', '', 'a', 'o'), | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 815 | map("$plstem$_", 'i', 'î', 'ich') ]; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 816 | ▶ | } elsif($sgstem =~ s/a$// && $plstem =~ s/â$//) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition33%1/3
$sgstem =~ s/a$// and $plstem =~ s/\342$//
MC/DC0%0/2
$sgstem =~ s/a$// and $plstem =~ s/\342$//
$sgstem =~ s/a$//
$plstem =~ s/\342$//
Truth table33%1/3
A and B
A= $sgstem =~ s/a$//B= $plstem =~ s/\342$//
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 817 | 4 | $table = [ map("$sgstem$_", 'a', '', 'a', 'o'), | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 818 | map("$plstem$_", 'â', 'î', 'ach') ]; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 819 | } else { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 820 | 0 | return; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 821 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 822 | } elsif($gender eq 'neut') { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 823 | 20 | ▶ | if($sgstem =~ /$consend/o && $plstem =~ s/o$//) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 5 branches
Condition100%3/3
$sgstem =~ /$consend/o and $plstem =~ s/o$//
MC/DC100%2/2
$sgstem =~ /$consend/o and $plstem =~ s/o$//
$sgstem =~ /$consend/o
$plstem =~ s/o$//
Truth table100%3/3
A and B
A= $sgstem =~ /$consend/oB= $plstem =~ s/o$//
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 824 | 4 | $table = [ map("$sgstem$_", '', 'u', 'u', 'o'), | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 825 | map("$plstem$_", 'o', 'oi', 'och') ]; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 826 | ▶ | } elsif($sgstem =~ /$consend/o && $plstem =~ s/u$//) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition66%2/3
$sgstem =~ /$consend/o and $plstem =~ s/u$//
MC/DC50%1/2
$sgstem =~ /$consend/o and $plstem =~ s/u$//
$sgstem =~ /$consend/o
$plstem =~ s/u$//
Truth table66%2/3
A and B
A= $sgstem =~ /$consend/oB= $plstem =~ s/u$//
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 827 | 4 | $table = [ map("$sgstem$_", '', 'u', 'u', 'o'), | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 828 | map("$plstem$_", 'u', 'î', 'ich') ]; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 829 | ▶ | } elsif($sgstem =~ s/i$// && $plstem =~ s/u$//) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition66%2/3
$sgstem =~ s/i$// and $plstem =~ s/u$//
MC/DC50%1/2
$sgstem =~ s/i$// and $plstem =~ s/u$//
$sgstem =~ s/i$//
$plstem =~ s/u$//
Truth table66%2/3
A and B
A= $sgstem =~ s/i$//B= $plstem =~ s/u$//
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 830 | 4 | $table = [ map("$sgstem$_", 'i', 'i', 'i', 'io'), | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 831 | map("$plstem$_", 'u', 'î', 'ich') ]; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 832 | ▶ | } elsif($sgstem =~ s/u$// && $plstem =~ s/i$//) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition66%2/3
$sgstem =~ s/u$// and $plstem =~ s/i$//
MC/DC50%1/2
$sgstem =~ s/u$// and $plstem =~ s/i$//
$sgstem =~ s/u$//
$plstem =~ s/i$//
Truth table66%2/3
A and B
A= $sgstem =~ s/u$//B= $plstem =~ s/i$//
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 833 | 4 | $table = [ map("$sgstem$_", 'u', '', 'u', 'o'), | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 834 | map("$plstem$_", 'i', 'î', 'ich') ]; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 835 | ▶ | } elsif($sgstem =~ s/â$// && $plstem =~ s/ao$//) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition33%1/3
$sgstem =~ s/\342$// and $plstem =~ s/ao$//
MC/DC0%0/2
$sgstem =~ s/\342$// and $plstem =~ s/ao$//
$sgstem =~ s/\342$//
$plstem =~ s/ao$//
Truth table33%1/3
A and B
A= $sgstem =~ s/\342$//B= $plstem =~ s/ao$//
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 836 | 4 | $table = [ map("$sgstem$_", 'â', 'â', 'â', 'ach'), | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 837 | map("$plstem$_", 'ao', 'aoi', 'aoch') ]; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 838 | } else { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 839 | 0 | return; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 840 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 841 | } elsif($gender eq 'fem') { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 842 | 20 | ▶ | if($sgstem =~ /$consend/o && $plstem =~ s/â$//) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 7 branches
Condition100%3/3
$sgstem =~ /$consend/o and $plstem =~ s/\342$//
MC/DC100%2/2
$sgstem =~ /$consend/o and $plstem =~ s/\342$//
$sgstem =~ /$consend/o
$plstem =~ s/\342$//
Truth table100%3/3
A and B
A= $sgstem =~ /$consend/oB= $plstem =~ s/\342$//
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 843 | 4 | $table = [ map("$sgstem$_", '', 'a', 'ê', 'ach'), | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 844 | map("$plstem$_", 'â', 'êi', 'ech') ]; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 845 | ▶ | } elsif($sgstem =~ /$consend/o && $plstem =~ s/ê$//) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition66%2/3
$sgstem =~ /$consend/o and $plstem =~ s/\352$//
MC/DC50%1/2
$sgstem =~ /$consend/o and $plstem =~ s/\352$//
$sgstem =~ /$consend/o
$plstem =~ s/\352$//
Truth table66%2/3
A and B
A= $sgstem =~ /$consend/oB= $plstem =~ s/\352$//
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 846 | 4 | $table = [ map("$sgstem$_", '', 'e', 'ê', 'ech'), | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 847 | map("$plstem$_", 'ê', 'êi', 'ech') ]; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 848 | ▶ | } elsif($sgstem =~ /i$/ && $plstem =~ s/iê/i/) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition66%2/3
$sgstem =~ /i$/ and $plstem =~ s/i\352/i/
MC/DC50%1/2
$sgstem =~ /i$/ and $plstem =~ s/i\352/i/
$sgstem =~ /i$/
$plstem =~ s/i\352/i/
Truth table66%2/3
A and B
A= $sgstem =~ /i$/B= $plstem =~ s/i\352/i/
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 849 | 4 | $table = [ map("$sgstem$_", '', '', 'ê', 'ch'), | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 850 | map("$plstem$_", 'ê', 'a', 'ech') ]; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 851 | ▶ | } elsif($sgstem =~ s/ê$// && $plstem =~ s/ê$//) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition66%2/3
$sgstem =~ s/\352$// and $plstem =~ s/\352$//
MC/DC50%1/2
$sgstem =~ s/\352$// and $plstem =~ s/\352$//
$sgstem =~ s/\352$//
$plstem =~ s/\352$//
Truth table66%2/3
A and B
A= $sgstem =~ s/\352$//B= $plstem =~ s/\352$//
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 852 | 4 | $table = [ map("$sgstem$_", 'ê', 'e', 'ê', 'ech'), | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 853 | map("$plstem$_", 'ê', 'a', 'ech') ]; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 854 | ▶ | } elsif($sgstem =~ s/â$// && $plstem =~ s/â$//) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition33%1/3
$sgstem =~ s/\342$// and $plstem =~ s/\342$//
MC/DC0%0/2
$sgstem =~ s/\342$// and $plstem =~ s/\342$//
$sgstem =~ s/\342$//
$plstem =~ s/\342$//
Truth table33%1/3
A and B
A= $sgstem =~ s/\342$//B= $plstem =~ s/\342$//
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 855 | 4 | $table = [ map("$sgstem$_", 'â', 'a', 'ê', 'ach'), | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 856 | map("$plstem$_", 'â', 'a', 'ech') ]; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 857 | ▶ | } elsif($sgstem =~ /u$/ && $plstem =~ s/lâ$//) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition0%0/3
$sgstem =~ /u$/ and $plstem =~ s/l\342$//
MC/DC0%0/2
$sgstem =~ /u$/ and $plstem =~ s/l\342$//
$sgstem =~ /u$/
$plstem =~ s/l\342$//
Truth table0%0/3
A and B
A= $sgstem =~ /u$/B= $plstem =~ s/l\342$//
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 858 | 0 | $table = [ map("$sgstem$_", '', 'la', 'lê', 'lach'), | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 859 | map("$plstem$_", 'lâ', 'lêi', 'lech') ]; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 860 | ▶ | } elsif($sgstem =~ /u$/ && $plstem =~ s/â$//) { # chizu; others? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition0%0/3
$sgstem =~ /u$/ and $plstem =~ s/\342$//
MC/DC0%0/2
$sgstem =~ /u$/ and $plstem =~ s/\342$//
$sgstem =~ /u$/
$plstem =~ s/\342$//
Truth table0%0/3
A and B
A= $sgstem =~ /u$/B= $plstem =~ s/\342$//
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 861 | 0 | $table = [ map("$sgstem$_", '', 'a', 'ê', 'ach'), | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 862 | map("$plstem$_", 'â', 'êi', 'ech') ]; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 863 | } else { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 864 | 0 | return; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 865 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 866 | } else { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 867 | 0 | return; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 868 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 869 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 870 | 54 | return $table; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 871 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 872 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 873 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 874 | # Lost consonants which are restored in all but s.nom. and m.s.acc. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 875 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 876 | 11 | $rootconstab = { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 877 | 'andû' => 'r', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 878 | 'aveku' => 'r', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 879 | 'dhu' => 'n', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 880 | 'di' => 'n', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 881 | 'du' => 'r', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 882 | 'glûmu' => 'l', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 883 | 'kê' => 'r', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 884 | 'kônu' => 'l', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 885 | 'kû' => 'r', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 886 | 'melhu' => 'r', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 887 | 'mu' => 'r', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 888 | 'na' => 'n', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 889 | 'osôku' => 'l', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 890 | 'rhu' => 'm', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 891 | }; # $rootconstab | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 892 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 893 | 8 | ▶ | sub adj { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
adj: called CC=9 SCAR=22.3
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 894 | 8 | my $adj = shift; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 895 | 8 | my $rootcons = shift; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 896 | 8 | my $stem = $adj; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 897 | 8 | my $table; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 898 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 899 | 8 | ▶ | if(!defined($rootcons) && exists $rootconstab->{$adj}) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition100%3/3
not defined $rootcons and exists $Lingua::Zompist::Barakhinei::rootconstab->{$adj}
MC/DC100%2/2
not defined $rootcons and exists $Lingua::Zompist::Barakhinei::rootconstab->{$adj}
not defined $rootcons
exists $Lingua::Zompist::Barakhinei::rootconstab->{$adj}
Truth table100%3/3
not(A) and B
A= not defined $rootconsB= exists $Lingua::Zompist::Barakhinei::rootconstab->{$adj}
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 900 | 1 | $rootcons = $rootconstab->{$adj}; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 901 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 902 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 903 | 8 | ▶ | $rootcons = '' unless defined $rootcons; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 904 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 905 | 8 | ▶ | if($stem =~ /$consend/o || length $rootcons) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 4 branches
Condition100%3/3
$stem =~ /$consend/o or length $rootcons
MC/DC100%2/2
$stem =~ /$consend/o or length $rootcons
$stem =~ /$consend/o
length $rootcons
Truth table100%3/3
A or B
A= $stem =~ /$consend/oB= length $rootcons
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 906 | 4 | $table = [ [ $stem, $stem, map "$stem$rootcons$_", qw( a o i î ich ) ], | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 907 | [ $stem, map "$stem$rootcons$_", qw( u u o o î ich ) ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 908 | [ $stem, map "$stem$rootcons$_", qw( a ê ach â êi ech ) ] ]; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 909 | } elsif($stem =~ s/ê$//) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 910 | 2 | $table = [ [ map "$stem$_", qw( ê ê a o ê î êch ) ], | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 911 | [ map "$stem$_", qw( e ê ê o e ê ech ) ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 912 | [ map "$stem$_", qw( ê e ê ech ê êi ech ) ] ]; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 913 | } elsif($stem =~ s/i$//) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 914 | 2 | $table = [ [ map "$stem$_", 'i', '', qw( i io i î ich ) ], | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 915 | [ map "$stem$_", qw( i i i io u î ich ) ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 916 | [ map "$stem$_", qw( i i iê ich iê ia iech ) ] ]; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 917 | } elsif($stem =~ s/â$//) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 918 | 0 | $table = [ [ map "$stem$_", qw( â â â ach ao aoi aoch ) ], | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 919 | [ map "$stem$_", qw( â â â ach ao aoi aoch ) ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 920 | [ map "$stem$_", qw( â a ê ach achâ acha achech ) ] ]; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 921 | } else { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 922 | 0 | return; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 923 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 924 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 925 | 8 | return $table; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 926 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 927 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 928 | 11 | 1; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 929 | __END__ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||