File Coverage

blib/lib/Lingua/Identify/RO.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         43  
2 7     7   186 use strict;
  7         16  
  7         6205  
3              
4             ${Lingua::Identify::languages{'_versions'}{'ro'}} = '0.02';
5              
6             ${Lingua::Identify::languages{'_names'}{'ro'}} = 'romanian';
7              
8             ${Lingua::Identify::languages{'_sets'}{'ro'}} = '';
9              
10              
11             =head1 NAME
12              
13             Lingua::Identify::RO - Meta-information on Romanian
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'}{'ro'}} = {
44             'd' => 0.113234863963634,
45             'a' => 0.0925965969783178,
46             'c' => 0.0912987426630064,
47             'p' => 0.0794932518075709,
48             's' => 0.0636316953790753,
49             'î' => 0.0420777802574475,
50             'l' => 0.0376269416355564,
51             'm' => 0.030885032641361,
52             'i' => 0.0301002532874281,
53             'f' => 0.0276111463801998,
54             'ş' => 0.0265819630750697,
55             'r' => 0.0249071026648264,
56             'e' => 0.0244841624939603,
57             'v' => 0.0201572592090239,
58             't' => 0.0199106885561317,
59             'u' => 0.0196697513276465,
60             'n' => 0.0180273914428283,
61             'S' => 0.0179194896984168,
62             'A' => 0.0176755190875586,
63             'P' => 0.0164097319573333,
64             };
65              
66             ${Lingua::Identify::languages{'prefixes2'}{'ro'}} = {
67             'pr' => 0.0392673872285755,
68             'di' => 0.0306722416270733,
69             'co' => 0.028654890453407,
70             'de' => 0.0285755983822119,
71             're' => 0.022859099713227,
72             'pe' => 0.0225218211205349,
73             'in' => 0.0218805895882616,
74             'ac' => 0.0208302569350397,
75             'ca' => 0.020531475217493,
76             'în' => 0.0200890484434334,
77             'ma' => 0.0154337994519654,
78             'fo' => 0.0123034863804376,
79             'tr' => 0.0118518663227612,
80             'ce' => 0.011770850510888,
81             'al' => 0.0110939950045995,
82             'pa' => 0.0110233216367952,
83             'po' => 0.0107854454232099,
84             'su' => 0.010618817157655,
85             'lu' => 0.0100936508310441,
86             'as' => 0.00975235017676961,
87             };
88              
89             ${Lingua::Identify::languages{'prefixes3'}{'ro'}} = {
90             'pen' => 0.0190812425419362,
91             'pro' => 0.0173210761400229,
92             'con' => 0.0168948105810133,
93             'dec' => 0.0139679559774719,
94             'pre' => 0.0138362126843456,
95             'ace' => 0.0123851363163055,
96             'car' => 0.0121830877080974,
97             'pri' => 0.011523104480032,
98             'int' => 0.0093544071931838,
99             'par' => 0.00907255255163957,
100             'fos' => 0.00901744838576463,
101             'est' => 0.00848224125743906,
102             'com' => 0.00801100563202578,
103             'înt' => 0.00700202935341912,
104             'înc' => 0.00696656000526973,
105             'tre' => 0.00686775253542501,
106             'sta' => 0.00564976045522375,
107             'mar' => 0.00518422526076305,
108             'Min' => 0.00514812253139671,
109             'dis' => 0.00509681865282349,
110             };
111              
112             ${Lingua::Identify::languages{'prefixes4'}{'ro'}} = {
113             'pent' => 0.0218511417840626,
114             'decl' => 0.0118419043128463,
115             'aces' => 0.00909809364097226,
116             'inte' => 0.00844642933927616,
117             'part' => 0.00703189522364911,
118             'Mini' => 0.00590723680991419,
119             'poli' => 0.00573598032107255,
120             'guve' => 0.00563144713957181,
121             'Serb' => 0.00544758735934356,
122             'cons' => 0.00511100534231281,
123             'cont' => 0.00458611532456441,
124             'Koso' => 0.0044830648832268,
125             'afir' => 0.00439410047343893,
126             'asup' => 0.00437630759148136,
127             'priv' => 0.0042228439845973,
128             'Euro' => 0.00418799959076372,
129             'disc' => 0.00418503411043745,
130             'asem' => 0.00417613766945867,
131             'Turc' => 0.00412350039366751,
132             'acor' => 0.00398486418841476,
133             };
134              
135             ${Lingua::Identify::languages{'suffixes1'}{'ro'}} = {
136             'e' => 0.227849749900479,
137             'i' => 0.155672672516745,
138             'a' => 0.139453415719058,
139             'ă' => 0.0808820984128633,
140             'n' => 0.0704510445332918,
141             't' => 0.0698366131851775,
142             'l' => 0.0641293248178341,
143             'u' => 0.0512470360177925,
144             'r' => 0.0392392301434827,
145             's' => 0.013398497672084,
146             'c' => 0.0120882877269502,
147             'd' => 0.011608858196168,
148             'o' => 0.00741471519808921,
149             'm' => 0.00709019159873306,
150             'E' => 0.00619407376637762,
151             'A' => 0.0048038146667359,
152             'v' => 0.00372033854301885,
153             'H' => 0.00297479966076466,
154             'p' => 0.00296008792426052,
155             'P' => 0.00267710334562196,
156             };
157              
158             ${Lingua::Identify::languages{'suffixes2'}{'ro'}} = {
159             'ul' => 0.0541373201622728,
160             're' => 0.0459967616465315,
161             'le' => 0.0459234490812733,
162             'te' => 0.0446771354718838,
163             'ea' => 0.042287031293583,
164             'at' => 0.0404925917080052,
165             'ia' => 0.0341802652883904,
166             'ii' => 0.0330616759137867,
167             'or' => 0.0329139052744381,
168             'ui' => 0.0290586952998054,
169             'ei' => 0.0270889928629072,
170             'in' => 0.0253002808214902,
171             'ru' => 0.0238913049579341,
172             'ie' => 0.0238741223254517,
173             'ri' => 0.0190022732622774,
174             'tă' => 0.0187359424588003,
175             'ne' => 0.0152072025013331,
176             'ta' => 0.0127729962329942,
177             'st' => 0.0121836319388482,
178             'ni' => 0.0109029530644939,
179             };
180              
181             ${Lingua::Identify::languages{'suffixes3'}{'ro'}} = {
182             'are' => 0.0308410754797732,
183             'rea' => 0.0253467711493474,
184             'lor' => 0.024832942596387,
185             'lui' => 0.0246221087675311,
186             'tru' => 0.0227189231567505,
187             'ile' => 0.0201743987132824,
188             'ele' => 0.0175787439101217,
189             'ate' => 0.0175673816079678,
190             'tul' => 0.0143922493949574,
191             'iei' => 0.0142458019449736,
192             'rii' => 0.0141643721128706,
193             'rul' => 0.0127308283244518,
194             'ste' => 0.0111167501795875,
195             'rat' => 0.010749369076611,
196             'ale' => 0.00953297150713363,
197             'ţia' => 0.00943134202675696,
198             'tea' => 0.00924133908518318,
199             'nia' => 0.00909867906925071,
200             'ţii' => 0.00907153579188302,
201             'ost' => 0.00795171779071397,
202             };
203              
204             ${Lingua::Identify::languages{'suffixes4'}{'ro'}} = {
205             'ului' => 0.0277711108075075,
206             'ntru' => 0.0224029894284417,
207             'ilor' => 0.0197148670154825,
208             'area' => 0.018949786021025,
209             'rile' => 0.00960117568430809,
210             'elor' => 0.0093131625686339,
211             'arat' => 0.00844912322161132,
212             'tate' => 0.00777856960870834,
213             'tele' => 0.00747061712348747,
214             'ării' => 0.00729337828307258,
215             'erea' => 0.00657556097939229,
216             'iile' => 0.00630453325259119,
217             'ează' => 0.00613689484936545,
218             'ţiei' => 0.00607116877937826,
219             'ntre' => 0.00541538506984318,
220             'aţia' => 0.00517906661595667,
221             'atea' => 0.00478027922502317,
222             'rmat' => 0.00465916601740633,
223             'rare' => 0.00463848815269126,
224             'upra' => 0.00440660066981512,
225             };
226              
227             ${Lingua::Identify::languages{'smallwords'}{'ro'}} = {
228             'de' => 0.0432881167885008,
229             'a' => 0.0331486595169223,
230             'în' => 0.0182858865522393,
231             'şi' => 0.0181296845642699,
232             'la' => 0.0132621298363229,
233             'din' => 0.0125443526487175,
234             'pentru' => 0.0100687049488003,
235             'că' => 0.0092176262834967,
236             'să' => 0.00771063598818607,
237             'au' => 0.00768671008193256,
238             'cu' => 0.00766756935692975,
239             'o' => 0.00663943898535017,
240             'care' => 0.00628704456610198,
241             'al' => 0.00587141739461236,
242             'un' => 0.00574905347405868,
243             'va' => 0.00535940300078716,
244             'este' => 0.0043281964412607,
245             'se' => 0.00432136046804541,
246             'fost' => 0.00418156481579274,
247             'pe' => 0.00406774586175816,
248             };
249              
250             ${Lingua::Identify::languages{'ngrams1'}{'ro'}} = {
251             'e' => 0.115288210940408,
252             'i' => 0.111130635891002,
253             'a' => 0.109388368850512,
254             'r' => 0.0806649112410775,
255             'n' => 0.0661937409069729,
256             't' => 0.0650184945281867,
257             'u' => 0.0567355264799251,
258             'l' => 0.0501939983633773,
259             'o' => 0.0477119953104436,
260             'c' => 0.0467820994712594,
261             's' => 0.0392115728458384,
262             'd' => 0.0351481378134658,
263             'p' => 0.031199144558989,
264             'm' => 0.0265042495721028,
265             'ă' => 0.0213884314100122,
266             'v' => 0.0130792966477507,
267             'b' => 0.012191733739549,
268             'ţ' => 0.0114094392210019,
269             'f' => 0.0107259466053162,
270             'g' => 0.0105239064888864,
271             };
272              
273             ${Lingua::Identify::languages{'ngrams2'}{'ro'}} = {
274             're' => 0.0239704362439386,
275             'de' => 0.0209827568401516,
276             'in' => 0.0190401341770312,
277             'ri' => 0.0182948495303463,
278             'ar' => 0.0181898279608505,
279             'te' => 0.0162955704942085,
280             'at' => 0.0160432423548673,
281             'er' => 0.0148190040767715,
282             'ul' => 0.0146865295005128,
283             'nt' => 0.0137319387083066,
284             'or' => 0.0134682792943619,
285             'st' => 0.0123750416055845,
286             'en' => 0.0119934632364165,
287             'al' => 0.011156238654331,
288             'ni' => 0.0111501584582023,
289             'tr' => 0.0110516777057541,
290             'le' => 0.0109982456791685,
291             'ra' => 0.0109542103193273,
292             'an' => 0.0108429243053353,
293             'pr' => 0.0108154712985724,
294             };
295              
296             ${Lingua::Identify::languages{'ngrams3'}{'ro'}} = {
297             'are' => 0.00952786705650192,
298             'ent' => 0.00786501993262935,
299             'din' => 0.00617256062304975,
300             'ntr' => 0.00612562589392517,
301             'tru' => 0.00569431797167062,
302             'rea' => 0.00549124626336352,
303             'ate' => 0.00530514596583713,
304             'lui' => 0.00514725332347041,
305             'est' => 0.00508053812247038,
306             'lor' => 0.00490895130726681,
307             'tat' => 0.0046797787396211,
308             'ulu' => 0.00443995514865785,
309             'pre' => 0.00439477608271749,
310             'aţi' => 0.00435252312208414,
311             'nte' => 0.00428276477156481,
312             'pro' => 0.00421394277474373,
313             'con' => 0.00420001451348232,
314             'pen' => 0.00417414774256828,
315             'ele' => 0.00410520870153492,
316             'pri' => 0.00405921032610858,
317             };
318              
319             ${Lingua::Identify::languages{'ngrams4'}{'ro'}} = {
320             'ului' => 0.00556723302516876,
321             'entr' => 0.00491027422660607,
322             'ntru' => 0.00474022398676315,
323             'pent' => 0.00441718737197504,
324             'ilor' => 0.00395219705351184,
325             'area' => 0.00377861635886249,
326             'inte' => 0.00341983388915931,
327             'care' => 0.00333583848522306,
328             'este' => 0.00309253130814677,
329             'tate' => 0.00293763260351477,
330             'clar' => 0.00245572552243744,
331             'ment' => 0.00242792319083682,
332             'ecla' => 0.00239335415419055,
333             'decl' => 0.00237996784638285,
334             'mini' => 0.0023215682397932,
335             'itat' => 0.00230582829544788,
336             'fost' => 0.00214887015884546,
337             'cest' => 0.00213813169214258,
338             'aces' => 0.00213268890764933,
339             'part' => 0.00207355378964168,
340             };