amalgame/commit
updated: use new isub/4 interface
author | Jacco van Ossenbruggen |
---|---|
Sun Nov 28 18:19:16 2021 +0100 | |
committer | Jacco van Ossenbruggen |
Sun Nov 28 18:19:16 2021 +0100 | |
commit | ea1f11a5940d69e7ce3befda61d4bead6701b4b6 |
tree | 390dbec9702ce4b640f698e5846761e2493ebff4 |
parent | c3bbc34bc8dc8665745c6197d74db3c732348065 |
Diff style: patch stat
diff --git a/lib/ag_modules/isub_match.pl b/lib/ag_modules/isub_match.pl index 7042795..b5423cd 100644 --- a/lib/ag_modules/isub_match.pl +++ b/lib/ag_modules/isub_match.pl @@ -14,7 +14,6 @@ isub_match(align(Source, Target, Prov0), align(Source, Target, [Prov|Prov0]), Op option(sourcelabel(MatchPropS), Options, DefaultProp), option(targetlabel(MatchPropT), Options, DefaultProp), option(matchacross_lang(MatchAcross), Options, true), - option(normalize(Normalize), Options, false), option(source_language(Lang), Options, 'any'), ( Lang == 'any' @@ -34,7 +33,7 @@ isub_match(align(Source, Target, Prov0), align(Source, Target, [Prov|Prov0]), Op Source \== Target, literal_text(SourceLit, SourceTxt), literal_text(TargetLit, TargetTxt), - isub(SourceTxt, TargetTxt, Normalize, Similarity), + isub(SourceTxt, TargetTxt, Similarity, Options), Similarity > Threshold, Prov = [method(isub), match(Similarity),