File Coverage

blib/lib/TeX/Hyphen/Pattern/Eu.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::Eu v1.1.6;
9 3     3   1992 use strict;
  3         7  
  3         113  
10 3     3   18 use warnings;
  3         7  
  3         77  
11 3     3   48 use 5.014000;
  3         10  
12 3     3   12 use utf8;
  3         8  
  3         18  
13              
14 3     3   68 use Moose;
  3         6  
  3         24  
15              
16             my $pattern_file = q{};
17             while (<DATA>) {
18             $pattern_file .= $_;
19             }
20              
21             sub pattern_data {
22 1     1 1 242 return $pattern_file;
23             }
24              
25             sub version {
26 264     264 1 1175 return $TeX::Hyphen::Pattern::Eu::VERSION;
27             }
28              
29             1;
30             ## no critic qw(RequirePodAtEnd RequireASCII ProhibitFlagComments)
31              
32             =encoding utf8
33              
34             =for stopwords CTAN Ipenburg Eu
35              
36             =head1 NAME
37              
38             TeX::Hyphen::Pattern::Eu - class for hyphenation in locale Eu
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             copyright: Copyright (C) 1997, 2008 Juan M. Aguirregabiria
59             title: Hyphenation patterns for Basque
60             notice: This file is part of the hyph-utf8 package.
61             See http://www.hyphenation.org/tex for more information on the package,
62             and http://tp.lc.ehu.es/jma/basque.html for details on Basque hyphenation.
63             language:
64             name: Basque
65             tag: eu
66             version: June 2008
67             authors:
68             -
69             name: Juan M. Aguirregabiria
70             contact: juanmari.aguirregabiria (at) ehu.es
71             licence:
72             text: >
73             Permission is hereby granted, free of charge, to any person obtaining
74             a copy of this file and any associated documentation
75             (the "Data Files") to deal in the Data Files
76             without restriction, including without limitation the rights to use,
77             copy, modify, merge, publish, distribute, and/or sell copies of
78             the Data Files, and to permit persons to whom the Data Files
79             are furnished to do so, provided that
80             (a) this copyright and permission notice appear with all copies
81             of the Data Files,
82             (b) this copyright and permission notice appear in associated
83             documentation, and
84             (c) there is clear notice in each modified Data File
85             as well as in the documentation associated with the Data File(s)
86             that the data has been modified.
87              
88             THE DATA FILES ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
89             ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
90             WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
91             NONINFRINGEMENT OF THIRD PARTY RIGHTS.
92             IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS
93             NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
94             DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
95             DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
96             TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
97             PERFORMANCE OF THE DATA FILES.
98              
99             Except as contained in this notice, the name of a copyright holder
100             shall not be used in advertising or otherwise to promote the sale,
101             use or other dealings in these Data Files without prior
102             written authorization of the copyright holder.
103             hyphenmins:
104             typesetting:
105             left: 2
106             right: 2
107             changes:
108             - >
109             February 1997 Patterns created by Juan M. Aguirregabiria, based on the
110             shyphen.sh script for Spanish by Julio Sanchez, September 1991.
111             - >
112             26 June 2008 Generating script rewritten in Ruby and adapted for native
113             UTF-8 TeX engines, patterns renamed from bahyph.tex to
114             hyph-eu.tex and added to the hyph-utf8 package. Functionality should
115             not change apart from adding ñ by default.
116             texlive:
117             encoding: ec
118             babelname: basque
119             legacy_patterns: bahyph.tex
120             message: Basque hyphenation patterns
121             description: Hyphenation patterns for Basque in T1/EC and UTF-8 encodings.
122             ==========================================
123              
124             Open vowels: a e o
125             Closed vowels: i u
126             Consonants: b c d f g j k l m n ñ p q r s t v w x y z
127              
128             Some of the patterns below represent combinations that never
129             happen in Basque. Would they happen, they would be hyphenated
130             according to the rules.
131              
132             =end text
133              
134             =cut
135              
136             __DATA__
137             \patterns{
138             % Rule SR1
139             % Vowels are kept together by the defaults
140             % Rule SR2
141             % Attach vowel groups to left consonant
142             1ba 1be 1bo 1bi 1bu
143             1ca 1ce 1co 1ci 1cu
144             1da 1de 1do 1di 1du
145             1fa 1fe 1fo 1fi 1fu
146             1ga 1ge 1go 1gi 1gu
147             1ja 1je 1jo 1ji 1ju
148             1ka 1ke 1ko 1ki 1ku
149             1la 1le 1lo 1li 1lu
150             1ma 1me 1mo 1mi 1mu
151             1na 1ne 1no 1ni 1nu
152             1ña 1ñe 1ño 1ñi 1ñu
153             1pa 1pe 1po 1pi 1pu
154             1qa 1qe 1qo 1qi 1qu
155             1ra 1re 1ro 1ri 1ru
156             1sa 1se 1so 1si 1su
157             1ta 1te 1to 1ti 1tu
158             1va 1ve 1vo 1vi 1vu
159             1wa 1we 1wo 1wi 1wu
160             1xa 1xe 1xo 1xi 1xu
161             1ya 1ye 1yo 1yi 1yu
162             1za 1ze 1zo 1zi 1zu
163             % Rule SR3
164             % Build legal consonant groups, leave other consonants bound to
165             % the previous group. This overrides part of the SR2 pattern group.
166             1l2la 1l2le 1l2lo 1l2li 1l2lu
167             1r2ra 1r2re 1r2ro 1r2ri 1r2ru
168             1t2sa 1t2se 1t2so 1t2si 1t2su
169             1t2xa 1t2xe 1t2xo 1t2xi 1t2xu
170             1t2za 1t2ze 1t2zo 1t2zi 1t2zu
171             1b2la 1b2le 1b2lo 1b2li 1b2lu
172             1b2ra 1b2re 1b2ro 1b2ri 1b2ru
173             1d2ra 1d2re 1d2ro 1d2ri 1d2ru
174             1f2la 1f2le 1f2lo 1f2li 1f2lu
175             1f2ra 1f2re 1f2ro 1f2ri 1f2ru
176             1g2la 1g2le 1g2lo 1g2li 1g2lu
177             1g2ra 1g2re 1g2ro 1g2ri 1g2ru
178             1k2la 1k2le 1k2lo 1k2li 1k2lu
179             1k2ra 1k2re 1k2ro 1k2ri 1k2ru
180             1p2la 1p2le 1p2lo 1p2li 1p2lu
181             1p2ra 1p2re 1p2ro 1p2ri 1p2ru
182             1t2ra 1t2re 1t2ro 1t2ri 1t2ru
183             % We now avoid some problematic breaks.
184             su2b2r su2b2l
185             }
186