CAB/Analyzer/Morph.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
new
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 ## -*- Mode: CPerl -*-
2 ##
3 ## File: DTA::CAB::Analyzer::Morph.pm
4 ## Author: Bryan Jurish <moocow@cpan.org>
5 ## Description: morphological analysis via Gfsm automata
6  
7 ##==============================================================================
8 ## Package: Analyzer::Morph
9 ##==============================================================================
10 package DTA::CAB::Analyzer::Morph;
11 use DTA::CAB::Analyzer::Automaton::Gfsm;
12 use Carp;
13 use strict;
14 our @ISA = qw(DTA::CAB::Analyzer::Automaton::Gfsm);
15  
16 ## $obj = CLASS_OR_OBJ->new(%args)
17 ## + object structure: see DTA::CAB::Analyzer::Automaton::Gfsm
18 sub new {
19 my $that = shift;
20 my $aut = $that->SUPER::new(
21 ##-- defaults
22  
23 ##-- analysis selection
24 label => 'morph',
25 capsFallback => 1,
26 qsFallback => 1,
27 wantAnalysisLo => 0,
28 #wantAnalysisLemma => 1, ##-- default=0
29 wantAnalysisLemma => 0, ##-- default=0
30  
31 ##-- analysis selection
32 #analyzeGet => '$_->{$lab} ? qw() : '._am_xlit; ##-- default
33  
34 ##-- verbosity
35 check_symbols => 0,
36  
37 ##-- user args
38 @_
39 );
40 return $aut;
41 }
42  
43 ##==============================================================================
44 ## Analysis Formatting
45 ##==============================================================================
46  
47  
48 1; ##-- be happy
49  
50 __END__