public static HashMap<String, AuToBITask> createTaskListFromParameters(AuToBIParameters params) {
    HashMap<String, AuToBITask> map = new HashMap<String, AuToBITask>();

    if (params.hasParameter("pitch_accent_detector")) {
      map.put("pitch_accent_detector", getPitchAccentDetectionTask());
    }
    if (params.hasParameter("pitch_accent_classifier")) {
      map.put("pitch_accent_classifier", getPitchAccentClassificationTask());
    }
    if (params.hasParameter("intonational_phrase_detector")) {
      map.put("intonational_phrase_detector", getIntonationalPhraseDetectionTask());
    }
    if (params.hasParameter("intermediate_phrase_detector")) {
      map.put("intermediate_phrase_detector", getIntermediatePhraseDetectionTask());
    }
    if (params.hasParameter("phrase_accent_classifier")) {
      map.put("phrase_accent_classifier", getPhraseAccentClassificationTask());
    }
    if (params.hasParameter("phrase_accent_boundary_tone_classifier")) {
      map.put("phrase_accent_boundary_tone_classifier", getPABTClassificationTask());
    }

    return map;
  }