66330177f95beeb31c90884731112333a33b2862,nalaf/features/relations/path.py,PathFeatureGenerator,path_edge_features,#PathFeatureGenerator#,213
Before Change
for dep in dependency[0].features["dependency_to"]:
feature_name = self.gen_prefix_feat_name("prefix_6"+dep[1])
self.add_to_feature_set(feature_set, is_training_mode, edge, feature_name)
feature_name = self.gen_prefix_feat_name("prefix_66_tx"+dep[0].masked_text(edge.part))
self.add_to_feature_set(feature_set, is_training_mode, edge, feature_name)
feature_name = self.gen_prefix_feat_name("prefix_67_po"+dep[0].features["pos"])
self.add_to_feature_set(feature_set, is_training_mode, edge, feature_name)
After Change
for dep in dependency[0].features["dependency_to"]:
feature_name = self.gen_prefix_feat_name("prefix_65", dep[1])
self.add_to_feature_set(feature_set, is_training_mode, edge, feature_name)
feature_name = self.gen_prefix_feat_name("prefix_66_txt", dep[0].masked_text(edge.part))
self.add_to_feature_set(feature_set, is_training_mode, edge, feature_name)
feature_name = self.gen_prefix_feat_name("prefix_67_pos", dep[0].features["pos"])
self.add_to_feature_set(feature_set, is_training_mode, edge, feature_name)
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 3
Instances
Project Name: Rostlab/nalaf
Commit Name: 66330177f95beeb31c90884731112333a33b2862
Time: 2016-10-28
Author: i@juanmi.rocks
File Name: nalaf/features/relations/path.py
Class Name: PathFeatureGenerator
Method Name: path_edge_features
Project Name: Rostlab/nalaf
Commit Name: c5b2c76f2193e98109e4b61d6cb4ff64ddbfce8c
Time: 2016-10-28
Author: i@juanmi.rocks
File Name: nalaf/features/relations/context.py
Class Name: IntermediateTokensFeatureGenerator
Method Name: generate
Project Name: Rostlab/nalaf
Commit Name: f3965fe659bf2158983ada87d6859c3c256908ad
Time: 2016-10-28
Author: i@juanmi.rocks
File Name: nalaf/features/relations/path.py
Class Name: PathFeatureGenerator
Method Name: path_dependency_features