private void searchGoodChoice(List<String> choices) {
		if(choices != null && !choices.isEmpty()) {
			List<Keyword> keywordList = dictionary.getKeywordList();
			int priority = -1;
			float distance = 1;
			int elementId = -1;
			int elementIdRegardingDistance = 0;
			
			for(int i = 0; i < choices.size(); i++) {
				String[] words = choices.get(i).split(";");
				for(int j = 0; j < keywordList.size(); j++) {
					if(words[1].equals(keywordList.get(j).getWord())
							&& keywordList.get(j).getKeywordData().getPriority() > priority
							&& (float)Integer.parseInt(words[2]) / words[1].length() < 0.3) {
						priority = keywordList.get(j).getKeywordData().getPriority();
						elementId = i;
					}  else if ((float)Integer.parseInt(words[2]) / words[1].length() < distance) {
						distance = (float)Integer.parseInt(words[2]) / words[1].length();
						elementIdRegardingDistance = i;
					}
				}
			}

			if(elementId >= 0) {

				String[] choice = choices.get(elementId).split(";");
				firstChoice = choice[0];
				secondChoice = choice[1];
				choices.remove(elementId);
				listOfChoices = choices;
			} else {

				String[] choice = choices.get(elementIdRegardingDistance).split(";");
				firstChoice = choice[0];
				secondChoice = choice[1];
				choices.remove(elementIdRegardingDistance);
				listOfChoices = choices;
			}
			
		} else {
			listOfChoices = null;
		}
	}