blib/lib/UMLS/Similarity.pm untested

filter: Statementstmt 0.0% 0 / 9 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 13 SCAR 17.9
CC
2
Cov
0%
new
6.0
CRAP 6.0
1 # UMLS::Similarity.pm
2 #
3 # Perl implementation of semantic relatedness measures.
4 #
5 # Copyright (c) 2004-2011,
6 #
7 # Bridget T McInnes, University of Minnesota, Twin Cities
8 # bthomson at cs.umn.edu
9 #
10 # Siddharth Patwardhan, University of Utah, Salt Lake City
11 # sidd at cs.utah.edu
12 #
13 # Serguei Pakhomov, University of Minnesota, Twin Cities
14 # pakh002 at umn.edu
15 #
16 # Ted Pedersen, University of Minnesota, Duluth
17 # tpederse at d.umn.edu
18 #
19 # Ying Liu, University of Minnesota, Twin Cities
20 # liux0935 at umn.edu
21 #
22 # This program is free software; you can redistribute it and/or
23 # modify it under the terms of the GNU General Public License
24 # as published by the Free Software Foundation; either version 2
25 # of the License, or (at your option) any later version.
26 #
27 # This program is distributed in the hope that it will be useful,
28 # but WITHOUT ANY WARRANTY; without even the implied warranty of
29 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30 # GNU General Public License for more details.
31 #
32 # You should have received a copy of the GNU General Public License
33 # along with this program; if not, write to
34 #
35 # The Free Software Foundation, Inc.,
36 # 59 Temple Place - Suite 330,
37 # Boston, MA 02111-1307, USA.
38  
39 package UMLS::Similarity;
40  
41 $VERSION = '1.43';
42  
43  
44 sub new
45 {
46 my $className = shift;
47 return undef if(ref $className);
48  
49 my $interface = shift;
50  
51 my $self = {};
52
53 # The backend interface object.
54 $self->{'interface'} = $interface;
55  
56 # Bless object, initialize it and return it.
57 bless($self, $className);
58  
59 return $self;
60 }
61  
62  
63  
64 1;
65 __END__