Commit 4d01144b591c2398c12e19e523463c7123b3d74e

Authored by Tássia Camões Araújo
1 parent e0d32ecb
Exists in master and in 1 other branch add_vagrant

Updated command line help.

Showing 1 changed file with 21 additions and 12 deletions   Show diff stats
@@ -40,7 +40,7 @@ class Config(Singleton): @@ -40,7 +40,7 @@ class Config(Singleton):
40 ## general options 40 ## general options
41 self.debug = 0 41 self.debug = 0
42 self.verbose = 1 42 self.verbose = 1
43 - self.output = "log" 43 + self.output = "apprec.log"
44 44
45 ## data_source options 45 ## data_source options
46 self.base_dir = os.path.expanduser("~/.app-recommender/") 46 self.base_dir = os.path.expanduser("~/.app-recommender/")
@@ -103,13 +103,14 @@ class Config(Singleton): @@ -103,13 +103,14 @@ class Config(Singleton):
103 print " -f, --filtersdir=PATH Path to filters directory" 103 print " -f, --filtersdir=PATH Path to filters directory"
104 print " -b, --pkgsfilter=FILTER File containing packages to be considered for recommendations" 104 print " -b, --pkgsfilter=FILTER File containing packages to be considered for recommendations"
105 print " -a, --axi=PATH Path to apt-xapian-index" 105 print " -a, --axi=PATH Path to apt-xapian-index"
106 - print " -e, --dde=URL DDE url"  
107 print " -p, --popconindex=PATH Path to popcon index" 106 print " -p, --popconindex=PATH Path to popcon index"
108 - print " -m, --popcondir=PATH Path to popcon submissions dir"  
109 - print " -u, --indexmode=MODE 'old'|'reindex'|'cluster'|'recluster'"  
110 - print " -l, --clustersdir=PATH Path to popcon clusters dir"  
111 - print " -c, --medoids=k Number of medoids for clustering"  
112 - print " -x, --maxpopcon=k Number of submissions to be considered" 107 + print " -e, --dde=URL DDE url"
  108 + # deprecated options
  109 + #print " -m, --popcondir=PATH Path to popcon submissions dir"
  110 + #print " -u, --indexmode=MODE 'old'|'reindex'|'cluster'|'recluster'"
  111 + #print " -l, --clustersdir=PATH Path to popcon clusters dir"
  112 + #print " -c, --medoids=k Number of medoids for clustering"
  113 + #print " -x, --maxpopcon=k Number of submissions to be considered"
113 print "" 114 print ""
114 print " [ recommender ]" 115 print " [ recommender ]"
115 print " -w, --weight=OPTION Search weighting scheme" 116 print " -w, --weight=OPTION Search weighting scheme"
@@ -123,11 +124,19 @@ class Config(Singleton): @@ -123,11 +124,19 @@ class Config(Singleton):
123 print " bm25 = bm25 weighting scheme" 124 print " bm25 = bm25 weighting scheme"
124 print "" 125 print ""
125 print " [ strategy options ] " 126 print " [ strategy options ] "
126 - print " cb = content-based "  
127 - print " cbt = content-based using only tags as content "  
128 - print " cbd = content-based using only package descriptions as content "  
129 - print " col = collaborative "  
130 - print " colct = collaborative through tags content " 127 + print " cb = content-based, mixed profile"
  128 + print " cbt = content-based, tags only profile"
  129 + print " cbd = content-based, description terms only profile"
  130 + print " cbh = content-based, half-half profile"
  131 + print " cb_eset = cb with eset profiling"
  132 + print " cbt_eset = cbt with eset profiling"
  133 + print " cbd_eset = cbd_eset with eset profiling"
  134 + print " cbh_eset = cbh with eset profiling"
  135 + print " knn = collaborative, tf-idf knn"
  136 + print " knn_plus = collaborative, tf-idf weighted knn"
  137 + print " knn_eset = collaborative, eset knn"
  138 + print " knnco = collaborative through content"
  139 + print " knnco_eset = collaborative through content, eset recommendation"
131 140
132 def read_option(self, section, option): 141 def read_option(self, section, option):
133 """ 142 """