public void initializeAuToBITasks() {
    try {
      String pad_filename = getParameter("pitch_accent_detector");
      AuToBIClassifier pitch_accent_detector = ClassifierUtils.readAuToBIClassifier(pad_filename);
      AuToBITask task = new AuToBITask();
      task.setClassifier(pitch_accent_detector);
      task.setTrueFeature("nominal_PitchAccent");
      task.setHypFeature("hyp_pitch_accent");
      task.setConfFeature("hyp_pitch_accent_conf");
      task.setDistFeature("hyp_pitch_accent_dist");
      task.setFeatureSet(new PitchAccentDetectionFeatureSet());
      tasks.put("pitch_accent_detection", task);
    } catch (AuToBIException ignored) {
    }

    try {
      String pac_filename = getParameter("pitch_accent_classifier");
      AuToBIClassifier pitch_accent_classifier = ClassifierUtils.readAuToBIClassifier(pac_filename);
      AuToBITask task = new AuToBITask();
      task.setClassifier(pitch_accent_classifier);
      task.setTrueFeature("nominal_PitchAccentType");
      task.setHypFeature("hyp_pitch_accent_type");
      task.setConfFeature("hyp_pitch_accent_type_conf");
      task.setDistFeature("hyp_pitch_accent_type_dist");
      task.setFeatureSet(new PitchAccentClassificationFeatureSet());
      tasks.put("pitch_accent_classification", task);
    } catch (AuToBIException ignored) {
    }

    try {
      String intonational_phrase_detector_filename = getParameter("IP_detector");
      AuToBIClassifier intonational_phrase_boundary_detector =
          ClassifierUtils.readAuToBIClassifier(intonational_phrase_detector_filename);
      AuToBITask task = new AuToBITask();
      task.setClassifier(intonational_phrase_boundary_detector);
      task.setTrueFeature("nominal_IntonationalPhraseBoundary");
      task.setHypFeature("hyp_IP_location");
      task.setConfFeature("hyp_IP_location_conf");
      task.setDistFeature("hyp_IP_location_dist");
      task.setFeatureSet(new IntonationalPhraseBoundaryDetectionFeatureSet());
      tasks.put("intonational_phrase_boundary_detection", task);
    } catch (AuToBIException ignored) {
    }

    try {
      String intermediate_phrase_detector_filename = getParameter("ip_detector");
      AuToBIClassifier intermediate_phrase_boundary_detector =
          ClassifierUtils.readAuToBIClassifier(intermediate_phrase_detector_filename);
      AuToBITask task = new AuToBITask();
      task.setClassifier(intermediate_phrase_boundary_detector);
      task.setTrueFeature("nominal_IntermediatePhraseBoundary");
      task.setHypFeature("hyp_ip_location");
      task.setConfFeature("hyp_ip_location_conf");
      task.setDistFeature("hyp_ip_location_dist");
      task.setFeatureSet(new IntermediatePhraseBoundaryDetectionFeatureSet());
      tasks.put("intermediate_phrase_boundary_detection", task);
    } catch (AuToBIException ignored) {
    }

    try {
      String phrase_accent_classifier_name = getParameter("phrase_accent_classifier");
      AuToBIClassifier phrase_accent_classifier =
          ClassifierUtils.readAuToBIClassifier(phrase_accent_classifier_name);
      AuToBITask task = new AuToBITask();
      task.setClassifier(phrase_accent_classifier);
      task.setTrueFeature("nominal_PhraseAccent");
      task.setHypFeature("hyp_phrase_accent");
      task.setConfFeature("hyp_phrase_accent_conf");
      task.setDistFeature("hyp_phrase_accent_dist");
      task.setFeatureSet(new PhraseAccentClassificationFeatureSet());
      tasks.put("phrase_accent_classification", task);
    } catch (AuToBIException ignored) {
    }

    try {
      String boundary_tone_classifier_name = getParameter("boundary_tone_classifier");
      AuToBIClassifier boundary_tone_classifier =
          ClassifierUtils.readAuToBIClassifier(boundary_tone_classifier_name);
      AuToBITask task = new AuToBITask();
      task.setClassifier(boundary_tone_classifier);
      task.setTrueFeature("nominal_PhraseAccentBoundaryTone");
      task.setHypFeature("hyp_pabt");
      task.setConfFeature("hyp_pabt_conf");
      task.setDistFeature("hyp_pabt_dist");
      task.setFeatureSet(new PhraseAccentBoundaryToneClassificationFeatureSet());
      tasks.put("boundary_tone_classification", task);
    } catch (AuToBIException ignored) {
    }
  }