org.knowceans.corpus.parsers.epg
Class EpgAll

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

public class EpgAll
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
EpgAll()
           
 
Method Summary
private static void analyseTopics()
           
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)
           
private static void extractTopics(int K, double alpha, double beta, int iterations)
           
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

EpgAll

public EpgAll()
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)

extractTopics

private static void extractTopics(int K,
                                  double alpha,
                                  double beta,
                                  int iterations)

analyseTopics

private static void analyseTopics()

createDir

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

Parameters:
name -