line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package NLP::GATE; |
2
|
|
|
|
|
|
|
|
3
|
4
|
|
|
4
|
|
260564
|
use 5.008_001; |
|
4
|
|
|
|
|
16
|
|
|
4
|
|
|
|
|
146
|
|
4
|
|
|
|
|
|
|
|
5
|
4
|
|
|
4
|
|
172
|
use warnings; |
|
4
|
|
|
|
|
10
|
|
|
4
|
|
|
|
|
125
|
|
6
|
4
|
|
|
4
|
|
71
|
use strict; |
|
4
|
|
|
|
|
14
|
|
|
4
|
|
|
|
|
144
|
|
7
|
|
|
|
|
|
|
|
8
|
4
|
|
|
4
|
|
2577
|
use NLP::GATE::Annotation; |
|
4
|
|
|
|
|
15
|
|
|
4
|
|
|
|
|
117
|
|
9
|
4
|
|
|
4
|
|
3092
|
use NLP::GATE::AnnotationSet; |
|
4
|
|
|
|
|
12
|
|
|
4
|
|
|
|
|
173
|
|
10
|
4
|
|
|
4
|
|
2916
|
use NLP::GATE::Document; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 NAME |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
NLP::GATE - Handle GATE documents and annotations |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=head1 VERSION |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
Version 0.6 |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=cut |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
our $VERSION = '0.6'; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 SYNOPSIS |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
use NLP::GATE; |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
my $doc = NLP::GATE::Document->new(); |
29
|
|
|
|
|
|
|
$doc->setText($text); |
30
|
|
|
|
|
|
|
$ann = NLP::GATE::Annotation->new(); |
31
|
|
|
|
|
|
|
... |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 DESCRIPTION |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
This is the container module for various modules that make it possible |
36
|
|
|
|
|
|
|
to create and handle GATE documents from the NLP tool GATE (http://gate.ac.uk) |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
This module does not do anything by itself, it just pulls in the |
39
|
|
|
|
|
|
|
modules for monipulating documents, annotation sets and annotations. |
40
|
|
|
|
|
|
|
For more information on those see: |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=over 4 |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=item NLP::GATE::Document |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=item NLP::GATE::AnnotationSet |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=item NLP::GATE::Annotation |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=back |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=cut |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head1 AUTHOR |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
Johann Petrak, C<< >> |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head1 BUGS |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
Please report any bugs or feature requests to |
62
|
|
|
|
|
|
|
C, or through the web interface at |
63
|
|
|
|
|
|
|
L. |
64
|
|
|
|
|
|
|
I will be notified, and then you'll automatically be notified of progress on |
65
|
|
|
|
|
|
|
your bug as I make changes. |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=head1 SUPPORT |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
You can find documentation for this module with the perldoc command. |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
perldoc NLP::GATE |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
You can also look for information at: |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=over 4 |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=item * AnnoCPAN: Annotated CPAN documentation |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
L |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=item * CPAN Ratings |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
L |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
=item * RT: CPAN's request tracker |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
L |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=item * Search CPAN |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
L |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=back |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=head1 COPYRIGHT & LICENSE |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
Copyright 2009 Johann Petrak, all rights reserved. |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it |
101
|
|
|
|
|
|
|
under the same terms as Perl itself. |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=cut |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
1; # End of NLP::GATE |