edu.mit.nlp.segmenter
Class SegTesterParams
java.lang.Object
edu.mit.nlp.segmenter.SegTesterParams
public class SegTesterParams
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SegTesterParams
public SegTesterParams(File file)
throws Exception
- Throws:
Exception
SegTesterParams
public SegTesterParams(Properties props)
throws Exception
- Throws:
Exception
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.