bg.bas.dcl.CorpusTools
Class AutomaticMWETagger

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

public class AutomaticMWETagger
extends java.lang.Object


Constructor Summary
AutomaticMWETagger()
           
 
Method Summary
 void findMWEs(java.lang.String path)
           
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 main(java.lang.String[] args)
           
 java.util.HashMap<java.lang.String,java.lang.Integer> readFreqDictFromFile(java.lang.String path, boolean setN)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutomaticMWETagger

public AutomaticMWETagger()
Method Detail

main

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

readFreqDictFromFile

public java.util.HashMap<java.lang.String,java.lang.Integer> readFreqDictFromFile(java.lang.String path,
                                                                                  boolean setN)

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

findMWEs

public void findMWEs(java.lang.String path)