48#include <lal/io/treebank_feature.hpp>
58inline constexpr std::string_view
63 case treebank_feature::num_nodes:
return "n";
64 case treebank_feature::second_moment_degree:
return "second_moment_degree";
65 case treebank_feature::second_moment_degree_in:
return "second_moment_degree_in";
66 case treebank_feature::second_moment_degree_out:
return "second_moment_degree_out";
67 case treebank_feature::third_moment_degree:
return "third_moment_degree";
68 case treebank_feature::third_moment_degree_in:
return "third_moment_degree_in";
69 case treebank_feature::third_moment_degree_out:
return "third_moment_degree_out";
70 case treebank_feature::num_pairs_independent_edges:
return "num_pairs_independent_edges";
71 case treebank_feature::head_initial:
return "head_initial";
72 case treebank_feature::hubiness:
return "hubiness";
73 case treebank_feature::mean_hierarchical_distance:
return "mean_hierarchical_distance";
74 case treebank_feature::tree_centre:
return "tree_centre";
75 case treebank_feature::tree_centroid:
return "tree_centroid";
76 case treebank_feature::tree_diameter:
return "tree_diameter";
77 case treebank_feature::num_crossings:
return "num_crossings";
78 case treebank_feature::predicted_num_crossings:
return "predicted_num_crossings";
79 case treebank_feature::exp_num_crossings:
return "exp_num_crossings";
80 case treebank_feature::var_num_crossings:
return "var_num_crossings";
81 case treebank_feature::z_score_num_crossings:
return "z_score_num_crossings";
82 case treebank_feature::sum_edge_lengths:
return "sum_edge_lengths";
83 case treebank_feature::exp_sum_edge_lengths:
return "exp_sum_edge_lengths";
84 case treebank_feature::exp_sum_edge_lengths_projective:
return "exp_sum_edge_lengths_projective";
85 case treebank_feature::exp_sum_edge_lengths_planar:
return "exp_sum_edge_lengths_planar";
86 case treebank_feature::var_sum_edge_lengths:
return "var_sum_edge_lengths";
87 case treebank_feature::z_score_sum_edge_lengths:
return "z_score_sum_edge_lengths";
88 case treebank_feature::min_sum_edge_lengths:
return "min_sum_edge_lengths";
89 case treebank_feature::min_sum_edge_lengths_planar:
return "min_sum_edge_lengths_planar";
90 case treebank_feature::min_sum_edge_lengths_projective:
return "min_sum_edge_lengths_projective";
91 case treebank_feature::mean_dependency_distance:
return "mean_dependency_distance";
92 case treebank_feature::flux_max_weight:
return "flux_max_weight";
93 case treebank_feature::flux_mean_weight:
return "flux_mean_weight";
94 case treebank_feature::flux_min_weight:
return "flux_min_weight";
95 case treebank_feature::flux_max_left_span:
return "flux_max_left_span";
96 case treebank_feature::flux_mean_left_span:
return "flux_mean_left_span";
97 case treebank_feature::flux_min_left_span:
return "flux_min_left_span";
98 case treebank_feature::flux_max_right_span:
return "flux_max_right_span";
99 case treebank_feature::flux_mean_right_span:
return "flux_mean_right_span";
100 case treebank_feature::flux_min_right_span:
return "flux_min_right_span";
101 case treebank_feature::flux_max_RL_ratio:
return "flux_max_RL_ratio";
102 case treebank_feature::flux_mean_RL_ratio:
return "flux_mean_RL_ratio";
103 case treebank_feature::flux_min_RL_ratio:
return "flux_min_RL_ratio";
104 case treebank_feature::flux_max_WS_ratio:
return "flux_max_WS_ratio";
105 case treebank_feature::flux_mean_WS_ratio:
return "flux_mean_WS_ratio";
106 case treebank_feature::flux_min_WS_ratio:
return "flux_min_WS_ratio";
107 case treebank_feature::flux_max_size:
return "flux_max_size";
108 case treebank_feature::flux_mean_size:
return "flux_mean_size";
109 case treebank_feature::flux_min_size:
return "flux_min_size";
110 case treebank_feature::tree_type:
return "tree_type";
111 case treebank_feature::syntactic_dependency_structure_class:
112 return "syntactic_dependency_structure_class";
113 case treebank_feature::__last_value:
return "__last_value";
122 return static_cast<std::size_t
>(tf);
treebank_feature
The features that can be computed in automatic processing of treebanks.
Definition treebank_feature.hpp:60
Main namespace of the library.
Definition definitions.hpp:48