File Coverage

blib/lib/TeX/Hyphen/Pattern/Pa.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::Pa v1.1.6;
9 3     3   2268 use strict;
  3         7  
  3         88  
10 3     3   15 use warnings;
  3         8  
  3         82  
11 3     3   52 use 5.014000;
  3         10  
12 3     3   15 use utf8;
  3         5  
  3         29  
13              
14 3     3   79 use Moose;
  3         7  
  3         18  
15              
16             my $pattern_file = q{};
17             while (<DATA>) {
18             $pattern_file .= $_;
19             }
20              
21             sub pattern_data {
22 1     1 1 5 return $pattern_file;
23             }
24              
25             sub version {
26 264     264 1 1226 return $TeX::Hyphen::Pattern::Pa::VERSION;
27             }
28              
29             1;
30             ## no critic qw(RequirePodAtEnd RequireASCII ProhibitFlagComments)
31              
32             =encoding utf8
33              
34             =for stopwords CTAN Ipenburg Pa
35              
36             =head1 NAME
37              
38             TeX::Hyphen::Pattern::Pa - class for hyphenation in locale Pa
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 Panjabi
59             copyright: Copyright (C) 2016 Santhosh Thottingal
60             notice: This file is part of the hyph-utf8 package.
61             See http://www.hyphenation.org/tex for more information.
62             source: https://github.com/santhoshtr/hyphenation/
63             language:
64             name: Panjabi, Punjabi
65             tag: pa
66             version: 0.9.0 2016-01-16
67             authors:
68             -
69             name: Santhosh Thottingal
70             contact: santhosh.thottingal (at) gmail.com
71             licence:
72             - This file is available under any of the following licences:
73             -
74             name: MIT
75             url: https://opensource.org/licenses/MIT
76             text: >
77             Permission is hereby granted, free of charge, to any person
78             obtaining a copy of this software and associated documentation
79             files (the “Software”), to deal in the Software without
80             restriction, including without limitation the rights to use,
81             copy, modify, merge, publish, distribute, sublicense, and/or sell
82             copies of the Software, and to permit persons to whom the
83             Software is furnished to do so, subject to the following
84             conditions:
85              
86             The above copyright notice and this permission notice shall be
87             included in all copies or substantial portions of the Software.
88              
89             THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
90             EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
91             OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
92             NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
93             HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
94             WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
95             FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
96             OTHER DEALINGS IN THE SOFTWARE.
97             -
98             name: LGPL
99             version: 3
100             or_later: true
101             url: http://www.gnu.org/licenses/lgpl.html
102             -
103             name: GPL
104             version: 3
105             or_later: true
106             url: http://www.gnu.org/licenses/gpl.html
107             hyphenmins:
108             generation:
109             left: 1
110             right: 1
111             texlive:
112             babelname: panjabi
113             message: Panjabi hyphenation patterns
114             package: indic
115              
116             =end text
117              
118             =cut
119              
120             __DATA__
121             \patterns{
122             % GENERAL RULE
123             % Do not break either side of ZERO-WIDTH JOINER (U+200D)
124             2‍2
125             % Break on both sides of ZERO-WIDTH NON JOINER (U+200C)
126             1‌1
127             % Break before or after any independent vowel.
128             ਅ1
129             ਆ1
130             ਇ1
131             ਈ1
132             ਉ1
133             ਊ1
134             ਏ1
135             ਐ1
136             ਓ1
137             ਔ1
138             % Break after any dependent vowel but not before.
139             ਾ1
140             ਿ1
141             ੀ1
142             ੁ1
143             ੂ1
144             ੇ1
145             ੈ1
146             ੋ1
147             ੌ1
148             % Break before or after any consonant.
149             1ਕ
150             1ਖ
151             1ਗ
152             1ਘ
153             1ਙ
154             1ਚ
155             1ਛ
156             1ਜ
157             1ਝ
158             1ਞ
159             1ਟ
160             1ਠ
161             1ਡ
162             1ਢ
163             1ਣ
164             1ਤ
165             1ਥ
166             1ਦ
167             1ਧ
168             1ਨ
169             1ਪ
170             1ਫ
171             1ਬ
172             1ਭ
173             1ਮ
174             1ਯ
175             1ਰ
176             1ਲ
177             1ਲ਼
178             1ਵ
179             1ਸ਼
180             1ਸ
181             1ਹ
182             % Do not break before chandrabindu, anusvara, visarga, avagraha
183             % and accents.
184             2ਁ1
185             2ਂ1
186             2ਃ1
187             % Do not break either side of virama (may be within conjunct).
188             2੍2
189             2ੰ2
190             2ੱ2
191             }
192