private double[] test(List<List<String>> tokenizedTestTweets) {

		int[] classCounts = { 0, 0, 0, 0 };
		double fullCount = 0.0;
		double[] decision = new double[4];
		int idx = 0;
		for (List<String> tweet : tokenizedTestTweets) {
			/** tweetenként nézzük **/

			for (int i = 0; i < 4; i++) {
				decision[i] = Math.log((double) classProbabilities[i] / 595.0);
			}

			for (String word : tweet) {
				for (int i = 0; i < 4; i++) {
					decision[i] += Math.log(getMagic(word, i));

				}

			}

			double m = Math.max(Math.max(decision[0], decision[1]), Math.max(decision[2], decision[3]));

			for (int i = 0; i < decision.length; i++) {
				if (Double.compare(decision[i], m) == 0) {

					// System.err.println(MessageFormat.format("{0}: {1}->{2} ({3})",
					// ++idx, idx / 25, i, tweet.toString()));
					System.err.println(MessageFormat.format("{0}", i));
					classCounts[i]++;
				}
			}

			fullCount += 1.0;

		}

		double[] toReturn = new double[4];

		try {
			for (int i = 0; i < 4; i++) {
				toReturn[i] = classCounts[i] / fullCount;
			}
		} catch (Exception e) {
			return null;
		}

		return toReturn;
	}