private static void loadKeywords() {
//        if (wordTypes != null) {
//            return;
//        }
//        wordTypes = new HashMap<String, Character>();
        
    wordTypes = new HashMap<String, Character>();
    defaultWords = new HashMap<String, String>();

        Scanner scanner = null;
        String last = "";
        char type = 'A';
        Pattern r = Pattern.compile("\"(\\w+)\"");
        Matcher m = null;
        int end = 0;
        String defaultWord = "";
        try {
            scanner = new Scanner(new FileInputStream("./lemmeEN.txt"));
            while (scanner.hasNextLine()) {
                String line = scanner.nextLine();

                m = r.matcher(line);

                end = 0;

                type = line.charAt(0);
                while (m.find(end) && !m.group(1).equals(last)) {
                    last = m.group(1);
                    if (!wordTypes.containsKey(m.group(1))) {
                        wordTypes.put(m.group(1), type);
                    }
                    if(end==0)
                    {
                        //first word
                        defaultWord = m.group(1);
                    }
                    else
                    {
                        if(!defaultWord.equals(m.group(1)) && !defaultWords.containsKey(m.group(1)))
                        {
                            defaultWords.put(m.group(1), defaultWord);
                        }
                    }
                        
                    end = m.end();
                }
            }
        } catch (FileNotFoundException ex) {
            Logger.getLogger(Main.Main.class.getName()).log(Level.SEVERE, null, ex);
        } finally {
            if (scanner != null) {
                scanner.close();
            }
        }
    }