bg.bas.dcl.CorpusTools
Class ProcessClauses

java.lang.Object
  extended by bg.bas.dcl.CorpusTools.ProcessClauses

public class ProcessClauses
extends java.lang.Object


Constructor Summary
ProcessClauses()
           
 
Method Summary
static double findDistMeasure_old(int len1, int len2, java.lang.String model)
           
static double findDistMeasure(int len1, int len2, java.lang.String model)
           
static java.util.List<java.io.File> getFileListing(java.io.File aStartingDir)
          Recursively walk a directory tree and return a List of all Files found; the List is sorted using File.compareTo().
static void increaseCtr(java.lang.String ctrname)
           
static void increaseCtrBy(java.lang.String ctrname, int q)
           
static void main(java.lang.String[] args)
           
static double pnorm(double z)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessClauses

public ProcessClauses()
Method Detail

increaseCtr

public static void increaseCtr(java.lang.String ctrname)

increaseCtrBy

public static void increaseCtrBy(java.lang.String ctrname,
                                 int q)

findDistMeasure

public static double findDistMeasure(int len1,
                                     int len2,
                                     java.lang.String model)

findDistMeasure_old

public static double findDistMeasure_old(int len1,
                                         int len2,
                                         java.lang.String model)

pnorm

public static double pnorm(double z)

main

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

getFileListing

public static java.util.List<java.io.File> getFileListing(java.io.File aStartingDir)
                                                   throws java.io.FileNotFoundException
Recursively walk a directory tree and return a List of all Files found; the List is sorted using File.compareTo().

Parameters:
aStartingDir - is a valid directory, which can be read.
Throws:
java.io.FileNotFoundException