CAB/Analyzer/Morph/Helsinki/EN.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::Helsinki::EN.pm
4 ## Author: Bryan Jurish <moocow@cpan.org>
5 ## Description: morphological analysis via Gfsm automata, for use with Helsinki-style transducers (English)
6 ## + transducers available in HFST format from https://sourceforge.net/projects/hfst/files/resources/morphological-transducers/
7  
8 ##==============================================================================
9 ## Package: Analyzer::Morph
10 ##==============================================================================
11 package DTA::CAB::Analyzer::Morph::Helsinki::EN;
12 use DTA::CAB::Analyzer::Morph::Helsinki;
13 use Carp;
14 use strict;
15 our @ISA = qw(DTA::CAB::Analyzer::Morph::Helsinki);
16  
17 ## $obj = CLASS_OR_OBJ->new(%args)
18 ## + object structure: see DTA::CAB::Analyzer::Automaton::Gfsm
19 sub new {
20 my $that = shift;
21 my $aut = $that->SUPER::new(
22 ##-- defaults
23  
24 ##-- analysis selection
25 label => 'morph',
26 wantAnalysisLo => 0,
27 wantAnalysisLemma => 0, ##-- default=0
28 tolower => 1,
29  
30 ##-- verbosity
31 check_symbols => 0,
32  
33 ##-- language
34 helsinkiLang => 'en',
35  
36 ##-- user args
37 @_
38 );
39 return $aut;
40 }
41  
42  
43 1; ##-- be happy
44  
45 __END__