java - blank output on IndriRunQuery in lemur project -


i'm using lemur nlp project, , indexed data succesffully wanna run query on index files indrirunquery command parameter file:

    <parameters>  <index>path-to-index-directory</index> <query>      <number>1</number>      <text>query sample string</text>  </query> <count>50</count></parameters> 

there no error, there no answer. blank line in output

i found answer myself documents in indexing step weren't in format lemur document told documents told make training document in format:

<doc> <docno>document-id</docno> <text>dcoument-plain-text</text> </doc> 

and indexed documents again by: buildindex [parameterfile] user indrirunquery.exe , worked well


Comments

Popular posts from this blog

PHP while loop dynamic rowspan -

timer - Java TimerTask cancel -

android - How to read a column value in parse.com without accessing an object or a pointer -