private void getUnigramModel(File file) throws FileNotFoundException {

		Scanner scanner = new Scanner(new BufferedReader(new FileReader(file)));
		int sum = 0;
		while (scanner.hasNextLine()) {
			String line = "#START# " + scanner.nextLine().trim();
			String[] temp = line.split(" ");
			sum += temp.length;

			for (String string : temp) {
				Integer count = unigramCnt.get(string);
				unigramCnt.put(string, (count == null) ? 1 : count + 1);
			}
		}
		unigramCnt.put("#UNBEKANNT#", 0);
		int typetotal = unigramCnt.size();
		int tokentotal = sum;

		for (Map.Entry<String, Integer> entry : unigramCnt.entrySet()) {
			String unigram = entry.getKey();
			Integer count = entry.getValue();
			this.unigrammodel.put(unigram, (count + 1.5915) / (tokentotal + 1.5915 * typetotal));
		}
		scanner.close();
	}