try {
LineReader reader = new LineReader(file);
HashMap<String, Double> res =new HashMap<String, Double>();
while(reader.hasNext()){
String line = reader.readLine();
String[] fds = line.split("\\s+\\|{3}\\s+");// feature_key ||| feature vale; the feature_key itself may contain "|||"
StringBuffer featKey = new StringBuffer();
for(int i=0; i<fds.length-1; i++){
featKey.append(fds[i]);
if(this.useIntegerNgram){