Update of /cvsroot/monetdb/pathfinder/modules/pftijah/Tests
In directory 
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv31032/modules/pftijah/Tests

Added Files:
      Tag: M5XQ
        terms_tf.xq 
Log Message:
propagated changes of Tuesday Dec 22 2009 - Monday Jan 04 2010
from the XQFT branch to the M5XQ branch

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2009/12/22 - sjoerd: modules/pftijah/Tests/terms_tf.xq,1.1.2.1
  file terms_tf.xq was added on branch XQFT on 2010-01-04 15:14:59 +0000
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2010/01/04 - sjoerd: modules/pftijah/Tests/terms_tf.xq,1.1.2.2
  propagated changes of Tuesday Dec 22 2009 - Monday Jan 04 2010
  from the development trunk to the XQFT branch
  
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2009/12/22 - hrode: modules/pftijah/Tests/terms_tf.xq,1.1
    adding test cases for new functions
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


--- NEW FILE: terms_tf.xq ---
let $d := pf:collection("thesis.xml")
let $opt := <TijahOptions stemmedterms="true" ft-index="snowball"/>
return <terms>
{
   for $e at $r in $d//section
   return <section num="{$r}"> 
   {
      for $t in tijah:terms($e, $opt)
      return <term name="{$t}"> {tijah:tf($e, $t, $opt)} </term>
   }
   </section>
}
</terms>


------------------------------------------------------------------------------
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

Reply via email to