public void loadDictionary(File dictionary) throws Exception {
		try {
			BufferedReader is = null;
			try {
				is = new BufferedReader (new FileReader(dictionary));
				String line = null;
				while ((line = is.readLine()) != null) {
					this.attach(line);
				}
			} finally {
				is.close();
			}
		} catch (FileNotFoundException e) {
			e.printStackTrace();
			throw e;
		} catch (IOException e) {
			e.printStackTrace();
			throw e;
		}
	}