sordonia / hred-qs

Hierarchical Recurrent Encoder Decoder for Query Suggestion
BSD 3-Clause "New" or "Revised" License
108 stars 44 forks source link

What does rank file mean? #2

Closed ghost closed 8 years ago

ghost commented 8 years ago

Hi, Sordonj, Thanks for your great work. I have some problem running the convert-text2dict.py, I know [session file] means query serises, how about [rank_file]?

sordonia commented 8 years ago

Hi !

rank_file is a tab separated file (each line has the same number of fields as the session file) with the rank of the first clicked document for each query. Actually, this is an idea i wanted to test out but didn't have time. you can just set all the entries in the rank_file to 0, i.e.

if session file is:

yahoo search '\t' search engine '\t' search

then rank file is: 0 '\t' 0 '\t' 0

On Tue, Jul 5, 2016 at 8:43 AM yobobobo001 notifications@github.com wrote:

Hi, Sordonj, Thanks for your great work. I have some problem running the convert-text2dict.py, I know [session file] means query serises, how about [rank_file]?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sordonia/hred-qs/issues/2, or mute the thread https://github.com/notifications/unsubscribe/ABnGPN52lYWQUBIm7HnjeEg7emXhsjcEks5qSlFrgaJpZM4JFE9E .[image: Web Bug from https://github.com/notifications/beacon/ABnGPCF21BlTdtOu0LpZKAQe8gGGEMMQks5qSlFrgaJpZM4JFE9E.gif]

ghost commented 8 years ago

Got it! Thank you.