public static TableModel getLSAWTreeSimC2(String englishQuery, String frenchQuery, String germanQuery,
            int descLangOption, int commentLangOption, int captionLangOption,
            double descWeight, double commentWeight, double captionWeight,
            double thresholdDesc, double thresholdComment, double thresholdCaption, int type, double THRESHOLD) {
        double w1, w2;
        List<Result> resultList = new ArrayList<Result>();
        List<Result> resultListC1;
        List<Result> resultListC2;

        if (type == 0) {
            resultListC1 = getLSADescLang(englishQuery, frenchQuery, germanQuery,
                    thresholdDesc, descLangOption);
            resultListC2 = getLSACommentLang(englishQuery, frenchQuery, germanQuery,
                    thresholdDesc, descLangOption);
            w1 = descWeight + BOBOT_DESC;
            w2 = commentWeight + BOBOT_COMMENT;
        } else if (type == 1) {
            resultListC1 = getLSADescLang(englishQuery, frenchQuery, germanQuery,
                    thresholdDesc, descLangOption);
            resultListC2 = getLSACaptionLang(englishQuery, frenchQuery, germanQuery,
                    thresholdDesc, descLangOption);
            w1 = descWeight + BOBOT_DESC;
            w2 = captionWeight + BOBOT_CAPTION;
        } else {
            resultListC1 = getLSACaptionLang(englishQuery, frenchQuery, germanQuery,
                    thresholdDesc, descLangOption);
            resultListC2 = getLSACommentLang(englishQuery, frenchQuery, germanQuery,
                    thresholdDesc, descLangOption);
            w1 = captionWeight + BOBOT_CAPTION;
            w2 = commentWeight + BOBOT_COMMENT;
        }

        for (int i = 0; i < MAX_RECORD; i++) {
            double c1 = getResultValue(resultListC1, i);
            double c2 = getResultValue(resultListC2, i);
            double devider1 = c1 == 0.0 ? 0.0 : w1;
            double devider2 = c2 == 0.0 ? 0.0 : w2;
            System.out.println("i=" + i + "c1 = " + c1 + " c2=" + c2 + " w1=" + w1 + " w2=" + w2);
            double total = 0.1 + 0.9 * (c1 + c2) / (devider1 + devider2);
            if (total >= THRESHOLD) {
                resultList.add(new Result(i, total));
            }
        }

        Collections.sort(resultList, new Comparator<Result>() {
            @Override
            public int compare(Result o1, Result o2) {
                return o1.getId() == o2.getId() ? 1 : 0;
            }
        });
        resultStatic = new ArrayList();
        resultStatic = resultList;
        return new TabelModelResult(resultList);
    }