public static Dictionary getDictionary(String dictionaryName, int type)
	{
		Dictionary dictionary = null;
		switch (type) 
		{
		case CHAR_DICTIONARY:
			dictionary = new CharDictionary(dictionaryName);
			break;
		case WORD_DICTIONARY:
			dictionary = new WordDictionary(dictionaryName);
			break;
		case WORD_LIST_DICTIONARY:
			dictionary = new WordListDictionary(dictionaryName);
			break;
		case BLACK_LIST_DICTIONARY:
			dictionary = new BlackListDictionary(dictionaryName);
			break;
		default:
			log.warning("Dictionary type does not exist");
			break;
		}
		return dictionary;
	}