Revision: 14789
http://gate.svn.sourceforge.net/gate/?rev=14789&view=rev
Author: valyt
Date: 2011-12-16 12:11:27 +0000 (Fri, 16 Dec 2011)
Log Message:
-----------
Use the new nicer labels for scorer names.
Modified Paths:
--------------
mimir/trunk/mimir-cloud/grails-app/conf/MimirConfig.groovy
Modified: mimir/trunk/mimir-cloud/grails-app/conf/MimirConfig.groovy
===================================================================
--- mimir/trunk/mimir-cloud/grails-app/conf/MimirConfig.groovy 2011-12-16
12:11:08 UTC (rev 14788)
+++ mimir/trunk/mimir-cloud/grails-app/conf/MimirConfig.groovy 2011-12-16
12:11:27 UTC (rev 14789)
@@ -45,24 +45,22 @@
// prepared for download)
tempDir="/data/home/gate/mimir-archives"
-// The set of scorers available. Each scorer has a name and is defined by a
-// closure that returns a fully configured instance of
+// The set of scorers available. Each scorer has a name and is defined by a
+// closure that returns a fully configured instance of
// gate.mimir.search.score.MimirScorer.
-scorers {
- counting = {
- new DelegatingScoringQueryExecutor(new CountScorer())
- }
-
- tfidf = {
- new DelegatingScoringQueryExecutor(new TfIdfScorer())
- }
-
- bm25 = {
- new DelegatingScoringQueryExecutor(new BM25Scorer())
- }
-
- mimir = {
- new BindingScorer()
- }
+scorers.'Count Scoring' = {
+ new DelegatingScoringQueryExecutor(new CountScorer())
+}
+
+scorers.'TF.IDF' = {
+ new DelegatingScoringQueryExecutor(new TfIdfScorer())
+}
+
+scorers.'BM25' = {
+ new DelegatingScoringQueryExecutor(new BM25Scorer())
+}
+
+scorers.'Hit Length Scoring' = {
+ new BindingScorer()
}
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn Windows Azure Live! Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for
developers. It will provide a great way to learn Windows Azure and what it
provides. You can attend the event by watching it streamed LIVE online.
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs