<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to makeprior</title><link>https://sourceforge.net/p/lemur/wiki/makeprior/</link><description>Recent changes to makeprior</description><atom:link href="https://sourceforge.net/p/lemur/wiki/makeprior/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 04 Oct 2012 13:54:21 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/lemur/wiki/makeprior/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage makeprior modified by David Fisher</title><link>https://sourceforge.net/p/lemur/wiki/makeprior/</link><description>The makeprior application allows you to add document prior values into an existing Indri index.

The command to run makeprior is:
~~~~~~
` $ makeprior &lt;parameter_file&gt;`
~~~~~~

Where the parameter file is a well-formed XML file (wrapped in `&lt;parameters&gt; &lt;/parameters&gt;` tags) and contains the following fields:

  * index: path to an Indri Repository.
  * name: the name for the prior (i.e. what the prior will be referred to as in Indri queries).
  * input: path to the input file for this prior. The input file should contain a list of entries containing first an external document id and second a log probability value. There should be one entry per line of the file.
  * memory: an integer value specifying the number of bytes to use for the table building process. The value can include a scaling factor by adding a suffix. Valid values are (case insensitive) K=1000, M=1000000, G=1000000000. So 100M would be equivalent to 100000000. The value should contain only decimal digits and the optional suffix.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Fisher</dc:creator><pubDate>Thu, 04 Oct 2012 13:54:21 -0000</pubDate><guid>https://sourceforge.net7e87104ad2f05f6c2a8384e124edac760781f72d</guid></item></channel></rss>