public String censorMessage(String message) {
		
		boolean censored = false;
		boolean uncensored = false;
		
		for (Map.Entry<String, String> entry : wordList.entrySet()) {
			
			String thisWord = entry.getKey();
			String thisValue = entry.getValue();
			String thisRegex = "\\b"+thisWord+"\\b";
			Pattern patt = Pattern.compile(thisRegex, Pattern.CASE_INSENSITIVE);
			Matcher m = patt.matcher(message);
			if (m.find()) {
				if (thisValue.length() > 0) {
					message = message.replaceAll(thisRegex,thisValue);
					censored = true;
				} else {
					uncensored = true;
				}
			}			
		}	
		if ((!censored && !uncensored) || (!uncensored && censored)) {
			return message;
		} else {
			return "";
		}
	}