org.knowceans.corpus.parsers.epg
Class EpgTest

java.lang.Object
  extended by org.knowceans.corpus.parsers.epg.EpgTest

public class EpgTest
extends java.lang.Object

EpgAll is a metadriver for a complete extraction process of the EPG use case, from corpus generation to topic extraction and analysis

Author:
gregor

Field Summary
private static java.lang.String basedir
           
private static java.lang.String corpusbase
           
private static java.lang.String corpusdir
           
private static java.lang.String corpusname
           
private static java.lang.String corpusparams
           
private static java.lang.String inputfile
           
private static java.lang.String ldabase
           
private static java.lang.String ldadir
           
private static java.lang.String ldaname
           
private static java.lang.String xmlfile
           
 
Constructor Summary
EpgTest()
           
 
Method Summary
private static boolean createDir(java.lang.String name)
          Create a directory if it does not exist.
private static void extractCorpus(java.lang.String inputfile, java.lang.String xmlfile, int mindl, int mindf)
           
static void main(java.lang.String[] args)
           
private static void run(int K, double alpha, double beta, int mindl, int mindf, int iterations, boolean docorpus, boolean doextraction, boolean doanalysis)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

corpusbase

private static java.lang.String corpusbase

ldaname

private static java.lang.String ldaname

corpusdir

private static java.lang.String corpusdir

ldadir

private static java.lang.String ldadir

ldabase

private static java.lang.String ldabase

basedir

private static java.lang.String basedir

corpusname

private static java.lang.String corpusname

corpusparams

private static java.lang.String corpusparams

inputfile

private static java.lang.String inputfile

xmlfile

private static java.lang.String xmlfile
Constructor Detail

EpgTest

public EpgTest()
Method Detail

main

public static void main(java.lang.String[] args)

run

private static void run(int K,
                        double alpha,
                        double beta,
                        int mindl,
                        int mindf,
                        int iterations,
                        boolean docorpus,
                        boolean doextraction,
                        boolean doanalysis)

extractCorpus

private static void extractCorpus(java.lang.String inputfile,
                                  java.lang.String xmlfile,
                                  int mindl,
                                  int mindf)

createDir

private static boolean createDir(java.lang.String name)
Create a directory if it does not exist.

Parameters:
name -