Commit 5f213be1cc0a1dcb4e0e0e4d05cf4d3df28d539d

Authored by Wojciech Jaworski
1 parent 9edc1e84

Uzupełnienie dokumentacji

morphology/doc/model2.pdf
No preview for this file type
morphology/doc/model2.tex
... ... @@ -55,6 +55,316 @@ ale z każdej z nich można wydedukować pierwotną postać.
55 55 %k ' a nie k j zwn zmiękczające k np kiep
56 56  
57 57 Reguły dla form pisanych zgodnie ze standardową ortografią mają postać:
  58 +
  59 +\begin{longtable}{l|l|l|l|l|l}
  60 + & & & & & a\textipa{\super{j}} $\leftarrow$ a\\
  61 +b$'$ $\leftarrow$ bi & b$'$ $\leftarrow$ b & bj $\leftarrow$ bi & & & \\
  62 +d$'$ $\leftarrow$ dzi & d$'$ $\leftarrow$ dz & & \textipa{Z} $\leftarrow$ dz & d$'$ $\leftarrow$ dź & \\
  63 +d\textipa{\super{j}} $\leftarrow$ di & d\textipa{\super{j}} $\leftarrow$ d & dj $\leftarrow$ di & & & \\
  64 + & & & & & e\textipa{\super{j}} $\leftarrow$ e\\
  65 +f$'$ $\leftarrow$ fi & f$'$ $\leftarrow$ f & fj $\leftarrow$ fi & & & \\
  66 +g$'$ $\leftarrow$ gi & g$'$ $\leftarrow$ g & g$'$j $\leftarrow$ gi & & & \\
  67 +h\textipa{\super{j}} $\leftarrow$ hi & h\textipa{\super{j}} $\leftarrow$ h & & & & \\
  68 + & & & & & i\textipa{\super{j}} $\leftarrow$ i\\
  69 +k$'$ $\leftarrow$ ki & k$'$ $\leftarrow$ k & k$'$j $\leftarrow$ ki & & & \\
  70 +l\textipa{\super{j}} $\leftarrow$ li & l $\leftarrow$ l & lj $\leftarrow$ li & & & \\
  71 +m$'$ $\leftarrow$ mi & m$'$ $\leftarrow$ m & m$'$j $\leftarrow$ mi & & & \\
  72 +n$'$ $\leftarrow$ ni & n$'$ $\leftarrow$ n & n$'$j $\leftarrow$ ni & & n$'$ $\leftarrow$ ń & \\
  73 + & & & & & o\textipa{\super{j}} $\leftarrow$ o\\
  74 +p$'$ $\leftarrow$ pi & p$'$ $\leftarrow$ p & pj $\leftarrow$ pi & & & \\
  75 +r\textipa{\super{j}} $\leftarrow$ ri & r\textipa{\super{j}} $\leftarrow$ r & rj $\leftarrow$ ri & ř $\leftarrow$ rz & & \\
  76 +s$'$ $\leftarrow$ si & s$'$ $\leftarrow$ s & & & s$'$ $\leftarrow$ ś & \\
  77 +t$'$ $\leftarrow$ ci & t$'$ $\leftarrow$ c & & & t$'$ $\leftarrow$ ć & \\
  78 +t\textipa{\super{j}} $\leftarrow$ ti & t\textipa{\super{j}} $\leftarrow$ t & tj $\leftarrow$ ti & & & \\
  79 + & & & & & u\textipa{\super{j}} $\leftarrow$ u\\
  80 +v$'$ $\leftarrow$ wi & v$'$ $\leftarrow$ w & vj $\leftarrow$ wi & v $\leftarrow$ w & & \\
  81 +x\textipa{\super{j}} $\leftarrow$ chi & x\textipa{\super{j}} $\leftarrow$ ch & x\textipa{\super{j}}j $\leftarrow$ chi & x $\leftarrow$ ch & & \\
  82 + & & & & & y\textipa{\super{j}} $\leftarrow$ y\\
  83 +z$'$ $\leftarrow$ zi & z$'$ $\leftarrow$ z & & & z$'$ $\leftarrow$ ź & \\
  84 + & & & \{J\}jot $\leftarrow$ J-ot & & \\
  85 + & & & \{Z\}zet $\leftarrow$ Z-et & & \\
  86 + & & & \{dh\}d $\leftarrow$ dh & & \\
  87 +\{dh\}d\textipa{\super{j}} $\leftarrow$ dhi & \{dh\}d\textipa{\super{j}} $\leftarrow$ dh & & & & \\
  88 + & & & \{gh\}g $\leftarrow$ gh & & \\
  89 +\{gh\}g$'$ $\leftarrow$ ghi & \{gh\}g$'$ $\leftarrow$ gh & & & & \\
  90 + & & & \{kh\}k $\leftarrow$ kh & & \\
  91 +\{kh\}k$'$ $\leftarrow$ khi & \{kh\}k$'$ $\leftarrow$ kh & & & & \\
  92 + & & & \{nh\}n $\leftarrow$ nh & & \\
  93 +\{nh\}n$'$ $\leftarrow$ nhi & \{nh\}n$'$ $\leftarrow$ nh & & & & \\
  94 + & & & \{th\}t $\leftarrow$ th & & \\
  95 +\{th\}t\textipa{\super{j}} $\leftarrow$ thi & \{th\}t\textipa{\super{j}} $\leftarrow$ th & & & & \\
  96 + & & & \{v\}v $\leftarrow$ v & & \\
  97 + & & \{v\}vj $\leftarrow$ vi & & & \\
  98 +\{v\}v$'$ $\leftarrow$ vi & \{v\}v$'$ $\leftarrow$ v & & & & \\
  99 + & & & \{x\}ks $\leftarrow$ x & & \\
  100 +\{x\}ks$'$ $\leftarrow$ xi & \{x\}ks$'$ $\leftarrow$ x & & & & \\
  101 + & & & \{z\}zet $\leftarrow$ z-et & & \\
  102 + & & & \{Ż\}žet $\leftarrow$ Ż-et & & \\
  103 + & & & & & ó\textipa{\super{j}} $\leftarrow$ ó\\
  104 +č\textipa{\super{j}} $\leftarrow$ czi & č\textipa{\super{j}} $\leftarrow$ cz & & č $\leftarrow$ cz & & \\
  105 +š\textipa{\super{j}} $\leftarrow$ szi & š\textipa{\super{j}} $\leftarrow$ sz & & š $\leftarrow$ sz & & \\
  106 +ž\textipa{\super{j}} $\leftarrow$ żi & ž\textipa{\super{j}} $\leftarrow$ ż & žj $\leftarrow$ żi & ž $\leftarrow$ ż & & \\
  107 +\textipa{\v{Z}}\textipa{\super{j}} $\leftarrow$ dżi & \textipa{\v{Z}}\textipa{\super{j}} $\leftarrow$ dż & \textipa{\v{Z}}j $\leftarrow$ dżi & \textipa{\v{Z}} $\leftarrow$ dż & & \\
  108 +\end{longtable}
  109 +
  110 +\begin{longtable}{l|l|l|l}
  111 + $\leftarrow$ ’ & & & \\
  112 +z $\leftarrow$ z & & & \\
  113 +\{ai\}aj $\leftarrow$ ai & & & \\
  114 +\{au\}ał $\leftarrow$ au & & & \\
  115 +\{ay\}aj $\leftarrow$ ay & & & \\
  116 + & & & \{bee\}b$'$i $\leftarrow$ bee\\
  117 + & & & \{by\}b$'$i $\leftarrow$ by\\
  118 +\{ch\}š $\leftarrow$ ch & & & \\
  119 +\{cs\}č $\leftarrow$ cs & & & \\
  120 + & & & \{cy\}s\textipa{\super{j}}i $\leftarrow$ cy\\
  121 + & & & \{dieu\}d\textipa{\super{j}}i $\leftarrow$ dieu\\
  122 + & & & \{die\}d\textipa{\super{j}}i $\leftarrow$ die\\
  123 + & \{dy\}d\textipa{\super{j}} $\leftarrow$ dy & \{dy\}d\textipa{\super{j}} $\leftarrow$ dy & \\
  124 + & & & \{dy\}d\textipa{\super{j}}i $\leftarrow$ dy\\
  125 + & \{dí\}d\textipa{\super{j}} $\leftarrow$ dí & \{dí\}d\textipa{\super{j}} $\leftarrow$ dí & \\
  126 + & & & \{dí\}d\textipa{\super{j}}i $\leftarrow$ dí\\
  127 +\{ey\}ej $\leftarrow$ ey & & & \\
  128 + & & & \{gie\}\textipa{\v{Z}}\textipa{\super{j}}i $\leftarrow$ gie\\
  129 + & & & \{guy\}g$'$i $\leftarrow$ guy\\
  130 + & & & \{kie\}k$'$i $\leftarrow$ kie\\
  131 + & & \{ky\}k $\leftarrow$ ky & \\
  132 + & \{ky\}k$'$ $\leftarrow$ ky & & \\
  133 + & & & \{ky\}k$'$i $\leftarrow$ ky\\
  134 +\{leigh\}l $\leftarrow$ leigh & & & \\
  135 + & & & \{lieu\}l\textipa{\super{j}}i $\leftarrow$ lieu\\
  136 + & \{li\}l $\leftarrow$ li & & \\
  137 +\{lj\}lj $\leftarrow$ lj & & & \\
  138 + & & & \{ly\}li $\leftarrow$ ly\\
  139 + & & & \{my\}m$'$i $\leftarrow$ my\\
  140 +\{ng\}n $\leftarrow$ ng & & & \\
  141 + & \{ni\}n$'$ $\leftarrow$ ni & & \\
  142 + & \{ny\}n$'$ $\leftarrow$ nyi & \{ny\}n$'$ $\leftarrow$ nyi & \\
  143 +\{oy\}oj $\leftarrow$ oy & & & \\
  144 + & & & \{phy\}f$'$i $\leftarrow$ phy\\
  145 + & & & \{pie\}p$'$i $\leftarrow$ pie\\
  146 +\{pj\}pj $\leftarrow$ pj & & & \\
  147 + & & & \{quieu\}k$'$i $\leftarrow$ quieu\\
  148 +\{q\}k $\leftarrow$ q & & & \\
  149 + & & & \{rie\}r\textipa{\super{j}}i $\leftarrow$ rie\\
  150 + & \{ri\}r\textipa{\super{j}} $\leftarrow$ ri & & \\
  151 + & & & \{ry\}r\textipa{\super{j}}i $\leftarrow$ ry\\
  152 +\{sch\}š $\leftarrow$ sch & & & \\
  153 +\{sh\}š $\leftarrow$ sh & & & \\
  154 + & \{sy\}s\textipa{\super{j}} $\leftarrow$ sy & \{sy\}s\textipa{\super{j}} $\leftarrow$ sy & \\
  155 + & & & \{sy\}s\textipa{\super{j}}i $\leftarrow$ sy\\
  156 +\{tch\}č $\leftarrow$ tch & & & \\
  157 + & \{thy\}t\textipa{\super{j}} $\leftarrow$ thy & \{thy\}t\textipa{\super{j}} $\leftarrow$ thy & \\
  158 + & & & \{thy\}t\textipa{\super{j}}i $\leftarrow$ thy\\
  159 + & & & \{tie\}t\textipa{\super{j}}i $\leftarrow$ tie\\
  160 +\{tsch\}č $\leftarrow$ tsch & & & \\
  161 +\{zs\}ž $\leftarrow$ zs & & & \\
  162 +\{z\}c $\leftarrow$ z & & & \\
  163 + & \{ři\}r\textipa{\super{j}} $\leftarrow$ ři & \{ři\}r\textipa{\super{j}} $\leftarrow$ ři & \\
  164 + & & & \{ři\}r\textipa{\super{j}}i $\leftarrow$ ři\\
  165 + & \{şi\}s\textipa{\super{j}} $\leftarrow$ şi & \{şi\}s\textipa{\super{j}} $\leftarrow$ şi & \\
  166 + & & & \{şi\}s\textipa{\super{j}}i $\leftarrow$ şi\\
  167 +\end{longtable}
  168 +
  169 +\begin{longtable}{l|l}
  170 +a $\leftarrow$ A & \\
  171 +b$'$e $\leftarrow$ b-ie & \\
  172 +d$'$e $\leftarrow$ d-zie & \\
  173 +f$'$e $\leftarrow$ f-ie & \\
  174 +m$'$e $\leftarrow$ m-ie & \\
  175 +n$'$e $\leftarrow$ n-ie & \\
  176 +p$'$e $\leftarrow$ p-ie & \\
  177 +s$'$e $\leftarrow$ s-ie & \\
  178 +t$'$e $\leftarrow$ -cie & \\
  179 +v$'$e $\leftarrow$ w-ie & \\
  180 +z$'$e $\leftarrow$ z-ie & \\
  181 + & \{A\}a $\leftarrow$ A\\
  182 +\{A\}a\{T\}t$'$e $\leftarrow$ acie & \\
  183 + & \{B\}b $\leftarrow$ B\\
  184 +\{B\}b$'$e $\leftarrow$ B-ie & \\
  185 + & \{C\}c $\leftarrow$ C\\
  186 + & \{C\}k $\leftarrow$ C\\
  187 +\{C\}k$'$em $\leftarrow$ C-iem & \\
  188 +\{C\}k$'$i $\leftarrow$ C-i & \\
  189 + & \{D\}d $\leftarrow$ D\\
  190 +\{D\}d$'$e $\leftarrow$ D-zie & \\
  191 + & \{E\}e $\leftarrow$ E\\
  192 +\{E\}e\{T\}t$'$e $\leftarrow$ ecie & \\
  193 +\{E\}e\textipa{\super{j}}i $\leftarrow$ E-i & \\
  194 + & \{F\}f $\leftarrow$ F\\
  195 +\{F\}f$'$e $\leftarrow$ F-ie & \\
  196 + & \{G\}g $\leftarrow$ G\\
  197 +\{G\}g$'$em $\leftarrow$ G-iem & \\
  198 +\{G\}g$'$i $\leftarrow$ G-i & \\
  199 + & \{H\}h $\leftarrow$ H\\
  200 + & \{I\}j $\leftarrow$ I\\
  201 +\{I\}j\{T\}t$'$e $\leftarrow$ icie & \\
  202 + & \{J\}j $\leftarrow$ J\\
  203 +\{J\}ji $\leftarrow$ J-i & \\
  204 +\{J\}jot$'$e $\leftarrow$ J-ocie & \\
  205 + & \{K\}k $\leftarrow$ K\\
  206 +\{K\}k$'$em $\leftarrow$ K-iem & \\
  207 +\{K\}k$'$i $\leftarrow$ K-i & \\
  208 + & \{L\}l $\leftarrow$ L\\
  209 +\{L\}li $\leftarrow$ L-i & \\
  210 + & \{M\}m $\leftarrow$ M\\
  211 +\{M\}m$'$e $\leftarrow$ M-ie & \\
  212 + & \{N\}n $\leftarrow$ N\\
  213 +\{N\}n$'$e $\leftarrow$ N-ie & \\
  214 + & \{O\}o $\leftarrow$ O\\
  215 +\{O\}o\{T\}t$'$e $\leftarrow$ ocie & \\
  216 + & \{P\}p $\leftarrow$ P\\
  217 +\{P\}p$'$e $\leftarrow$ P-ie & \\
  218 + & \{R\}r $\leftarrow$ R\\
  219 +\{R\}ře $\leftarrow$ R-ze & \\
  220 + & \{S\}s $\leftarrow$ S\\
  221 +\{S\}s$'$e $\leftarrow$ S-ie & \\
  222 + & \{T\}t $\leftarrow$ T\\
  223 +\{T\}t$'$e $\leftarrow$ -cie & \\
  224 + & \{U\}u $\leftarrow$ U\\
  225 +\{U\}u\{T\}t$'$e $\leftarrow$ ucie & \\
  226 + & \{V\}v $\leftarrow$ V\\
  227 +\{V\}v$'$e $\leftarrow$ V-ie & \\
  228 + & \{W\}v $\leftarrow$ W\\
  229 +\{W\}v$'$e $\leftarrow$ W-ie & \\
  230 + & \{X\}ks $\leftarrow$ X\\
  231 +\{X\}ks$'$e $\leftarrow$ X-ie & \\
  232 + & \{Y\}y $\leftarrow$ Y\\
  233 + & \{Z\}z $\leftarrow$ Z\\
  234 +\{Z\}zet$'$e $\leftarrow$ Z-ecie & \\
  235 +\{Z\}z$'$e $\leftarrow$ Z-ie & \\
  236 +\{ce\}s $\leftarrow$ ce & \\
  237 +\{che\}š $\leftarrow$ che & \\
  238 +\{de\}d $\leftarrow$ de & \\
  239 +\{fe\}f $\leftarrow$ fe & \\
  240 +\{ges\}\textipa{\v{Z}} $\leftarrow$ ges & \\
  241 +\{ge\}ž $\leftarrow$ ge & \\
  242 +\{ge\}\textipa{\v{Z}} $\leftarrow$ ge & \\
  243 +\{gne\}n$'$ $\leftarrow$ gne & \\
  244 +\{gues\}g $\leftarrow$ gues & \\
  245 +\{gue\}g $\leftarrow$ gue & \\
  246 +\{j\}jot$'$e $\leftarrow$ j-ocie & \\
  247 +\{ke\}k $\leftarrow$ ke & \\
  248 +\{les\}l $\leftarrow$ les & \\
  249 +\{le\}l $\leftarrow$ le & \\
  250 +\{me\}m $\leftarrow$ me & \\
  251 +\{ne\}n $\leftarrow$ ne & \\
  252 +\{oe\}oł $\leftarrow$ oe & \\
  253 +\{phe\}f $\leftarrow$ phe & \\
  254 +\{ques\}k $\leftarrow$ ques & \\
  255 +\{que\}k $\leftarrow$ que & \\
  256 +\{re\}r $\leftarrow$ re & \\
  257 +\{rue\}r $\leftarrow$ rue & \\
  258 +\{se\}s $\leftarrow$ se & \\
  259 +\{se\}z $\leftarrow$ se & \\
  260 +\{te\}t $\leftarrow$ te & \\
  261 +\{the\}t $\leftarrow$ the & \\
  262 +\{ve\}v $\leftarrow$ ve & \\
  263 +\{v\}v$'$e $\leftarrow$ v-ie & \\
  264 +\{we\}ł $\leftarrow$ we & \\
  265 + & \{w\}ł $\leftarrow$ w\\
  266 +\{x\}ks$'$e $\leftarrow$ x-ie & \\
  267 +\{z\}zet$'$e $\leftarrow$ z-ecie & \\
  268 + & \{Ć\}t$'$ $\leftarrow$ Ć\\
  269 + & \{Ł\}ł $\leftarrow$ Ł\\
  270 + & \{Ś\}s$'$ $\leftarrow$ Ś\\
  271 + & \{Ż\}ž $\leftarrow$ Ż\\
  272 + & \{Ż\}žet $\leftarrow$ Ż\\
  273 +\{Ż\}žet$'$e $\leftarrow$ Ż-ecie & \\
  274 +\{ż\}žet$'$e $\leftarrow$ ż-ecie & \\
  275 +ře $\leftarrow$ r-ze & \\
  276 +\end{longtable}
  277 +
  278 +\begin{longtable}{l|l|l|l|l|l}
  279 + & & & & & n $\leftarrow$ n\\
  280 +\{bee\}b$'$e $\leftarrow$ bee & & & & & \\
  281 + & & & \{by\}b$'$ $\leftarrow$ by & & \\
  282 + & & \{ce\}s $\leftarrow$ ce & & & \\
  283 + & & \{chais\}še $\leftarrow$ chais & & & \\
  284 + & & \{che\}š $\leftarrow$ che & & & \\
  285 + & & & \{cy\}s\textipa{\super{j}} $\leftarrow$ cy & & \\
  286 + & & \{de\}d $\leftarrow$ de & & & \\
  287 +\{dieu\}d\textipa{\super{j}}e $\leftarrow$ dieu & & & & & \\
  288 +\{die\}d\textipa{\super{j}}e $\leftarrow$ die & & & & & \\
  289 + & & & \{dy\}d\textipa{\super{j}} $\leftarrow$ dy & & \\
  290 + & & \{fe\}f $\leftarrow$ fe & & & \\
  291 + & & \{ges\}\textipa{\v{Z}} $\leftarrow$ ges & & & \\
  292 +\{ge\}g$'$e $\leftarrow$ ge & & & & & \\
  293 + & & \{ge\}ž $\leftarrow$ ge & & & \\
  294 + & & \{ge\}\textipa{\v{Z}} $\leftarrow$ ge & & & \\
  295 +\{gie\}\textipa{\v{Z}}\textipa{\super{j}}e $\leftarrow$ gie & & & & & \\
  296 + & & \{gne\}n$'$ $\leftarrow$ gne & & & \\
  297 + & & \{gues\}g $\leftarrow$ gues & & & \\
  298 + & & \{gue\}g $\leftarrow$ gue & & & \\
  299 + & & & \{guy\}g$'$ $\leftarrow$ guy & & \\
  300 + & & \{ke\}k $\leftarrow$ ke & & & \\
  301 +\{ke\}k$'$e $\leftarrow$ ke & & & & & \\
  302 +\{kie\}k$'$e $\leftarrow$ kie & & & & & \\
  303 + & & & \{ky\}k$'$ $\leftarrow$ ky & & \\
  304 + & & \{lais\}le $\leftarrow$ lais & & & \\
  305 + & & \{les\}l $\leftarrow$ les & & & \\
  306 + & & \{le\}l $\leftarrow$ le & & & \\
  307 +\{lieu\}l\textipa{\super{j}}e $\leftarrow$ lieu & & & & & \\
  308 + & & & & \{li\}l $\leftarrow$ l & \\
  309 + & & & \{ly\}l $\leftarrow$ ly & & \\
  310 + & & \{me\}m $\leftarrow$ me & & & \\
  311 + & & & \{my\}m$'$ $\leftarrow$ my & & \\
  312 +\{mée\}me $\leftarrow$ mée & & & & & \\
  313 + & & \{nais\}ne $\leftarrow$ nais & & & \\
  314 + & & \{ne\}n $\leftarrow$ ne & & & \\
  315 + & & & & \{ni\}n$'$ $\leftarrow$ ni & \\
  316 + & & & & \{ny\}n$'$ $\leftarrow$ ny & \\
  317 + & & \{oe\}oł $\leftarrow$ oe & & & \\
  318 + & & \{phe\}f $\leftarrow$ phe & & & \\
  319 + & & & \{phy\}f$'$ $\leftarrow$ phy & & \\
  320 +\{pie\}p$'$e $\leftarrow$ pie & & & & & \\
  321 + & & \{ques\}k $\leftarrow$ ques & & & \\
  322 + & & \{que\}k $\leftarrow$ que & & & \\
  323 +\{quieu\}k$'$e $\leftarrow$ quieu & & & & & \\
  324 + & & \{re\}r $\leftarrow$ re & & & \\
  325 +\{rie\}r\textipa{\super{j}}e $\leftarrow$ rie & & & & & \\
  326 + & & & & \{ri\}r\textipa{\super{j}}i $\leftarrow$ ri & \\
  327 + & & \{rue\}r $\leftarrow$ rue & & & \\
  328 + & & & \{ry\}r\textipa{\super{j}} $\leftarrow$ ry & & \\
  329 + & & \{rès\}re $\leftarrow$ rès & & & \\
  330 + & & \{rés\}re $\leftarrow$ rés & & & \\
  331 + & \{ré\}re $\leftarrow$ ré & & & & \\
  332 + & & \{se\}s $\leftarrow$ se & & & \\
  333 + & & \{se\}z $\leftarrow$ se & & & \\
  334 + & & & \{sy\}s\textipa{\super{j}} $\leftarrow$ sy & & \\
  335 + & & \{te\}t $\leftarrow$ te & & & \\
  336 + & & \{the\}t $\leftarrow$ the & & & \\
  337 + & & & \{thy\}t\textipa{\super{j}} $\leftarrow$ thy & & \\
  338 +\{tie\}t\textipa{\super{j}}e $\leftarrow$ tie & & & & & \\
  339 + & & \{ve\}v $\leftarrow$ ve & & & \\
  340 + & & \{we\}ł $\leftarrow$ we & & & \\
  341 +\end{longtable}
  342 +
  343 +\begin{longtable}{l|l|l|l|l|l|l|l|l}
  344 + & a $\leftarrow$ a & & & & & & & a $\leftarrow$ a\\
  345 +b $\leftarrow$ b & b $\leftarrow$ b & & & & & & & \\
  346 +c $\leftarrow$ c & c $\leftarrow$ c & & & & & & & \\
  347 +d $\leftarrow$ d & d $\leftarrow$ d & & & & & & & \\
  348 + & e $\leftarrow$ e & & & & & & & e $\leftarrow$ e\\
  349 +f $\leftarrow$ f & & & & & & & & \\
  350 +g $\leftarrow$ g & & & & & g $\leftarrow$ g & g $\leftarrow$ g & & \\
  351 + & & & & & & & & i $\leftarrow$ i\\
  352 +k $\leftarrow$ k & k $\leftarrow$ k & & & & & & & \\
  353 +l $\leftarrow$ l & l $\leftarrow$ l & & l $\leftarrow$ l & & & & & \\
  354 +m $\leftarrow$ m & m $\leftarrow$ m & & & & & & m $\leftarrow$ m & \\
  355 +n $\leftarrow$ n & & & n $\leftarrow$ n & & & & & \\
  356 +o $\leftarrow$ o & o $\leftarrow$ o & & & & & & & o $\leftarrow$ o\\
  357 + & & & & p $\leftarrow$ p & & & & \\
  358 + & & & & & q $\leftarrow$ q & & & \\
  359 +r $\leftarrow$ r & r $\leftarrow$ r & r $\leftarrow$ r & & & & & & \\
  360 +s $\leftarrow$ s & s $\leftarrow$ s & & & & & & & \\
  361 +t $\leftarrow$ t & & & & t $\leftarrow$ t & & & & \\
  362 + & & & & & & & & u $\leftarrow$ u\\
  363 +v $\leftarrow$ v & & & & & & & & \\
  364 +w $\leftarrow$ w & & & & & & & & \\
  365 +\end{longtable}
  366 +
  367 +
58 368 \begin{center}
59 369 \begin{tabular}{l|l|l|l|l|l}
60 370 1 & 2 & 3 & 4 & 5 & 6 \\
... ...
morphology/fonetics.ml
... ... @@ -80,7 +80,11 @@ let rules, rev_rules, core_rules, core_rev_rules =
80 80 prepare_rules symbol_defs core_rules,
81 81 prepare_rules rev_symbol_defs core_rev_rules
82 82  
83   -let sufs = ["ω"; "iκ"; "ρ"; "δ"; "λ"; "i"(*; "zi"*)]
  83 +let sufs = [
  84 + ["ω"; "iκ"; "ρ"; "δ"; "λ"; "i"](*; "zi"*);
  85 + ["γ"; "eά"; "owieε"; "β"]; ["ε"; ""];
  86 + ["α"; "ά"; "’"; "’eά"; "iβ"; "g"];
  87 + ["e"; "y"; "è"; "a"; "h"; "u"; "n"; "é"; "cieε"]]
84 88  
85 89 let make_key s =
86 90 match Xunicode.utf8_chars_of_utf8_string s with
... ... @@ -96,13 +100,18 @@ let make_key s =
96 100 | [c;"ʲ"] -> c
97 101 | [c;"ʲ";"j"] -> c
98 102 | [c;"′";"j"] -> c
99   - | _ -> failwith ("make_key: " ^ s)
  103 + | [] -> ""
  104 + (* | "{" :: c :: "}" :: _ -> "{" ^ c
  105 + | "{" :: c :: d :: "}" :: _ -> "{" ^ c ^ d *)
  106 + | _ -> (*failwith ("make_key: '" ^ s ^ "'")*) s
100 107  
101 108 let latex_escape_char = function
102 109 "′" -> "$'$"
103 110 | "ʲ" -> "\\textipa{\\super{j}}"
104 111 | "ʒ" -> "\\textipa{Z}"
105 112 | "ǯ" -> "\\textipa{\\v{Z}}"
  113 + | "{" -> "\\{"
  114 + | "}" -> "\\}"
106 115 | c -> c
107 116  
108 117 let latex_of_rule rule =
... ... @@ -119,17 +128,24 @@ let is_excluded r =
119 128  
120 129 let latex_of_rules filename =
121 130 let symbol_defs,rev_symbol_defs,rules,rev_rules = load_rules filename in
  131 + (* let core_rules = select_rules "core" rules in *)
122 132 let map = Xlist.fold rules StringMap.empty (fun map rule ->
123   - if is_excluded rule then map else
  133 + if is_excluded rule then map else (
  134 + (* print_endline (latex_of_rule rule); *)
124 135 let key = make_key rule.pset in
125 136 let map2 = try StringMap.find map key with Not_found -> StringMap.empty in
126   - if not (Xlist.mem sufs rule.psuf) then failwith ("latex_of_rules: " ^ rule.psuf) else
127   - let map2 = StringMap.add_inc map2 rule.psuf rule (fun rule2 -> failwith ("latex_of_rules: " ^ key)) in
128   - StringMap.add map key map2) in
129   - StringMap.iter map (fun _ map2 ->
130   - let line = Xlist.map sufs (fun suf ->
131   - try latex_of_rule (StringMap.find map2 suf) with Not_found -> "") in
132   - print_endline (String.concat " & " line ^ "\\\\"))
  137 + if not (Xlist.mem (List.flatten sufs) rule.psuf) then print_endline ("latex_of_rules 1: " ^ rule.psuf);
  138 + let map2 = StringMap.add_inc map2 rule.psuf rule (fun rule2 -> print_endline(*failwith*) ("latex_of_rules 2: " ^ key); rule) in
  139 + StringMap.add map key map2)) in
  140 + Xlist.iter sufs (fun sufs ->
  141 + print_endline ("\\begin{longtable}{" ^ String.concat "|" (Xlist.map sufs (fun _ -> "l")) ^ "}");
  142 + StringMap.iter map (fun _ map2 ->
  143 + let line = Xlist.map sufs (fun suf ->
  144 + try latex_of_rule (StringMap.find map2 suf) with Not_found -> "") in
  145 + if String.concat "" line <> "" then
  146 + print_endline (String.concat " & " line ^ "\\\\"));
  147 + print_endline "\\end{longtable}\n"
  148 + )
133 149  
134 150 let rec translate_rec closure found found_maping rules s =
135 151 if s = "ε" then [List.rev found,List.rev found_maping] else
... ...
morphology/generate.ml
... ... @@ -200,11 +200,13 @@ let _ =
200 200 ()
201 201  
202 202 let _ =
203   - (* Fonetics.latex_of_rules "data/fonetics_pl.dic"; *)
204   - (* Rules.latex_of_alternations "../morphology/data/alternations.dic"; *)
205   - (* Rules.latex_of_schemata (); *)
206   - (* Rules.latex_of_interp_rules (); *)
207   - ()
  203 + try
  204 + Fonetics.latex_of_rules "data/fonetics.dic";
  205 + (* Rules.latex_of_alternations "../morphology/data/alternations.dic"; *)
  206 + (* Rules.latex_of_schemata (); *)
  207 + (* Rules.latex_of_interp_rules (); *)
  208 + ()
  209 + with Failure s -> print_endline s
208 210  
209 211 (* Wypisanie nieodmiennych *)
210 212 (*let _ =
... ...