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         14  
  7         40  
2 7     7   186 use strict;
  7         12  
  7         8544  
3              
4             ${Lingua::Identify::languages{'_versions'}{'fr'}} = '0.03';
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.139677788737345,
45             'p' => 0.0917477078662072,
46             'l' => 0.091233160567537,
47             'e' => 0.0827640608770502,
48             'c' => 0.0731982777491434,
49             'a' => 0.0665545127978379,
50             's' => 0.055813555966612,
51             'q' => 0.038803843232264,
52             'r' => 0.0323903163942618,
53             'm' => 0.031924607483262,
54             'n' => 0.0299248499309722,
55             'i' => 0.0284749602970072,
56             't' => 0.0255324474398656,
57             'u' => 0.0240768890644745,
58             'f' => 0.020607619311745,
59             'é' => 0.0175281845463132,
60             'v' => 0.0167070891536046,
61             'o' => 0.0166778733324089,
62             'C' => 0.012833594531496,
63             'b' => 0.00912231312557832,
64             };
65              
66             ${Lingua::Identify::languages{'prefixes2'}{'fr'}} = {
67             'co' => 0.0468163617989001,
68             'qu' => 0.043258311324474,
69             'de' => 0.0375796185751284,
70             'pa' => 0.0336814047525181,
71             'pr' => 0.033580809437585,
72             'le' => 0.0299192562691814,
73             'po' => 0.0291453119675862,
74             'no' => 0.0233706757097784,
75             'es' => 0.0201748846642733,
76             'so' => 0.0200969669058858,
77             'in' => 0.0181089011153869,
78             'ce' => 0.0172989053136422,
79             'au' => 0.0171488845549559,
80             'dé' => 0.017080851885319,
81             're' => 0.0170791074578924,
82             'un' => 0.0167994175938298,
83             'su' => 0.0167965102147855,
84             'da' => 0.0138019097991466,
85             'ré' => 0.0131983379095479,
86             'ma' => 0.0129837733360779,
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.302164647192999,
137             's' => 0.225803721729223,
138             't' => 0.133664772169607,
139             'n' => 0.0852907549154194,
140             'r' => 0.0654249270097351,
141             'a' => 0.0445523067453779,
142             'u' => 0.0342776155771891,
143             'i' => 0.0258389681861467,
144             'é' => 0.0230070375134846,
145             'l' => 0.0206880998277373,
146             'x' => 0.0112282648666545,
147             'd' => 0.00553561309859542,
148             'c' => 0.00527126467166486,
149             'z' => 0.00217018716828307,
150             'à' => 0.00195469521629677,
151             'f' => 0.00164236275147453,
152             'm' => 0.00128640843402347,
153             'o' => 0.00126895969297195,
154             'p' => 0.00123842439613179,
155             'E' => 0.00112195404961288,
156             };
157              
158             ${Lingua::Identify::languages{'suffixes2'}{'fr'}} = {
159             'es' => 0.127388168662533,
160             'nt' => 0.0780894766901724,
161             'on' => 0.0582857534623834,
162             're' => 0.0518377053361694,
163             'ns' => 0.0492115404838999,
164             'ue' => 0.0412249780814007,
165             'ur' => 0.0349245064756461,
166             'er' => 0.0322431456806851,
167             'us' => 0.0294757954171099,
168             'ne' => 0.0291364856220379,
169             'le' => 0.0267067021237656,
170             'te' => 0.0237046238512708,
171             'is' => 0.0209326255083111,
172             'it' => 0.0206217851994694,
173             'ts' => 0.0191274276773373,
174             'té' => 0.0186341502526522,
175             'me' => 0.0178956866404321,
176             'st' => 0.0168998356322928,
177             'ui' => 0.0149110386656294,
178             'ce' => 0.0140040821757195,
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{'ngrams2'}{'fr'}} = {
251             'es' => 0.0295571603224842,
252             'on' => 0.0281920193792864,
253             'en' => 0.0268050632195757,
254             'de' => 0.0236974702644772,
255             'nt' => 0.0224344409215772,
256             'le' => 0.0221838219788204,
257             're' => 0.0191259021693031,
258             'ti' => 0.0158675486568945,
259             'me' => 0.0147244517953872,
260             'qu' => 0.0145762517094987,
261             'ou' => 0.0138932203530439,
262             'ur' => 0.0138126167126886,
263             'ns' => 0.0135289164791633,
264             'er' => 0.012973089342939,
265             'io' => 0.012676791590019,
266             'co' => 0.0126203587998845,
267             'la' => 0.0119428580617006,
268             'te' => 0.011878026925303,
269             'an' => 0.0118382884088381,
270             'is' => 0.011799471662085,
271             'it' => 0.0116937754017969,
272             'ue' => 0.0114856602846404,
273             'ai' => 0.0110658453903372,
274             'ce' => 0.0106572965702895,
275             'ne' => 0.00957565102290321,
276             'ra' => 0.00950098767624621,
277             'et' => 0.00923869298380645,
278             'po' => 0.00908188971394106,
279             'in' => 0.00898766436562221,
280             'si' => 0.00879798464270209,
281             'em' => 0.00864773617967627,
282             'se' => 0.00859601465695777,
283             'at' => 0.00850445219891749,
284             'pr' => 0.00835430615474854,
285             'ro' => 0.00831282651771688,
286             'eu' => 0.00810798880398024,
287             'tr' => 0.00804776651614167,
288             'pa' => 0.00776283725633402,
289             'st' => 0.00751150138157917,
290             'un' => 0.00742813243208836,
291             'au' => 0.00739709951845726,
292             'us' => 0.00723292209089735,
293             'ar' => 0.00704877298624812,
294             'ie' => 0.00704826089196378,
295             'or' => 0.00701589653319339,
296             'om' => 0.00661943313825614,
297             'ta' => 0.00636697065607574,
298             'ir' => 0.00601014335874652,
299             've' => 0.00596282584687336,
300             'il' => 0.00595278879890027,
301             };
302              
303             ${Lingua::Identify::languages{'ngrams3'}{'fr'}} = {
304             'ent' => 0.0175142522383181,
305             'ion' => 0.0158966295467364,
306             'que' => 0.0123769684578298,
307             'tio' => 0.0107756745738248,
308             'men' => 0.00983422512714386,
309             'ons' => 0.00942734336457489,
310             'les' => 0.0088123362267445,
311             'eme' => 0.00737901491248428,
312             'ati' => 0.00733538219715616,
313             'con' => 0.00717784935684575,
314             'des' => 0.00667687618668271,
315             'eur' => 0.00665613057049909,
316             'com' => 0.00576045532210714,
317             'est' => 0.00562728185047684,
318             'our' => 0.00555259763221583,
319             'par' => 0.00553439502704827,
320             'omm' => 0.0051034215811693,
321             'ous' => 0.00492969377596715,
322             'tre' => 0.00484630978317753,
323             'ant' => 0.0047689487112154,
324             'res' => 0.00464313658726316,
325             'pro' => 0.00457005848122281,
326             'ont' => 0.00456457093113553,
327             'ire' => 0.00450822316072713,
328             'ans' => 0.00422260287081852,
329             'pou' => 0.00416130292106306,
330             'lle' => 0.0041488555513529,
331             'une' => 0.00401206832722609,
332             'iqu' => 0.00400484082223309,
333             'nou' => 0.00399868405872053,
334             'ssi' => 0.00387635184457973,
335             'dan' => 0.00366916336811369,
336             'nce' => 0.00354187897462584,
337             'rop' => 0.00343948932055832,
338             'iss' => 0.00342182208613098,
339             'ait' => 0.0032855702327444,
340             'ell' => 0.00328035036802723,
341             'sio' => 0.00327579971673534,
342             'ais' => 0.00318906965681933,
343             'ort' => 0.00317314237729771,
344             'qui' => 0.0031632380186036,
345             'rai' => 0.00310916557384114,
346             'air' => 0.00308105860997947,
347             'sur' => 0.00303675668122607,
348             'ter' => 0.00297559057415567,
349             'ien' => 0.00296167093490989,
350             'ité' => 0.00295216810427095,
351             'lem' => 0.00293222554419767,
352             'iti' => 0.00292968253318161,
353             'nte' => 0.00288926204229482,
354             };
355              
356             ${Lingua::Identify::languages{'ngrams4'}{'fr'}} = {
357             'tion' => 0.01399184009266,
358             'ment' => 0.0117471440585099,
359             'emen' => 0.00929259997903258,
360             'atio' => 0.00726870511933608,
361             'comm' => 0.00556140784915142,
362             'ique' => 0.00496020276154464,
363             'pour' => 0.00485710426040213,
364             'ions' => 0.00450069291581164,
365             'nous' => 0.00445131690514642,
366             'sion' => 0.0042501618194434,
367             'elle' => 0.00415436540438518,
368             'dans' => 0.00412202759458331,
369             'aire' => 0.00384976409915468,
370             'leme' => 0.00370007133442668,
371             'port' => 0.00345649460575776,
372             'cons' => 0.00303714623348838,
373             'ssio' => 0.0029594311744484,
374             'euro' => 0.00287024140870454,
375             'miss' => 0.00284624884014186,
376             'urop' => 0.00278261637569302,
377             'mmis' => 0.00273063247714056,
378             'ommi' => 0.00272854616683076,
379             'ques' => 0.00257676709179296,
380             'issi' => 0.00245628267140213,
381             'prés' => 0.00241559962036107,
382             'tiqu' => 0.00230085255332218,
383             'omme' => 0.00227564297041212,
384             'ropé' => 0.00215672328275364,
385             'opée' => 0.00215376767648142,
386             'péen' => 0.00215324609890397,
387             'ence' => 0.00203780359509515,
388             'ette' => 0.00197869146965088,
389             'tout' => 0.00195435118270324,
390             'cont' => 0.00189645607160634,
391             'rati' => 0.00188706767521225,
392             'plus' => 0.00188480750570997,
393             'ouve' => 0.00187785313801064,
394             'part' => 0.00185107882236824,
395             'onne' => 0.00184464603224636,
396             'iden' => 0.00183612693181468,
397             'tant' => 0.00183334518473495,
398             'ppor' => 0.00182499994349576,
399             'ière' => 0.00181682856144905,
400             'rapp' => 0.00179683475431349,
401             'eurs' => 0.00177788410233283,
402             'dent' => 0.00176727869159135,
403             'itio' => 0.00174902347638062,
404             'enne' => 0.00174015665756398,
405             'ieur' => 0.00173563631855942,
406             'appo' => 0.00172537862620291,
407             };
408              
409             ${Lingua::Identify::languages{'letters'}{'fr'}} = {
410             'e' => 0.145653930304067,
411             's' => 0.0820071187990941,
412             'n' => 0.0784593683145175,
413             'i' => 0.0731375389327145,
414             't' => 0.0720664768819875,
415             'a' => 0.0675077832844263,
416             'r' => 0.0674565437019873,
417             'o' => 0.0631043562117119,
418             'u' => 0.0571598314910165,
419             'l' => 0.0515154941491566,
420             'd' => 0.0399454498028865,
421             'c' => 0.0358443281203643,
422             'p' => 0.0328639602934782,
423             'm' => 0.0318483738479036,
424             'é' => 0.0244188787801819,
425             'v' => 0.0125584224921076,
426             'q' => 0.0116290228163588,
427             'f' => 0.00950099163662485,
428             'g' => 0.00855277424459088,
429             'b' => 0.00767852432609359,
430             'h' => 0.00453922418547393,
431             'à' => 0.0044931167074764,
432             'j' => 0.00425321119033379,
433             'x' => 0.00406943297414576,
434             'è' => 0.0034122792197181,
435             'y' => 0.002128357027635,
436             'ê' => 0.00156635086031177,
437             'z' => 0.000630841536418472,
438             'ô' => 0.000444456537022105,
439             'k' => 0.00032845468425094,
440             'ç' => 0.000242512300350954,
441             'î' => 0.000211964059628211,
442             'ù' => 0.000187118157173713,
443             'û' => 0.000186873771247931,
444             'â' => 0.000138648281893626,
445             'w' => 0.000105900567838845,
446             'ï' => 5.92228560144924e-05,
447             'ë' => 1.90621022109921e-05,
448             'ö' => 1.45002315963957e-05,
449             'í' => 1.15676004870123e-05,
450             'ä' => 1.1160290610709e-05,
451             'º' => 9.20520320445343e-06,
452             'á' => 7.65742567450108e-06,
453             'ó' => 4.64333258985704e-06,
454             'ü' => 4.64333258985704e-06,
455             'æ' => 3.17701703516534e-06,
456             'ñ' => 2.85116913412274e-06,
457             'å' => 1.3033916041704e-06,
458             'ì' => 1.22192962890975e-06,
459             'ø' => 4.88771851563899e-07,
460             'ã' => 4.07309876303249e-07,
461             'ò' => 3.25847901042599e-07,
462             'ß' => 3.25847901042599e-07,
463             'ú' => 3.25847901042599e-07,
464             };