File Coverage

blib/lib/Lingua/Identify/FR.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1 7     7   37 use utf8;
  7         11  
  7         36  
2 7     7   183 use strict;
  7         12  
  7         6356  
3              
4             ${Lingua::Identify::languages{'_versions'}{'fr'}} = '0.02';
5              
6             ${Lingua::Identify::languages{'_names'}{'fr'}} = 'french';
7              
8             ${Lingua::Identify::languages{'_sets'}{'fr'}} = '';
9              
10              
11             =head1 NAME
12              
13             Lingua::Identify::FR - Meta-information on French
14              
15             =head1 SYNOPSIS
16              
17             Nothing here is meant for public consumption. This module is to be
18             loaded by Lingua::Identify.
19              
20             =head1 DESCRIPTION
21              
22             Automatically generated. Do not change this module yourself unless
23             you know what you're doing.
24              
25             =head1 SEE ALSO
26              
27             Lingua::Identify(3).
28              
29             =head1 AUTHOR
30              
31             Jose Castro, C<< >>
32              
33             =head1 COPYRIGHT AND LICENSE
34              
35             Copyright (C) 2010 by Alberto Simoes
36              
37             This library is free software; you can redistribute it and/or modify
38             it under the same terms as Perl itself, either Perl version 5.8.4 or,
39             at your option, any later version of Perl 5 you may have available.
40              
41             =cut
42              
43             ${Lingua::Identify::languages{'prefixes1'}{'fr'}} = {
44             'd' => 0.139677666922487,
45             'p' => 0.0917476278518105,
46             'l' => 0.0912330810018838,
47             'e' => 0.0827639886974116,
48             'c' => 0.0731982139119514,
49             'a' => 0.0665544547547617,
50             's' => 0.0558135072908672,
51             'q' => 0.0388038093909161,
52             'r' => 0.032390288146236,
53             'm' => 0.031925451754692,
54             'n' => 0.0299248238331124,
55             'i' => 0.0284749354636154,
56             't' => 0.0255324251726784,
57             'u' => 0.0240768680666992,
58             'f' => 0.020607601339566,
59             'é' => 0.0175281692597502,
60             'v' => 0.0167070745831298,
61             'o' => 0.0166778587874137,
62             'C' => 0.0128335833391474,
63             'b' => 0.00912230516988767,
64             };
65              
66             ${Lingua::Identify::languages{'prefixes2'}{'fr'}} = {
67             'co' => 0.0468163073537997,
68             'qu' => 0.0432582610172093,
69             'de' => 0.037579574871901,
70             'pa' => 0.0336813655827195,
71             'pr' => 0.0335807703847737,
72             'le' => 0.0299192214745744,
73             'po' => 0.0291452780730379,
74             'no' => 0.0233706485308449,
75             'es' => 0.0201748612018858,
76             'so' => 0.0200969435341128,
77             'in' => 0.0181088800556355,
78             'ce' => 0.0172988851958757,
79             'au' => 0.017148864611656,
80             'dé' => 0.0170808320211378,
81             're' => 0.0170790875957399,
82             'un' => 0.0167993980569427,
83             'su' => 0.0167964906812795,
84             'da' => 0.013801893748212,
85             'ré' => 0.0131983225605374,
86             'ma' => 0.0129837582365953,
87             };
88              
89             ${Lingua::Identify::languages{'prefixes3'}{'fr'}} = {
90             'con' => 0.0294696509020054,
91             'pro' => 0.0221957770556213,
92             'pou' => 0.0212222461972359,
93             'com' => 0.0202828615704506,
94             'nou' => 0.0174828705792436,
95             'dan' => 0.0166408390382968,
96             'par' => 0.0124938881878014,
97             'tou' => 0.0106732401795075,
98             'pré' => 0.0092318332966443,
99             'Com' => 0.0092282007188145,
100             'eur' => 0.00907054684100134,
101             'plu' => 0.00850531773068504,
102             'fai' => 0.00845446164106789,
103             'int' => 0.00845373512550193,
104             'tra' => 0.00837817750664217,
105             'rap' => 0.00779769156944072,
106             'sou' => 0.00692587289028961,
107             'vou' => 0.00680091221294462,
108             'ave' => 0.00654009312476524,
109             'aut' => 0.00653864009363333,
110             };
111              
112             ${Lingua::Identify::languages{'prefixes4'}{'fr'}} = {
113             'comm' => 0.0166803665231573,
114             'Comm' => 0.0112944691463859,
115             'euro' => 0.0110222805784866,
116             'cons' => 0.0108947769636235,
117             'cont' => 0.00911786488414804,
118             'rapp' => 0.00906179946484653,
119             'conc' => 0.00774335783030444,
120             'cett' => 0.00750734050066419,
121             'comp' => 0.0074015396287565,
122             'prop' => 0.00726137608050271,
123             'poli' => 0.00682551265948125,
124             'part' => 0.00681556556896001,
125             'Prés' => 0.00589229471239796,
126             'entr' => 0.0058190479549234,
127             'Unio' => 0.00573947123075351,
128             'inte' => 0.00568340581145199,
129             'Mons' => 0.00562191470641162,
130             'Parl' => 0.00542478145789984,
131             'impo' => 0.00540217443398794,
132             'prés' => 0.00537866312911956,
133             };
134              
135             ${Lingua::Identify::languages{'suffixes1'}{'fr'}} = {
136             'e' => 0.302164383573595,
137             's' => 0.225803524729861,
138             't' => 0.133664655555609,
139             'n' => 0.0852906805046695,
140             'r' => 0.0654248699306544,
141             'a' => 0.0445522678763287,
142             'u' => 0.0342775856721533,
143             'i' => 0.0258389456432931,
144             'é' => 0.0230070174413101,
145             'l' => 0.0206880817786882,
146             'x' => 0.0112282550707088,
147             'd' => 0.00553560826912566,
148             'c' => 0.00527126007282226,
149             'z' => 0.00217018527493303,
150             'à' => 0.00195469351094973,
151             'f' => 0.00164236131861766,
152             'm' => 0.00128597109356836,
153             'o' => 0.00126895858588546,
154             'p' => 0.0012384233156854,
155             'E' => 0.00112195307077945,
156             };
157              
158             ${Lingua::Identify::languages{'suffixes2'}{'fr'}} = {
159             'es' => 0.127388020635124,
160             'nt' => 0.0780893859487561,
161             'on' => 0.0582856857332598,
162             're' => 0.0518376450997971,
163             'ns' => 0.0492114832991797,
164             'ue' => 0.0412249301772136,
165             'ur' => 0.0349244658927236,
166             'er' => 0.0322431082135534,
167             'us' => 0.0294757611656905,
168             'ne' => 0.0291364517649027,
169             'le' => 0.0267066710900837,
170             'te' => 0.0237045963060594,
171             'is' => 0.020932601184213,
172             'it' => 0.0206217612365736,
173             'ts' => 0.0191274054509126,
174             'té' => 0.0186341285994249,
175             'me' => 0.0178956658453133,
176             'st' => 0.0168998159943712,
177             'ui' => 0.0149110213387266,
178             'ce' => 0.014004065902717,
179             };
180              
181             ${Lingua::Identify::languages{'suffixes3'}{'fr'}} = {
182             'ent' => 0.0647887283014427,
183             'ion' => 0.0613378821539673,
184             'ons' => 0.0317928271801719,
185             'ous' => 0.0263281398704225,
186             'tre' => 0.0201827277522133,
187             'ans' => 0.0194271740693976,
188             'our' => 0.0181129465576538,
189             'res' => 0.0173021793364786,
190             'que' => 0.0170595303652666,
191             'ant' => 0.0169847014909108,
192             'ire' => 0.0159756014279965,
193             'eur' => 0.0137518035211708,
194             'ait' => 0.0129570191663628,
195             'ité' => 0.0129446687696244,
196             'les' => 0.0125981311670253,
197             'ais' => 0.0117328769014162,
198             'lle' => 0.0112461259711408,
199             'nce' => 0.0111378783761989,
200             'urs' => 0.00997548809494404,
201             'nts' => 0.00978078772283385,
202             };
203              
204             ${Lingua::Identify::languages{'suffixes4'}{'fr'}} = {
205             'tion' => 0.0497842387588936,
206             'ment' => 0.0492886932428571,
207             'ions' => 0.0234081956717535,
208             'sion' => 0.0188524323327172,
209             'ique' => 0.0164524728444674,
210             'aire' => 0.0139702238635912,
211             'eurs' => 0.00924716869888557,
212             'ette' => 0.00907716403280005,
213             'ques' => 0.00829857883333394,
214             'ence' => 0.00815298973099475,
215             'elle' => 0.00811862708572214,
216             'dent' => 0.00793505821755533,
217             'ents' => 0.00786452436673262,
218             'enne' => 0.00714019597559167,
219             'port' => 0.00685534773188456,
220             'ieur' => 0.00684178352980327,
221             'vons' => 0.00680199520369814,
222             'ient' => 0.0067703453988418,
223             'omme' => 0.00672784423232042,
224             'nion' => 0.00666544890274648,
225             };
226              
227             ${Lingua::Identify::languages{'smallwords'}{'fr'}} = {
228             'de' => 0.0548889164996241,
229             'la' => 0.0336530571656713,
230             'le' => 0.0231614960853302,
231             'et' => 0.0227153895311683,
232             'à' => 0.020405558351967,
233             'des' => 0.0193085263599359,
234             'les' => 0.0187852416756814,
235             'que' => 0.0166993118848808,
236             'en' => 0.0129205518999602,
237             'du' => 0.010745994476251,
238             'dans' => 0.0094148837599828,
239             'pour' => 0.00902390444160139,
240             'qui' => 0.0083199720462509,
241             'nous' => 0.00814059650213448,
242             'une' => 0.00807359570787823,
243             'ce' => 0.00750112056708115,
244             'un' => 0.00724668717117134,
245             'pas' => 0.00710462852512169,
246             'est' => 0.00709233091098605,
247             'au' => 0.00677004860950029,
248             };
249              
250             ${Lingua::Identify::languages{'ngrams1'}{'fr'}} = {
251             'e' => 0.145653930304067,
252             's' => 0.0820071187990941,
253             'n' => 0.0784593683145175,
254             'i' => 0.0731375389327145,
255             't' => 0.0720664768819875,
256             'a' => 0.0675077832844263,
257             'r' => 0.0674565437019873,
258             'o' => 0.0631043562117119,
259             'u' => 0.0571598314910165,
260             'l' => 0.0515154941491566,
261             'd' => 0.0399454498028865,
262             'c' => 0.0358443281203643,
263             'p' => 0.0328639602934782,
264             'm' => 0.0318483738479036,
265             'é' => 0.0244188787801819,
266             'v' => 0.0125584224921076,
267             'q' => 0.0116290228163588,
268             'f' => 0.00950099163662485,
269             'g' => 0.00855277424459088,
270             'b' => 0.00767852432609359,
271             };
272              
273             ${Lingua::Identify::languages{'ngrams2'}{'fr'}} = {
274             'es' => 0.0295571603224842,
275             'on' => 0.0281920193792864,
276             'en' => 0.0268050632195757,
277             'de' => 0.0236974702644772,
278             'nt' => 0.0224344409215772,
279             'le' => 0.0221838219788204,
280             're' => 0.0191259021693031,
281             'ti' => 0.0158675486568945,
282             'me' => 0.0147244517953872,
283             'qu' => 0.0145762517094987,
284             'ou' => 0.0138932203530439,
285             'ur' => 0.0138126167126886,
286             'ns' => 0.0135289164791633,
287             'er' => 0.012973089342939,
288             'io' => 0.012676791590019,
289             'co' => 0.0126203587998845,
290             'la' => 0.0119428580617006,
291             'te' => 0.011878026925303,
292             'an' => 0.0118382884088381,
293             'is' => 0.011799471662085,
294             };
295              
296             ${Lingua::Identify::languages{'ngrams3'}{'fr'}} = {
297             'ent' => 0.0175142522383181,
298             'ion' => 0.0158966295467364,
299             'que' => 0.0123769684578298,
300             'tio' => 0.0107756745738248,
301             'men' => 0.00983422512714386,
302             'ons' => 0.00942734336457489,
303             'les' => 0.0088123362267445,
304             'eme' => 0.00737901491248428,
305             'ati' => 0.00733538219715616,
306             'con' => 0.00717784935684575,
307             'des' => 0.00667687618668271,
308             'eur' => 0.00665613057049909,
309             'com' => 0.00576045532210714,
310             'est' => 0.00562728185047684,
311             'our' => 0.00555259763221583,
312             'par' => 0.00553439502704827,
313             'omm' => 0.0051034215811693,
314             'ous' => 0.00492969377596715,
315             'tre' => 0.00484630978317753,
316             'ant' => 0.0047689487112154,
317             };
318              
319             ${Lingua::Identify::languages{'ngrams4'}{'fr'}} = {
320             'tion' => 0.01399184009266,
321             'ment' => 0.0117471440585099,
322             'emen' => 0.00929259997903258,
323             'atio' => 0.00726870511933608,
324             'comm' => 0.00556140784915142,
325             'ique' => 0.00496020276154464,
326             'pour' => 0.00485710426040213,
327             'ions' => 0.00450069291581164,
328             'nous' => 0.00445131690514642,
329             'sion' => 0.0042501618194434,
330             'elle' => 0.00415436540438518,
331             'dans' => 0.00412202759458331,
332             'aire' => 0.00384976409915468,
333             'leme' => 0.00370007133442668,
334             'port' => 0.00345649460575776,
335             'cons' => 0.00303714623348838,
336             'ssio' => 0.0029594311744484,
337             'euro' => 0.00287024140870454,
338             'miss' => 0.00284624884014186,
339             'urop' => 0.00278261637569302,
340             };