Update of /cvsroot/monetdb/pathfinder/modules/pftijah/Tests
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv7682/Tests
Modified Files:
All procs.stable.out
Added Files:
fbterms.xq
Log Message:
added implementation for tijah:fb-terms()
the current implementation follows the divergation minimization approach of
zhai and lafferty to find the best feeback terms.
used parameters: returnNumber and collection-lambda.
Index: All
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/Tests/All,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- All 22 Dec 2009 11:47:23 -0000 1.14
+++ All 6 Jan 2010 13:59:09 -0000 1.15
@@ -43,4 +43,5 @@
tf2
tfall
terms_tf
+fbterms
cleanup
Index: procs.stable.out
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/Tests/procs.stable.out,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- procs.stable.out 22 Dec 2009 11:47:23 -0000 1.62
+++ procs.stable.out 6 Jan 2010 13:59:09 -0000 1.63
@@ -738,6 +738,7 @@
[ "tj_dump_collection(str) : void"
]
[ "tj_ent2tid(BAT[str,dbl]) : BAT[oid,dbl]"
]
[ "tj_extend_collection(str, BAT[void,str]) : void"
]
+[ "tj_fb_terms(str, BAT[int,BAT], int, dbl) : BAT[void,str]"
]
[ "tj_get_collection_lock(str) : lock"
]
[ "tj_get_ft_index(BAT[str,str], bit) : str"
]
[ "tj_global_delete() : void"
]
--- NEW FILE: fbterms.xq ---
let $d := pf:collection("thesis.xml")
let $opt1 := <TijahOptions ft-index="porter" returnNumber="4"/>
let $opt2 := <TijahOptions ft-index="snowball" returnNumber="4"/>
let $opt3 := <TijahOptions ft-index="nostem" returnNumber="4"/>
let $opts := ($opt1, $opt2, $opt3)
return <res>
{
for $opt in $opts
for $e in $d//section
return <bubble stemming="{$opt/@ft-index}"> { tijah:fb-terms($e, $opt) }
</bubble>
}
</res>
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins