@Override
	public void init(Model m) {
		mappingS = new Hashtable<String, String>();
		try {
			if (X.get("brownFile") != null) {
				filename = X.get("brownFile");
			}
			InputStream in = null;
			if (filename.endsWith(".gz")) {
				in = new GZIPInputStream(
						BrownFeaturizer.class.getResourceAsStream(filename));
			} else {
				in = BrownFeaturizer.class.getResourceAsStream(filename);
			}
			BufferedReader reader = new BufferedReader(
					new InputStreamReader(in));
			String line = null;
			while ((line = reader.readLine()) != null) {
				String[] items = line.split("\t");
				mappingS.put(items[1], items[0]);
			}
			reader.close();
		} catch (Exception e) {
			e.printStackTrace();
		}
		if (singleton == null) {
			singleton = this;
		}
	}