private boolean isPassKeywordCheck(Task task, String key, int tolerance, 
                                       boolean isExact) {
        if (tolerance == 0 && !isExact) {
            nearMatchString = "";
            return task.getValue(Keyword.CONTENT).contains(key);
        }
        StringMatching sm = new StringMatching();
        String[] listOfWords = task.getValue(Keyword.CONTENT).split(" ");
        boolean wordFound = false;
        if (key.equals("")) {
            nearMatchString = "";
            return true;
        }
        for (int j = 0; j < listOfWords.length; ++j) {
            if (wordFound) {
                continue;
            }
            if (sm.computeEditDistance(listOfWords[j], key) <= tolerance) {
                if (tolerance == 0) {
                    nearMatchString = "";
                } else {
                    nearMatchString = listOfWords[j];
                }
                return true;
            }
        }
        return false;
    }