tag_matcher/commit

larger distance

authorMichiel Hildebrand
Wed Feb 9 16:33:33 2011 +0100
committerMichiel Hildebrand
Wed Feb 9 16:33:33 2011 +0100
commit25ab8190bfb2d6619d9e5bdafc2abd5f79d3ba08
tree52e346dd1f05200914f8738e182c1d080e881a37
parentb4a519d7ff2f0effcb69cdfe45ae8b04f327dd96
Diff style: patch stat
diff --git a/lib/tag_match.pl b/lib/tag_match.pl
index 90bafcb..e77eb24 100644
--- a/lib/tag_match.pl
+++ b/lib/tag_match.pl
@@ -62,14 +62,14 @@ find_tag_concept(Tag, R, Hit) :-
  	LabelList = [PrefLabel-0,
 		     Label-1
 		    ],
-	Options = [match(case),
+	Options = [match(stem),
 		   attributes(LabelList),
 		   distance(true)
 		  ],
 	find_resource_by_name(Tag, Hits, Options),
 	member(Hit, Hits),
 	Hit = hit(D,R,_,_),
-	D =< 3.
+	D =< 10.
 
 
 %%	tag_concept_type(+Concept, -Type)