| 1 | package PMLTQ::Relation::Treex; | ||
| 2 | 11 | our $AUTHORITY = 'cpan:MATY'; | |
| 3 | 11 | $PMLTQ::Relation::Treex::VERSION = '1.2.2'; | |
| 4 | # ABSTRACT: Treex user defined relations | ||
| 5 | |||
| 6 | 11 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 11 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 11 | ▶ | use PMLTQ::Relation::Treex::AEChildCIterator; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | 11 | ▶ | use PMLTQ::Relation::Treex::AEParentCIterator; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | 11 | ▶ | use PMLTQ::Relation::Treex::TEParentIterator; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | 11 | ▶ | use PMLTQ::Relation::Treex::AEParentIterator; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | 11 | ▶ | use PMLTQ::Relation::Treex::AEChildIterator; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | 11 | ▶ | use PMLTQ::Relation::Treex::TEChildIterator; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | |||
| 16 | # | ||
| 17 | # This file implements the following user-defined relations for PML-TQ | ||
| 18 | # | ||
| 19 | # - eparentC, echildC - Slightly modified (skipping only coordinarion nodes) eparent/echild for a-layer | ||
| 20 | # - eparent (both t-layer and a-layer) | ||
| 21 | # - echild (both t-layer and a-layer) | ||
| 22 | # | ||
| 23 | |||
| 24 | sub AGetEParentsC { | ||
| 25 | 0 | ▶ | return shift->get_eparents({or_topological => 1, ignore_incorrect_tree_structure => 1, ordered => 1}); |
|
Subroutine
AGetEParentsC: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 26 | } | ||
| 27 | |||
| 28 | sub AGetEChildrenC { | ||
| 29 | 0 | ▶ | return shift->get_echildren({or_topological => 1, ignore_incorrect_tree_structure => 1, ordered => 1}); |
|
Subroutine
AGetEChildrenC: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 30 | } | ||
| 31 | |||
| 32 | sub AGetEParents { | ||
| 33 | 0 | ▶ | return shift->get_eparents({dive => 'AuxCP', or_topological => 1, ignore_incorrect_tree_structure => 1, ordered => 1}); |
|
Subroutine
AGetEParents: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 34 | } | ||
| 35 | |||
| 36 | sub AGetEChildren { | ||
| 37 | 0 | ▶ | return shift->get_echildren({dive => 'AuxCP', or_topological => 1, ignore_incorrect_tree_structure => 1, ordered => 1}); |
|
Subroutine
AGetEChildren: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 38 | } | ||
| 39 | |||
| 40 | sub TGetEChildren { | ||
| 41 | 0 | ▶ | return shift->get_echildren({or_topological => 1, ignore_incorrect_tree_structure => 1, ordered => 1}); |
|
Subroutine
TGetEChildren: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 42 | } | ||
| 43 | |||
| 44 | sub TGetEParents { | ||
| 45 | 0 | ▶ | return shift->get_eparents({or_topological => 1, ignore_incorrect_tree_structure => 1, ordered => 1}); |
|
Subroutine
TGetEParents: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 46 | } | ||
| 47 | |||
| 48 | |||
| 49 | |||
| 50 | 11 | 1; | |
| 51 | |||
| 52 | __END__ | ||