it.unimi.dsi.mg4j.test
Class ProduceDNFFromLines

java.lang.Object
  extended by it.unimi.dsi.mg4j.test.ProduceDNFFromLines

public final class ProduceDNFFromLines
extends Object

Reads a sequence of documents represented as blank-separated sequences of words, where documents are separated by new-lines. Produces and prints q DNF queries (OR's of AND's) as follows: for every query, k documents are selected at random, and from each of them h words at most are selected. The query is a k-ary OR of the corresponding AND's.


Method Summary
static void main(String[] arg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(String[] arg)
                 throws IOException,
                        com.martiansoftware.jsap.JSAPException
Throws:
IOException
com.martiansoftware.jsap.JSAPException