% title: Hyphenation patterns for Turkish
% copyright: Copyright (C) 1987 Pierre A. MacKay, 2008, 2011 TUG
% notice: This file is part of the hyph-utf8 package.
%     See http://www.hyphenation.org/tex for more information.
% language:
%     name: Turkish
%     tag: tr
% authors:
%     -
%         name: Pierre A. MacKay
%     -
%         name: H. Turgut Uyar
%         contact: uyar (at) itu.edu.tr
%     -
%         name: S. Ekin Kocabas
%         contact: kocabas (at) stanford.edu
%     -
%         name: Mojca Miklavec
% licence:
%     name: LPPL
%     version: 1
%     or_later: true
%     url: https://latex-project.org/lppl/lppl-1-0.html
% hyphenmins:
%     typesetting:
%         left: 2
%         right: 2
% changes:
%     - 2008-06-25/27/28 - create this file by adapting Ottoman rules for modern Turkish
%     - 2011-08-10 - add LPPL licence with permission of Pierre A. MacKay
% texlive:
%     encoding: ec
%     babelname: turkish
%     legacy_patterns: tkhyph.tex
%     message: Turkish hyphenation patterns
%     description: |-
%         Hyphenation patterns for Turkish in T1/EC and UTF-8 encodings.
%         Auto-generated from a script included in the distribution.
%         The patterns for Turkish were first produced for the Ottoman Texts
%         Project in 1987 and were suitable for both Modern Turkish and Ottoman
%         Turkish in Latin script, however the required character set didn't fit
%         into EC encoding, so support for Ottoman Turkish had to be dropped to
%         keep compatibility with 8-bit engines.
% ==========================================
% This file is auto-generated from
% source/generic/hyph-utf8/languages/tr/generate_patterns_tr.rb
% that is part of hyph-utf8.
% Please don't modify this file; modify the generating script instead.
%
% Credits:
% - algorithm developed by P. A. MacKay for the Ottoman Texts Project in 1987
% - rules adapted for modern Turkish by H. Turgut Uyar <uyar at itu.edu.tr>
% - initiative to improve Turkish patterns by S. Ekin Kocabas <kocabas at stanford.edu>
% - script written by Mojca Miklavec <mojca.miklavec.lists at gmail.com> in June 2008
%
% See also:
% - http://mirror.ctan.org/language/turkish/hyphen/turk_hyf.c
% - http://www.tug.org/TUGboat/Articles/tb09-1/tb20mackay.pdf
%
% Differences with Ottoman patterns:
% - adapted for the use on modern TeX engines, using UTF-8 charactes
% - only letters for Modern Turkish + âîû (the first one often needed, the other two don't hurt)
% - (if needed, support for Ottoman Turkish might be provided separately under language code 'ota')
% 
\patterns{
% prohibit hyphen before vowels, allow after
2a1
2â1
2e1
2ı1
2i1
2î1
2o1
2ö1
2u1
2ü1
2û1
% allow hyphen either side of consonants
1b1
1c1
1ç1
1d1
1f1
1g1
1ğ1
1h1
1j1
1k1
1l1
1m1
1n1
1p1
1r1
1s1
1ş1
1t1
1v1
1y1
1z1
% prevent e-cek at end of word
2e2cek.
% prohibit hyphen before pair of consonants
% many pairs generated here are impossible anyway
2bb
2bc
2bç
2bd
2bf
2bg
2bğ
2bh
2bj
2bk
2bl
2bm
2bn
2bp
2br
2bs
2bş
2bt
2bv
2by
2bz
2cb
2cc
2cç
2cd
2cf
2cg
2cğ
2ch
2cj
2ck
2cl
2cm
2cn
2cp
2cr
2cs
2cş
2ct
2cv
2cy
2cz
2çb
2çc
2çç
2çd
2çf
2çg
2çğ
2çh
2çj
2çk
2çl
2çm
2çn
2çp
2çr
2çs
2çş
2çt
2çv
2çy
2çz
2db
2dc
2dç
2dd
2df
2dg
2dğ
2dh
2dj
2dk
2dl
2dm
2dn
2dp
2dr
2ds
2dş
2dt
2dv
2dy
2dz
2fb
2fc
2fç
2fd
2ff
2fg
2fğ
2fh
2fj
2fk
2fl
2fm
2fn
2fp
2fr
2fs
2fş
2ft
2fv
2fy
2fz
2gb
2gc
2gç
2gd
2gf
2gg
2gğ
2gh
2gj
2gk
2gl
2gm
2gn
2gp
2gr
2gs
2gş
2gt
2gv
2gy
2gz
2ğb
2ğc
2ğç
2ğd
2ğf
2ğg
2ğğ
2ğh
2ğj
2ğk
2ğl
2ğm
2ğn
2ğp
2ğr
2ğs
2ğş
2ğt
2ğv
2ğy
2ğz
2hb
2hc
2hç
2hd
2hf
2hg
2hğ
2hh
2hj
2hk
2hl
2hm
2hn
2hp
2hr
2hs
2hş
2ht
2hv
2hy
2hz
2jb
2jc
2jç
2jd
2jf
2jg
2jğ
2j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
2zm
2zn
2zp
2zr
2zs
2zş
2zt
2zv
2zy
2zz
% allow hyphen between vowels, but not after second vowel of pair
% several phonetically impossible pairs here
a3a2
a3â2
a3e2
a3ı2
a3i2
a3î2
a3o2
a3ö2
a3u2
a3ü2
a3û2
â3a2
â3â2
â3e2
â3ı2
â3i2
â3î2
â3o2
â3ö2
â3u2
â3ü2
â3û2
e3a2
e3â2
e3e2
e3ı2
e3i2
e3î2
e3o2
e3ö2
e3u2
e3ü2
e3û2
ı3a2
ı3â2
ı3e2
ı3ı2
ı3i2
ı3î2
ı3o2
ı3ö2
ı3u2
ı3ü2
ı3û2
i3a2
i3â2
i3e2
i3ı2
i3i2
i3î2
i3o2
i3ö2
i3u2
i3ü2
i3û2
î3a2
î3â2
î3e2
î3ı2
î3i2
î3î2
î3o2
î3ö2
î3u2
î3ü2
î3û2
o3a2
o3â2
o3e2
o3ı2
o3i2
o3î2
o3o2
o3ö2
o3u2
o3ü2
o3û2
ö3a2
ö3â2
ö3e2
ö3ı2
ö3i2
ö3î2
ö3o2
ö3ö2
ö3u2
ö3ü2
ö3û2
u3a2
u3â2
u3e2
u3ı2
u3i2
u3î2
u3o2
u3ö2
u3u2
u3ü2
u3û2
ü3a2
ü3â2
ü3e2
ü3ı2
ü3i2
ü3î2
ü3o2
ü3ö2
ü3u2
ü3ü2
ü3û2
û3a2
û3â2
û3e2
û3ı2
û3i2
û3î2
û3o2
û3ö2
û3u2
û3ü2
û3û2
% a couple of consonant-clusters
tu4r4k
m1t4rak
}
