diff options
-rw-r--r-- | fminer.rb | 11 | ||||
m--------- | last-utils | 0 |
2 files changed, 8 insertions, 3 deletions
@@ -186,7 +186,10 @@ post '/fminer/bbrc/?' do OT.hasSource => url_for('/fminer/bbrc', :full), OT.parameters => [ { DC.title => "dataset_uri", OT.paramValue => params[:dataset_uri] }, - { DC.title => "prediction_feature", OT.paramValue => params[:prediction_feature] } + { DC.title => "prediction_feature", OT.paramValue => params[:prediction_feature] }, + { DC.title => "min_frequency", OT.paramValue => fminer.minfreq }, + { DC.title => "nr_hits", OT.paramValue => (params[:nr_hits] == "true" ? "true" : "false") } + ] }) feature_dataset.save(@subjectid) @@ -455,8 +458,10 @@ post '/fminer/last/?' do OT.hasSource => url_for('/fminer/last', :full), OT.parameters => [ { DC.title => "dataset_uri", OT.paramValue => params[:dataset_uri] }, - { DC.title => "prediction_feature", OT.paramValue => params[:prediction_feature] } - ] + { DC.title => "prediction_feature", OT.paramValue => params[:prediction_feature] }, + { DC.title => "min_frequency", OT.paramValue => fminer.minfreq }, + { DC.title => "nr_hits", OT.paramValue => (params[:nr_hits] == "true" ? "true" : "false") } + ] }) feature_dataset.save(@subjectid) diff --git a/last-utils b/last-utils -Subproject 8a3dd9bb550f0ea264c2f4e844f664f0a42ca16 +Subproject efcc3f41dd9e2f590a1520dfee3bf709120b2e4 |