1 #ifndef EPT_POPCON_LOCAL_H
2 #define EPT_POPCON_LOCAL_H
46 Local(
const std::string& file = std::string(
"/var/log/popularity-contest"));
57 float score(
const std::string& pkg)
const;
66 float tfidf(
const Popcon& popcon,
const std::string& pkg)
const;
72 std::vector< std::pair<std::string, float> >
scores()
const;
80 std::vector< std::pair<std::string, float> >
tfidf(
const Popcon& popcon)
const;