File Coverage

blib/lib/Lingua/Identify/ES.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   35 use utf8;
  7         14  
  7         37  
2 7     7   183 use strict;
  7         14  
  7         6408  
3              
4             ${Lingua::Identify::languages{'_versions'}{'es'}} = '0.02';
5              
6             ${Lingua::Identify::languages{'_names'}{'es'}} = 'spanish';
7              
8             ${Lingua::Identify::languages{'_sets'}{'es'}} = '';
9              
10              
11             =head1 NAME
12              
13             Lingua::Identify::ES - Meta-information on Spanish
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'}{'es'}} = {
44             'd' => 0.123692374671329,
45             'e' => 0.11702320930107,
46             'l' => 0.0977325901599634,
47             'p' => 0.0838099555879987,
48             'c' => 0.0659256755706169,
49             's' => 0.0602675849675155,
50             'a' => 0.0496351374464286,
51             'q' => 0.0447000614582882,
52             'm' => 0.0362591624814745,
53             't' => 0.0304398563954673,
54             'n' => 0.027204089799479,
55             'r' => 0.0255276942830698,
56             'u' => 0.0239073559269604,
57             'h' => 0.023351285263841,
58             'i' => 0.0226196779454764,
59             'E' => 0.0188249764519009,
60             'C' => 0.015212767611564,
61             'P' => 0.0146861576458284,
62             'f' => 0.0143444953914467,
63             'v' => 0.0121234861497896,
64             };
65              
66             ${Lingua::Identify::languages{'prefixes2'}{'es'}} = {
67             'qu' => 0.0608421200368028,
68             'co' => 0.0554236219560282,
69             'de' => 0.0489708807941561,
70             'pr' => 0.0338125641876764,
71             'es' => 0.0332238754764647,
72             're' => 0.0304419453794898,
73             'po' => 0.0288579995945455,
74             'lo' => 0.0284029771942996,
75             'pa' => 0.0262398107285037,
76             'in' => 0.0225578608043593,
77             'la' => 0.0214033180433925,
78             'se' => 0.0177380764081189,
79             'Co' => 0.0165183713205563,
80             'un' => 0.0162410137253024,
81             'ha' => 0.0145100349982958,
82             'so' => 0.0138528423027141,
83             'di' => 0.0134936140919936,
84             'pe' => 0.0114574306216152,
85             'si' => 0.0112586019840536,
86             'ca' => 0.0106487494402723,
87             };
88              
89             ${Lingua::Identify::languages{'prefixes3'}{'es'}} = {
90             'est' => 0.0307741274530282,
91             'con' => 0.0278783073519444,
92             'par' => 0.0232532364839231,
93             'pro' => 0.0222330211588112,
94             'com' => 0.0201542258654424,
95             'pre' => 0.0131540994042113,
96             'Com' => 0.0130610296217672,
97             'res' => 0.0106468989290581,
98             'des' => 0.0104145797011252,
99             'tra' => 0.0101531317626564,
100             'deb' => 0.00982348001415229,
101             'per' => 0.00967002144157278,
102             'Eur' => 0.00956984709558338,
103             'int' => 0.00834715170942904,
104             'tod' => 0.00828321063752091,
105             'sob' => 0.00826544922865754,
106             'pue' => 0.00821003363300382,
107             'nue' => 0.00804165547697908,
108             'Pre' => 0.00777310297496494,
109             'Est' => 0.00746760674251499,
110             };
111              
112             ${Lingua::Identify::languages{'prefixes4'}{'es'}} = {
113             'Comi' => 0.0129892071878787,
114             'Euro' => 0.0108324232211585,
115             'cons' => 0.00954465828150881,
116             'cont' => 0.00953091565503421,
117             'sobr' => 0.00924717083782326,
118             'inte' => 0.0086360281545997,
119             'Pres' => 0.00852608714280286,
120             'prop' => 0.00728520881112538,
121             'esta' => 0.00698529619806197,
122             'Parl' => 0.0066837668054133,
123             'resp' => 0.00667810807686493,
124             'Seño' => 0.00663849697702637,
125             'pres' => 0.00656574189569023,
126             'comp' => 0.00649945393269508,
127             'part' => 0.00645499249410078,
128             'tamb' => 0.00631999139873261,
129             'polí' => 0.00620034970942429,
130             'Cons' => 0.00603543819172904,
131             'pued' => 0.00584384981087721,
132             'deci' => 0.00566115371774424,
133             };
134              
135             ${Lingua::Identify::languages{'suffixes1'}{'es'}} = {
136             'e' => 0.200769749129416,
137             's' => 0.186129286084498,
138             'a' => 0.175487817559385,
139             'o' => 0.146703081207264,
140             'n' => 0.122347616119452,
141             'l' => 0.062030676971474,
142             'r' => 0.0582719987685324,
143             'd' => 0.0107732945115356,
144             'i' => 0.00580730315964782,
145             'y' => 0.00572460487002858,
146             'á' => 0.00470070178914884,
147             'u' => 0.00455577508357849,
148             'í' => 0.00302626612309599,
149             'z' => 0.00245147207049497,
150             'é' => 0.00237655233286962,
151             'ó' => 0.00169695252708778,
152             'E' => 0.00142756898961522,
153             't' => 0.000728727502585345,
154             'm' => 0.000530169728004507,
155             'C' => 0.000440511681338107,
156             };
157              
158             ${Lingua::Identify::languages{'suffixes2'}{'es'}} = {
159             'os' => 0.111041857092011,
160             'as' => 0.0633217532444023,
161             'ue' => 0.0587610140348004,
162             'es' => 0.0517032311177432,
163             'ón' => 0.0513695864198253,
164             'te' => 0.0433804947633378,
165             'do' => 0.0404339497683704,
166             'to' => 0.0328024539316881,
167             'ra' => 0.0313893377403398,
168             'ar' => 0.027577767343258,
169             'or' => 0.0261173059109698,
170             'ta' => 0.0201506915468693,
171             'el' => 0.0193965097088379,
172             'na' => 0.0192349788868076,
173             'ia' => 0.0170832769367963,
174             'on' => 0.015450144625786,
175             'er' => 0.0150819657521237,
176             'al' => 0.0150223664488229,
177             'an' => 0.0144742756595888,
178             'da' => 0.0141980022536335,
179             };
180              
181             ${Lingua::Identify::languages{'suffixes3'}{'es'}} = {
182             'ión' => 0.0642928138603183,
183             'nte' => 0.0371558951893709,
184             'mos' => 0.0218205095596609,
185             'nto' => 0.0217011514505207,
186             'ado' => 0.02145177825821,
187             'nes' => 0.0191875265092229,
188             'ara' => 0.0167527631757498,
189             'dos' => 0.0166106701886782,
190             'tos' => 0.014050865026582,
191             'dad' => 0.0137041581381272,
192             'sta' => 0.013416419839307,
193             'les' => 0.0127592397741006,
194             'cia' => 0.0120068574075561,
195             'ido' => 0.0111635355292857,
196             'bre' => 0.0108800600200777,
197             'ste' => 0.010367104336749,
198             'ica' => 0.0101028113807957,
199             'ndo' => 0.00995077188462902,
200             'das' => 0.00957209407408302,
201             'ero' => 0.00949181153638753,
202             };
203              
204             ${Lingua::Identify::languages{'suffixes4'}{'es'}} = {
205             'ción' => 0.0448115075996786,
206             'ente' => 0.0338093136280078,
207             'ones' => 0.0197247268852878,
208             'sión' => 0.0177263857024832,
209             'ento' => 0.0169373966270717,
210             'idad' => 0.0135841930565728,
211             'emos' => 0.0123788829014103,
212             'ados' => 0.0115155219049559,
213             'ncia' => 0.0106190169002107,
214             'ales' => 0.0100943715006799,
215             'obre' => 0.00920433361950355,
216             'amos' => 0.00897636751369818,
217             'ntes' => 0.00847193187532033,
218             'nión' => 0.0072464119590049,
219             'bién' => 0.00722054346472912,
220             'tado' => 0.00700631999650775,
221             'ante' => 0.00700066126338493,
222             'eñor' => 0.00614700095228395,
223             'ores' => 0.00596592149235343,
224             'tica' => 0.00587214820060371,
225             };
226              
227             ${Lingua::Identify::languages{'smallwords'}{'es'}} = {
228             'de' => 0.0675563030380086,
229             'la' => 0.0440701192472395,
230             'que' => 0.0365505522580535,
231             'en' => 0.027754537033423,
232             'el' => 0.0245319206739399,
233             'y' => 0.0221169872730034,
234             'a' => 0.0215373105084963,
235             'los' => 0.0189817088793727,
236             'las' => 0.0134550706065622,
237             'del' => 0.012351752498117,
238             'se' => 0.011969938735895,
239             'una' => 0.00959094529435793,
240             'un' => 0.00904643558689761,
241             'no' => 0.00881456488109477,
242             'por' => 0.00835662023713417,
243             'para' => 0.00810581342369077,
244             'con' => 0.00781249698085018,
245             'es' => 0.00738237682158593,
246             'al' => 0.00558228724220325,
247             'ha' => 0.00512704775647702,
248             };
249              
250             ${Lingua::Identify::languages{'ngrams1'}{'es'}} = {
251             'e' => 0.137582751339263,
252             'a' => 0.110241519388447,
253             'o' => 0.0868936234315965,
254             's' => 0.0775012626707994,
255             'n' => 0.0728254144094035,
256             'r' => 0.0661694950133168,
257             'i' => 0.0647388531853114,
258             'l' => 0.0506737247872097,
259             'd' => 0.0490228953522778,
260             't' => 0.0473240851971237,
261             'c' => 0.045585612006794,
262             'u' => 0.0395515935991409,
263             'p' => 0.0305046478145822,
264             'm' => 0.0303106455124318,
265             'b' => 0.0120554832721342,
266             'q' => 0.00989719803376087,
267             'g' => 0.00951550870884729,
268             'ó' => 0.00851130227068181,
269             'y' => 0.0078238610047055,
270             'v' => 0.00765812342859291,
271             };
272              
273             ${Lingua::Identify::languages{'ngrams2'}{'es'}} = {
274             'de' => 0.0312043888139478,
275             'en' => 0.0286472816885396,
276             'es' => 0.0281682201996675,
277             'os' => 0.0212260056354301,
278             'la' => 0.0208438319080878,
279             'nt' => 0.0170910395432659,
280             'ue' => 0.0168259185228659,
281             're' => 0.0167987438583338,
282             'ci' => 0.0162685018175337,
283             'er' => 0.015716750501627,
284             'ar' => 0.0156113166441844,
285             'co' => 0.0153944954692248,
286             'te' => 0.0149374233732074,
287             'ra' => 0.0143007872394689,
288             'ta' => 0.0142054358547325,
289             'on' => 0.01395932749715,
290             'as' => 0.0138690653605415,
291             'st' => 0.0125814855841765,
292             'el' => 0.0124803727864651,
293             'qu' => 0.0123324965201066,
294             };
295              
296             ${Lingua::Identify::languages{'ngrams3'}{'es'}} = {
297             'que' => 0.0138976964252045,
298             'ent' => 0.0136774087038489,
299             'ión' => 0.0113528463594757,
300             'est' => 0.0107764100954501,
301             'nte' => 0.0105425739265396,
302             'con' => 0.00960559841924743,
303             'aci' => 0.00702361557133113,
304             'res' => 0.00699965489093312,
305             'ció' => 0.00698547920043586,
306             'los' => 0.00686241413514551,
307             'men' => 0.0066426282081438,
308             'ado' => 0.00624633611716296,
309             'com' => 0.00605904137457531,
310             'par' => 0.00603746421735825,
311             'sta' => 0.00577352038721463,
312             'por' => 0.00508944923428063,
313             'las' => 0.00486564895244783,
314             'nto' => 0.00483516494544931,
315             'pre' => 0.00482111470354052,
316             'pro' => 0.0047635338014322,
317             };
318              
319             ${Lingua::Identify::languages{'ngrams4'}{'es'}} = {
320             'ción' => 0.0089756383164582,
321             'ente' => 0.00808833994408401,
322             'ment' => 0.00741671336587085,
323             'ació' => 0.00577359221936477,
324             'esta' => 0.00540620535678867,
325             'amen' => 0.00449008597888845,
326             'cion' => 0.00421029554322009,
327             'ento' => 0.00419102756761562,
328             'ones' => 0.00402231134425541,
329             'pres' => 0.00388063505304603,
330             'uest' => 0.00386525305571473,
331             'para' => 0.0038582906779753,
332             'ione' => 0.00373053914224478,
333             'sión' => 0.00355065073134921,
334             'idad' => 0.0034146414917882,
335             'cons' => 0.00320836081178734,
336             'enci' => 0.0031923311514105,
337             'euro' => 0.0031678818714418,
338             'ncia' => 0.00314488983332553,
339             'enta' => 0.00310392514569585,
340             };