| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Lingua::FR::Ladl::Parametrizer; |
|
2
|
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
4098
|
use warnings; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
45
|
|
|
4
|
1
|
|
|
1
|
|
7
|
use strict; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
39
|
|
|
5
|
1
|
|
|
1
|
|
97
|
use Carp; |
|
|
1
|
|
|
|
|
4
|
|
|
|
1
|
|
|
|
|
83
|
|
|
6
|
1
|
|
|
1
|
|
1152
|
use utf8; |
|
|
1
|
|
|
|
|
11
|
|
|
|
1
|
|
|
|
|
6
|
|
|
7
|
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
43
|
use version; our $VERSION = qv('0.0.1'); |
|
|
1
|
|
|
|
|
1
|
|
|
|
1
|
|
|
|
|
10
|
|
|
9
|
|
|
|
|
|
|
|
|
10
|
1
|
|
|
1
|
|
740
|
use Class::Std; |
|
|
0
|
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
{ |
|
13
|
|
|
|
|
|
|
my %empty_string_mark_of : ATTR( :default('') :name ); # null value for string type columns |
|
14
|
|
|
|
|
|
|
my %negation_particles_of : ATTR( :name ); # what's a negation |
|
15
|
|
|
|
|
|
|
my %verbal_arguments_of : ATTR( :name ); # which are verbal arguments (head) or whatever |
|
16
|
|
|
|
|
|
|
my %associate_for_particle : ATTR( :name associate |
|
17
|
|
|
|
|
|
|
my %associate_for_verb : ATTR( :name associate |
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub BUILD { |
|
20
|
|
|
|
|
|
|
my ($self, $id, $arg_ref) = @_; |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
$negation_particles_of{$id} = { |
|
23
|
|
|
|
|
|
|
"Nég" => 1, |
|
24
|
|
|
|
|
|
|
pas => 1, |
|
25
|
|
|
|
|
|
|
}; |
|
26
|
|
|
|
|
|
|
$verbal_arguments_of{$id} = { |
|
27
|
|
|
|
|
|
|
v => 1, |
|
28
|
|
|
|
|
|
|
adj =>1, |
|
29
|
|
|
|
|
|
|
}; |
|
30
|
|
|
|
|
|
|
$associate_for_particle{$id} = { |
|
31
|
|
|
|
|
|
|
"l'" => 'l', |
|
32
|
|
|
|
|
|
|
'la' => 'la', |
|
33
|
|
|
|
|
|
|
'les' => 'les', |
|
34
|
|
|
|
|
|
|
'le' => 'cla', |
|
35
|
|
|
|
|
|
|
'en' => 'clg', |
|
36
|
|
|
|
|
|
|
'y' => 'cll', |
|
37
|
|
|
|
|
|
|
"s'" => 'clr', |
|
38
|
|
|
|
|
|
|
'se' => 'clr', |
|
39
|
|
|
|
|
|
|
"n'" => 'neg', |
|
40
|
|
|
|
|
|
|
"ne" => 'neg', |
|
41
|
|
|
|
|
|
|
}; |
|
42
|
|
|
|
|
|
|
$associate_for_verb{$id} = { |
|
43
|
|
|
|
|
|
|
advm => 'advm', |
|
44
|
|
|
|
|
|
|
adv => 'adv', |
|
45
|
|
|
|
|
|
|
advt => 'advt', |
|
46
|
|
|
|
|
|
|
adj => 'adj', |
|
47
|
|
|
|
|
|
|
'poss n' => 'poss_n', |
|
48
|
|
|
|
|
|
|
advfut => 'advfut', |
|
49
|
|
|
|
|
|
|
advp => 'advp', |
|
50
|
|
|
|
|
|
|
'nég' => 'neg', |
|
51
|
|
|
|
|
|
|
'pas' => 'neg', |
|
52
|
|
|
|
|
|
|
} |
|
53
|
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
} |
|
55
|
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
} |
|
57
|
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
1; # Magic true value required at end of module |
|
59
|
|
|
|
|
|
|
__END__ |