public void loadBanPhraseList() {
        banPhraseLists = new HashMap<Integer, List<Pattern>>();

        File f = new File("bannedphrases.cfg");
        if (!f.exists())
            try {
                f.createNewFile();
            } catch (IOException e1) {
                // TODO Auto-generated catch block
                e1.printStackTrace();
            }
        try {
            Scanner in = new Scanner(f, "UTF-8");

            while (in.hasNextLine()) {
                String line = in.nextLine().replace("\uFEFF", "");

                if (line.length() > 0) {

                    if (line.startsWith("#"))
                        continue;


                    String[] parts = line.split("\\|", 2);
                    int severity = Integer.parseInt(parts[0]);
                    line = parts[1];

                    if (line.startsWith("REGEX:"))
                        line = line.replaceAll("REGEX:", "");
                    else
                        line = ".*\\b" + Pattern.quote(line) + "\\b.*";

                    LOGGER_D.debug(line);
                    Pattern tempP = Pattern.compile(line, Pattern.CASE_INSENSITIVE);

                    for (int c = severity; c >= 0; c--) {
                        if (!banPhraseLists.containsKey(c))
                            banPhraseLists.put(c, new LinkedList<Pattern>());
                        banPhraseLists.get(c).add(tempP);
                        LOGGER_D.debug("Adding " + tempP.toString() + " to s=" + c);
                    }
                }
            }
        } catch (FileNotFoundException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }

    }