public static LinkedList<String> findIcebergs(Path path, double frequency){
		IcebergSample sample = new IcebergHashMapSampleImproved(frequency, 0.9);
		
		for(String str: new WordReader(path))
			sample.addWord(str);
		
		return sample.getIcebergs();
	}