File Coverage

blib/lib/TeX/Hyphen/Pattern/Tr.pm
Criterion Covered Total %
statement 16 16 100.0
branch n/a
condition n/a
subroutine 7 7 100.0
pod 2 2 100.0
total 25 25 100.0


line stmt bran cond sub pod time code
1             ## no critic qw(RequirePodSections) # -*- cperl -*-
2             # This file is auto-generated by the Perl TeX::Hyphen::Pattern Suite hyphen
3             # pattern catalog generator. This code generator comes with the
4             # TeX::Hyphen::Pattern module distribution in the tools/ directory
5             #
6             # Do not edit this file directly.
7              
8             package TeX::Hyphen::Pattern::Tr v1.1.8;
9 3     3   2169 use strict;
  3         7  
  3         95  
10 3     3   16 use warnings;
  3         9  
  3         73  
11 3     3   51 use 5.014000;
  3         11  
12 3     3   17 use utf8;
  3         6  
  3         18  
13              
14 3     3   99 use Moose;
  3         5  
  3         19  
15              
16             my $pattern_file = q{};
17             while (<DATA>) {
18             $pattern_file .= $_;
19             }
20              
21             sub pattern_data {
22 1     1 1 284 return $pattern_file;
23             }
24              
25             sub version {
26 157     157 1 833 return $TeX::Hyphen::Pattern::Tr::VERSION;
27             }
28              
29             1;
30             ## no critic qw(RequirePodAtEnd RequireASCII ProhibitFlagComments)
31              
32             =encoding utf8
33              
34             =for stopwords CTAN Ipenburg Tr
35              
36             =head1 NAME
37              
38             TeX::Hyphen::Pattern::Tr - class for hyphenation in locale Tr
39              
40             =head1 SUBROUTINES/METHODS
41              
42             =over 4
43              
44             =item $pattern-E<gt>pattern_data();
45              
46             Returns the pattern data.
47              
48             =item $pattern-E<gt>version();
49              
50             Returns the version of the pattern package.
51              
52             =back
53              
54             =head1 COPYRIGHT
55              
56             =begin text
57              
58             title: Hyphenation patterns for Turkish
59             copyright: Copyright (C) 1987 Pierre A. MacKay, 2008, 2011 TUG
60             notice: This file is part of the hyph-utf8 package.
61             See http://www.hyphenation.org/tex for more information.
62             language:
63             name: Turkish
64             tag: tr
65             authors:
66             -
67             name: Pierre A. MacKay
68             -
69             name: H. Turgut Uyar
70             contact: uyar (at) itu.edu.tr
71             -
72             name: S. Ekin Kocabas
73             contact: kocabas (at) stanford.edu
74             -
75             name: Mojca Miklavec
76             licence:
77             name: LPPL
78             version: 1
79             or_later: true
80             url: https://latex-project.org/lppl/lppl-1-0.html
81             hyphenmins:
82             typesetting:
83             left: 2
84             right: 2
85             changes:
86             - 2008-06-25/27/28 - create this file by adapting Ottoman rules for modern Turkish
87             - 2011-08-10 - add LPPL licence with permission of Pierre A. MacKay
88             texlive:
89             encoding: ec
90             babelname: turkish
91             legacy_patterns: tkhyph.tex
92             message: Turkish hyphenation patterns
93             description: |-
94             Hyphenation patterns for Turkish in T1/EC and UTF-8 encodings.
95             Auto-generated from a script included in the distribution.
96             The patterns for Turkish were first produced for the Ottoman Texts
97             Project in 1987 and were suitable for both Modern Turkish and Ottoman
98             Turkish in Latin script, however the required character set didn't fit
99             into EC encoding, so support for Ottoman Turkish had to be dropped to
100             keep compatibility with 8-bit engines.
101             ==========================================
102             This file is auto-generated from
103             source/generic/hyph-utf8/languages/tr/generate_patterns_tr.rb
104             that is part of hyph-utf8.
105             Please don't modify this file; modify the generating script instead.
106              
107             Credits:
108             - algorithm developed by P. A. MacKay for the Ottoman Texts Project in 1987
109             - rules adapted for modern Turkish by H. Turgut Uyar <uyar at itu.edu.tr>
110             - initiative to improve Turkish patterns by S. Ekin Kocabas <kocabas at stanford.edu>
111             - script written by Mojca Miklavec <mojca.miklavec.lists at gmail.com> in June 2008
112              
113             See also:
114             - http://mirror.ctan.org/language/turkish/hyphen/turk_hyf.c
115             - http://www.tug.org/TUGboat/Articles/tb09-1/tb20mackay.pdf
116              
117             Differences with Ottoman patterns:
118             - adapted for the use on modern TeX engines, using UTF-8 charactes
119             - only letters for Modern Turkish + âîû (the first one often needed, the other two don't hurt)
120             - (if needed, support for Ottoman Turkish might be provided separately under language code 'ota')
121              
122             =end text
123              
124             =cut
125              
126             __DATA__
127             \patterns{
128             % prohibit hyphen before vowels, allow after
129             2a1
130             2â1
131             2e1
132             2ı1
133             2i1
134             2î1
135             2o1
136             2ö1
137             2u1
138             2ü1
139             2û1
140             % allow hyphen either side of consonants
141             1b1
142             1c1
143             1ç1
144             1d1
145             1f1
146             1g1
147             1ğ1
148             1h1
149             1j1
150             1k1
151             1l1
152             1m1
153             1n1
154             1p1
155             1r1
156             1s1
157             1ş1
158             1t1
159             1v1
160             1y1
161             1z1
162             % prevent e-cek at end of word
163             2e2cek.
164             % prohibit hyphen before pair of consonants
165             % many pairs generated here are impossible anyway
166             2bb
167             2bc
168             2bç
169             2bd
170             2bf
171             2bg
172             2bğ
173             2bh
174             2bj
175             2bk
176             2bl
177             2bm
178             2bn
179             2bp
180             2br
181             2bs
182             2bş
183             2bt
184             2bv
185             2by
186             2bz
187             2cb
188             2cc
189             2cç
190             2cd
191             2cf
192             2cg
193             2cğ
194             2ch
195             2cj
196             2ck
197             2cl
198             2cm
199             2cn
200             2cp
201             2cr
202             2cs
203             2cş
204             2ct
205             2cv
206             2cy
207             2cz
208             2çb
209             2çc
210             2çç
211             2çd
212             2çf
213             2çg
214             2çğ
215             2çh
216             2çj
217             2çk
218             2çl
219             2çm
220             2çn
221             2çp
222             2çr
223             2çs
224             2çş
225             2çt
226             2çv
227             2çy
228             2çz
229             2db
230             2dc
231             2dç
232             2dd
233             2df
234             2dg
235             2dğ
236             2dh
237             2dj
238             2dk
239             2dl
240             2dm
241             2dn
242             2dp
243             2dr
244             2ds
245             2dş
246             2dt
247             2dv
248             2dy
249             2dz
250             2fb
251             2fc
252             2fç
253             2fd
254             2ff
255             2fg
256             2fğ
257             2fh
258             2fj
259             2fk
260             2fl
261             2fm
262             2fn
263             2fp
264             2fr
265             2fs
266             2fş
267             2ft
268             2fv
269             2fy
270             2fz
271             2gb
272             2gc
273             2gç
274             2gd
275             2gf
276             2gg
277             2gğ
278             2gh
279             2gj
280             2gk
281             2gl
282             2gm
283             2gn
284             2gp
285             2gr
286             2gs
287             2gş
288             2gt
289             2gv
290             2gy
291             2gz
292             2ğb
293             2ğc
294             2ğç
295             2ğd
296             2ğf
297             2ğg
298             2ğğ
299             2ğh
300             2ğj
301             2ğk
302             2ğl
303             2ğm
304             2ğn
305             2ğp
306             2ğr
307             2ğs
308             2ğş
309             2ğt
310             2ğv
311             2ğy
312             2ğz
313             2hb
314             2hc
315             2hç
316             2hd
317             2hf
318             2hg
319             2hğ
320             2hh
321             2hj
322             2hk
323             2hl
324             2hm
325             2hn
326             2hp
327             2hr
328             2hs
329             2hş
330             2ht
331             2hv
332             2hy
333             2hz
334             2jb
335             2jc
336             2jç
337             2jd
338             2jf
339             2jg
340             2jğ
341             2jh
342             2jj
343             2jk
344             2jl
345             2jm
346             2jn
347             2jp
348             2jr
349             2js
350             2jş
351             2jt
352             2jv
353             2jy
354             2jz
355             2kb
356             2kc
357             2kç
358             2kd
359             2kf
360             2kg
361             2kğ
362             2kh
363             2kj
364             2kk
365             2kl
366             2km
367             2kn
368             2kp
369             2kr
370             2ks
371             2kş
372             2kt
373             2kv
374             2ky
375             2kz
376             2lb
377             2lc
378             2lç
379             2ld
380             2lf
381             2lg
382             2lğ
383             2lh
384             2lj
385             2lk
386             2ll
387             2lm
388             2ln
389             2lp
390             2lr
391             2ls
392             2lş
393             2lt
394             2lv
395             2ly
396             2lz
397             2mb
398             2mc
399             2mç
400             2md
401             2mf
402             2mg
403             2mğ
404             2mh
405             2mj
406             2mk
407             2ml
408             2mm
409             2mn
410             2mp
411             2mr
412             2ms
413             2mş
414             2mt
415             2mv
416             2my
417             2mz
418             2nb
419             2nc
420             2nç
421             2nd
422             2nf
423             2ng
424             2nğ
425             2nh
426             2nj
427             2nk
428             2nl
429             2nm
430             2nn
431             2np
432             2nr
433             2ns
434             2nş
435             2nt
436             2nv
437             2ny
438             2nz
439             2pb
440             2pc
441             2pç
442             2pd
443             2pf
444             2pg
445             2pğ
446             2ph
447             2pj
448             2pk
449             2pl
450             2pm
451             2pn
452             2pp
453             2pr
454             2ps
455             2pş
456             2pt
457             2pv
458             2py
459             2pz
460             2rb
461             2rc
462             2rç
463             2rd
464             2rf
465             2rg
466             2rğ
467             2rh
468             2rj
469             2rk
470             2rl
471             2rm
472             2rn
473             2rp
474             2rr
475             2rs
476             2rş
477             2rt
478             2rv
479             2ry
480             2rz
481             2sb
482             2sc
483             2sç
484             2sd
485             2sf
486             2sg
487             2sğ
488             2sh
489             2sj
490             2sk
491             2sl
492             2sm
493             2sn
494             2sp
495             2sr
496             2ss
497             2sş
498             2st
499             2sv
500             2sy
501             2sz
502             2şb
503             2şc
504             2şç
505             2şd
506             2şf
507             2şg
508             2şğ
509             2şh
510             2şj
511             2şk
512             2şl
513             2şm
514             2şn
515             2şp
516             2şr
517             2şs
518             2şş
519             2şt
520             2şv
521             2şy
522             2şz
523             2tb
524             2tc
525             2tç
526             2td
527             2tf
528             2tg
529             2tğ
530             2th
531             2tj
532             2tk
533             2tl
534             2tm
535             2tn
536             2tp
537             2tr
538             2ts
539             2tş
540             2tt
541             2tv
542             2ty
543             2tz
544             2vb
545             2vc
546             2vç
547             2vd
548             2vf
549             2vg
550             2vğ
551             2vh
552             2vj
553             2vk
554             2vl
555             2vm
556             2vn
557             2vp
558             2vr
559             2vs
560             2vş
561             2vt
562             2vv
563             2vy
564             2vz
565             2yb
566             2yc
567             2yç
568             2yd
569             2yf
570             2yg
571             2yğ
572             2yh
573             2yj
574             2yk
575             2yl
576             2ym
577             2yn
578             2yp
579             2yr
580             2ys
581             2yş
582             2yt
583             2yv
584             2yy
585             2yz
586             2zb
587             2zc
588             2zç
589             2zd
590             2zf
591             2zg
592             2zğ
593             2zh
594             2zj
595             2zk
596             2zl
597             2zm
598             2zn
599             2zp
600             2zr
601             2zs
602             2zş
603             2zt
604             2zv
605             2zy
606             2zz
607             % allow hyphen between vowels, but not after second vowel of pair
608             % several phonetically impossible pairs here
609             a3a2
610             a3â2
611             a3e2
612             a3ı2
613             a3i2
614             a3î2
615             a3o2
616             a3ö2
617             a3u2
618             a3ü2
619             a3û2
620             â3a2
621             â3â2
622             â3e2
623             â3ı2
624             â3i2
625             â3î2
626             â3o2
627             â3ö2
628             â3u2
629             â3ü2
630             â3û2
631             e3a2
632             e3â2
633             e3e2
634             e3ı2
635             e3i2
636             e3î2
637             e3o2
638             e3ö2
639             e3u2
640             e3ü2
641             e3û2
642             ı3a2
643             ı3â2
644             ı3e2
645             ı3ı2
646             ı3i2
647             ı3î2
648             ı3o2
649             ı3ö2
650             ı3u2
651             ı3ü2
652             ı3û2
653             i3a2
654             i3â2
655             i3e2
656             i3ı2
657             i3i2
658             i3î2
659             i3o2
660             i3ö2
661             i3u2
662             i3ü2
663             i3û2
664             î3a2
665             î3â2
666             î3e2
667             î3ı2
668             î3i2
669             î3î2
670             î3o2
671             î3ö2
672             î3u2
673             î3ü2
674             î3û2
675             o3a2
676             o3â2
677             o3e2
678             o3ı2
679             o3i2
680             o3î2
681             o3o2
682             o3ö2
683             o3u2
684             o3ü2
685             o3û2
686             ö3a2
687             ö3â2
688             ö3e2
689             ö3ı2
690             ö3i2
691             ö3î2
692             ö3o2
693             ö3ö2
694             ö3u2
695             ö3ü2
696             ö3û2
697             u3a2
698             u3â2
699             u3e2
700             u3ı2
701             u3i2
702             u3î2
703             u3o2
704             u3ö2
705             u3u2
706             u3ü2
707             u3û2
708             ü3a2
709             ü3â2
710             ü3e2
711             ü3ı2
712             ü3i2
713             ü3î2
714             ü3o2
715             ü3ö2
716             ü3u2
717             ü3ü2
718             ü3û2
719             û3a2
720             û3â2
721             û3e2
722             û3ı2
723             û3i2
724             û3î2
725             û3o2
726             û3ö2
727             û3u2
728             û3ü2
729             û3û2
730             % a couple of consonant-clusters
731             tu4r4k
732             m1t4rak
733             }
734