Thanks a lot Andreas for your answer on my question.I will look at your solution this week.I was in Berlin this weekend.Is it possible to use set scoring * and then enter full text queries in the upper text-bar?Thank you for the live-demo as well.If I succeed I come back to you.Regards,Wiard VasenVrije Universiteit van AmsterdamMasterthesis: Deep diving into Van Gogh2011/3/31 Andreas Weiler <andreas.weiler@uni-konstanz.de>
Dear Wiard Vasen,you just need to set the scoring property once.If you work in the GUI:Go to the top input bar, choose command and type:set scoring *as * set the scoring algorithm you like.In the console just type: set scoring *After setting this you can use the score function, like in the 8th query of our online demo (basex.org/products/live-demo):let $names := ('Jack London', 'Jack', 'Jim Beam', 'Jack Daniels')for $name at $pos score $score in $names[. contains text 'Jack']order by $score descendingreturn <name pos='{ $pos }'>{ $name }</name>Don't hesitate to ask for more,AndreasAm 30.03.2011 um 22:02 schrieb Wiard Vasen:_______________________________________________Dear sirs of Basex,I am doing my Master thesis on the letters of Vincent van Gogh at the University of Amsterdam.For that purpose I use BaseX to analyze the letters.I wonder, is there the possibility to generate a tf/idf score automatically?In your faq I noticed there needs to be a special term like 'SET SCORING 0' to be able to get a tf/idf score.This information I get from the following page: http://docs.basex.org/wiki/Full-Text
Could you help me with this?I would be very grateful.Kind regards,
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk