| 1 | package Treex::Core::TredView::AnnotationCommand; | ||||||||||
| 2 | 2 | $Treex::Core::TredView::AnnotationCommand::VERSION = '2.20210102'; | |||||||||
| 3 | 2 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 2 | ▶ | use Treex::Core::Log; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | 0 | ▶ | sub run { | ||||||||
|
Subroutine
run: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 7 | 0 | my ( $command, $node ) = @_; | |||||||||
| 8 | |||||||||||
| 9 | 0 | my ( $short_command, $argument ) = split / /, $command; | |||||||||
| 10 | |||||||||||
| 11 | 0 | print "in AnnotationCommand1\n"; | |||||||||
| 12 | |||||||||||
| 13 | 0 | ▶ | if ( $short_command eq 'd' ) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 14 | 0 | print "in AnnotationCommand2\n"; | |||||||||
| 15 | 0 | $node->set_conll_deprel($argument); | |||||||||
| 16 | } | ||||||||||
| 17 | 0 | return; | |||||||||
| 18 | } | ||||||||||
| 19 | |||||||||||
| 20 | 2 | 1; | |||||||||
| 21 | |||||||||||
| 22 | __END__ | ||||||||||