| 1 | package Treex::Block::W2A::EN::ParseMSTperl; | ||
| 2 | 1 | $Treex::Block::W2A::EN::ParseMSTperl::VERSION = '2.20151102'; | |
| 3 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 1 | extends 'Treex::Block::W2A::ParseMSTperl'; | |
| 7 | |||
| 8 | 1 | has '+model_name' => ( default => 'conll_2007_small' ); | |
| 9 | 1 | has '+model_dir' => ( default => 'data/models/parser/mst_perl/en' ); | |
| 10 | |||
| 11 | 1 | has 'alignment_language' => ( isa => 'Str', is => 'ro', default => 'cs' ); | |
| 12 | 1 | has 'alignment_is_backwards' => ( isa => 'Bool', is => 'ro', default => '0' ); | |
| 13 | |||
| 14 | 0 | ▶ | sub get_coarse_grained_tag { |
|
Subroutine
get_coarse_grained_tag: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 15 | 0 | my ( $self, $tag ) = @_; | |
| 16 | |||
| 17 | 0 | my $ctag = substr( $tag, 0, 2 ); | |
| 18 | |||
| 19 | 0 | return $ctag; | |
| 20 | } | ||
| 21 | |||
| 22 | 1 | 1; | |
| 23 | |||
| 24 | __END__ | ||