Revision: 14779
          http://gate.svn.sourceforge.net/gate/?rev=14779&view=rev
Author:   valyt
Date:     2011-12-15 15:44:10 +0000 (Thu, 15 Dec 2011)
Log Message:
-----------
Nicer names for the scorers.

Modified Paths:
--------------
    mimir/trunk/mimir-web/src/templates/conf/MimirConfig.groovy

Modified: mimir/trunk/mimir-web/src/templates/conf/MimirConfig.groovy
===================================================================
--- mimir/trunk/mimir-web/src/templates/conf/MimirConfig.groovy 2011-12-15 
15:20:43 UTC (rev 14778)
+++ mimir/trunk/mimir-web/src/templates/conf/MimirConfig.groovy 2011-12-15 
15:44:10 UTC (rev 14779)
@@ -49,20 +49,18 @@
 // closure that returns a fully configured instance of 
 // gate.mimir.search.score.MimirScorer.
 
-scorers = {
-  counting = {
-    new DelegatingScoringQueryExecutor(new CountScorer())
-  }
+scorers.'Count Scoring' = {
+  new DelegatingScoringQueryExecutor(new CountScorer())
+}
   
-  tfidf = {
-    new DelegatingScoringQueryExecutor(new TfIdfScorer())
-  }
-  
-  bm25 = {
-    new DelegatingScoringQueryExecutor(new BM25Scorer())
-  }
-  
-  mimir = {
-    new BindingScorer()
-  }  
-}
\ No newline at end of file
+scorers.'TF.IDF' = {
+  new DelegatingScoringQueryExecutor(new TfIdfScorer())
+}
+
+scorers.'BM25' = {
+  new DelegatingScoringQueryExecutor(new BM25Scorer())
+}
+
+scorers.'Hit Length Scoring' = {
+  new BindingScorer()
+}

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
10 Tips for Better Server Consolidation
Server virtualization is being driven by many needs.  
But none more important than the need to reduce IT complexity 
while improving strategic productivity.  Learn More! 
http://www.accelacomm.com/jaw/sdnl/114/51507609/
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to