public static void main(String[] args) {
        List<String> listeMot = MorphingTools.parseTexteVersMot("test/exercice2/fichierTestParse");
        Integer[][] edges = new Integer[listeMot.size()][listeMot.size()];
        String[] vertex = new String[listeMot.size()];

        for (int i = 0; i < listeMot.size(); i++) {
            vertex[i] = listeMot.get(i);
            for (int j = i; j < listeMot.size(); j++) {
                edges[i][j] = MorphingTools.distanceLevenshtein(listeMot.get(i), listeMot.get(j));
            }
        }
        try {
            Graphe<String> g = new Graphe(vertex, edges);
            System.out.println("" + g);
            System.out.println("" + g.kurskal());
        } catch (Exercice2Exception | Exercice1Exception ex) {
            Logger.getLogger(Question6.class.getName()).log(Level.SEVERE, null, ex);
        }

    }