how can I replace words using map that populate the value in properties file?
I have this code to load the properties file:
Properties propertiesSlang = new Properties();
FileInputStream fileReadSlang = new FileInputStream(slang);
propertiesSlang.load(fileReadSlang);
System.out.println(propertiesSlang);
Map<String, String> replacements = new HashMap<String, String>((Map)propertiesSlang);
I have many slang tokens that I have to replace, how can I replace the slang tokens?