public static List<Map<Integer, Double>> getUniqueTopicMaps(List<Bookmark> userLines, boolean resource) {
		List<Map<Integer, Double>> resMaps = new ArrayList<Map<Integer, Double>>();
		for (Bookmark data : userLines) {
			int resID = resource ? data.getWikiID() : data.getUserID();
			Map<Integer, Double> rMap = null;
			if (resID >= resMaps.size()) {
				rMap = new LinkedHashMap<Integer, Double>();
				resMaps.add(rMap);
			}/* else {
				rMap = resMaps.get(resID);
			}*/
			if (rMap != null) {
				for (int cat : data.getCategories()) {
					rMap.put(cat, 1.0);
				}
			}
		}
		return resMaps;
	}