package backend;

import com.google.common.collect.ImmutableMap;

import java.util.Map;

/**
 * Created by hlib on 03.10.15.
 */
public class UnknownWordsAnalyzer {
    public static Map<String, Double> getFeaturesForUser() {
        //TODO replace with call to dao here
        return ImmutableMap.of("cat", 1.0, "dog", 1.0);
    }
}

@@ -22,46 +22,19 @@
 ort 
-com.google.common.collect.ImmutableMap
+models.Word
 ;%0A%0Ai
@@ -204,98 +204,38 @@
     
-//TODO replace with call to dao here%0A        return ImmutableMap.of(%22cat%22, 1.0, %22dog%22, 1.0
+return Word.getWordStatistics(
 );%0A 

replace stub method with real call to dao for getting words statistics