// }
public Map<String, Object> getCurrentParameterSettings() {
Map<String, Object> result = new HashMap<String, Object>();
IPreferenceStore store = TextRulerPlugin.getDefault().getPreferenceStore();
TextRulerLearnerFactory f = algorithmController.getFactory();
TextRulerLearnerParameter[] params = f.getAlgorithmParameters();
if (params != null) {
for (int i = 0; i < params.length; i++) {
TextRulerLearnerParameter p = params[i];
String id = algorithmController.getID() + "." + p.id;
switch (p.type) {