amalgame/commit

EXPERIMENTAL: dictify token score evidence ...

authorJacco van Ossenbruggen
Thu Oct 30 17:43:03 2014 +0100
committerJacco van Ossenbruggen
Thu Oct 30 17:43:03 2014 +0100
commit7ec9d9ae17b91b5b01749f4860ba6039dda58c51
tree020380f215b1fa5c34cddf3f15e8221288797b33
parent9c0085d29a45b83aa5dced7d8fdea2c2ad22a29c
Diff style: patch stat
diff --git a/lib/ag_modules/compound_label_match.pl b/lib/ag_modules/compound_label_match.pl
index 2c752ac..802d293 100644
--- a/lib/ag_modules/compound_label_match.pl
+++ b/lib/ag_modules/compound_label_match.pl
@@ -73,7 +73,7 @@ compound_label_match(align(Source, Target, Prov0),
 	),
 
 	Prov = [method(compound_label),
-		score(nr_of_tokens(TokenLength)),
+		score(score{match:Token, nrOfTokens:TokenLength}),
 		graph([rdf(Source, SourceProp, SourceTerm),
 		       rdf(Target, TargetProp, TargetTerm)])
 	       ].