amalgame/commit
CHANGED: parameter language -> source_language like other label matchers
author | Jacco van Ossenbruggen |
---|---|
Thu Sep 18 09:40:25 2014 +0200 | |
committer | Jacco van Ossenbruggen |
Thu Sep 18 09:40:25 2014 +0200 | |
commit | b1f9dc3bb6bcfccf9c54248dcf74d35fad9160c7 |
tree | ca611a7382cce3f9ffd3b9d202fca96d6a3042e4 |
parent | e62e2f0ebb9224071fd4ad4e672eff62ad5ea2c9 |
Diff style: patch stat
diff --git a/lib/ag_modules/isub_generator.pl b/lib/ag_modules/isub_generator.pl index cc71420..c219d80 100644 --- a/lib/ag_modules/isub_generator.pl +++ b/lib/ag_modules/isub_generator.pl @@ -23,7 +23,7 @@ parameter(targetlabel, oneof(LabelProps), Default, label_list(LabelProps). parameter(threshold, float, 0.7, 'threshold edit distance'). -parameter(language, oneof(['any'|L]), 'any', 'Language of source label') :- +parameter(source_language, oneof(['any'|L]), 'any', 'Language of source label') :- amalgame_vocabulary_languages(L). parameter(matchacross_lang, boolean, true, diff --git a/lib/ag_modules/isub_match.pl b/lib/ag_modules/isub_match.pl index bb0dae6..5633964 100644 --- a/lib/ag_modules/isub_match.pl +++ b/lib/ag_modules/isub_match.pl @@ -13,7 +13,7 @@ isub_match(align(Source, Target, Prov0), align(Source, Target, [Prov|Prov0]), Op option(targetlabel(MatchProp2), Options, DefaultProp), option(matchacross_lang(MatchAcross), Options, true), option(normalize(Normalize), Options, false), - option(language(Lang), Options, 'any'), + option(source_language(Lang), Options, 'any'), ( Lang == 'any' -> SourceLang = _ diff --git a/lib/ag_modules/isub_selecter.pl b/lib/ag_modules/isub_selecter.pl index d0b6325..e841063 100644 --- a/lib/ag_modules/isub_selecter.pl +++ b/lib/ag_modules/isub_selecter.pl @@ -27,7 +27,7 @@ parameter(targetlabel, oneof(LabelProps), Default, label_list(LabelProps). parameter(threshold, float, 0.7, 'threshold edit distance'). -parameter(language, oneof(['any'|L]), 'any', 'Language of source label') :- +parameter(source_language, oneof(['any'|L]), 'any', 'Language of source label') :- amalgame_vocabulary_languages(L). parameter(matchacross_lang, boolean, true,