public static List<String> parseTexteVersMot(String pathInput) {
        List<String> result = new ArrayList<>();
        try {
            Scanner scanner = new Scanner(new FileReader(pathInput));
            String mot;
            while (scanner.hasNext()) {
                mot = scanner.next().replaceAll("[!,.;?\":\\[\\]\\{\\}]", " ");
                String[] mots = mot.split(" ");
                for (String mot1 : mots) {
                    if (!mot1.equals("")) {
                        result.add(mot1);
                    }
                }
            }
        } catch (FileNotFoundException ex) {
            Logger.getLogger(MorphingTools.class.getName()).log(Level.SEVERE, null, ex);
        }

        return result;
    }