edu.mit.nlp.segmenter
Class SegTesterParams

java.lang.Object
  extended by edu.mit.nlp.segmenter.SegTesterParams

public class SegTesterParams
extends Object


Constructor Summary
SegTesterParams(File file)
           
SegTesterParams(Properties props)
           
 
Method Summary
static boolean getBoolProp(Properties props, String key, boolean def)
           
static double getDoubleProp(Properties props, String key, double def)
           
static int getIntProp(Properties props, String key, int def)
           
 Properties getProps()
           
 int getWindowSize()
           
 boolean isRemoveStopWords()
           
 boolean isStemsEnabled()
           
 boolean isWindowingEnabled()
           
 String segmenter()
           
 boolean useChoiStyleBounds()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SegTesterParams

public SegTesterParams(File file)
                throws Exception
Throws:
Exception

SegTesterParams

public SegTesterParams(Properties props)
                throws Exception
Throws:
Exception
Method Detail

getBoolProp

public static boolean getBoolProp(Properties props,
                                  String key,
                                  boolean def)

getIntProp

public static int getIntProp(Properties props,
                             String key,
                             int def)
                      throws Exception
Throws:
Exception

getDoubleProp

public static double getDoubleProp(Properties props,
                                   String key,
                                   double def)
                            throws Exception
Throws:
Exception

getProps

public Properties getProps()

useChoiStyleBounds

public boolean useChoiStyleBounds()

isWindowingEnabled

public boolean isWindowingEnabled()

isStemsEnabled

public boolean isStemsEnabled()

getWindowSize

public int getWindowSize()

isRemoveStopWords

public boolean isRemoveStopWords()

segmenter

public String segmenter()


Copyright © 2008 MIT. All Rights Reserved.