public void removeDictionary(boolean isRemoveSegDict)	{
		if(cws != null && isRemoveSegDict)
			cws.removeDictionary();

		if(oldfeaturePipe != null){
			featurePipe = oldfeaturePipe;
		}
		LinearViterbi dv = new LinearViterbi(
				(LinearViterbi) getClassifier().getInferencer());
		getClassifier().setInferencer(dv);

		dictPipe = null;
		oldfeaturePipe = null;
	}
public void removeDictionary ( boolean isRemoveSegDict ) { if ( cws != null && isRemoveSegDict ) cws . removeDictionary ( ) ; if ( oldfeaturePipe != null ) { featurePipe = oldfeaturePipe ; } LinearViterbi dv = new LinearViterbi ( ( LinearViterbi ) getClassifier ( ) . getInferencer ( ) ) ; getClassifier ( ) . setInferencer ( dv ) ; dictPipe = null ; oldfeaturePipe = null ; }
移除词典, 参数指定是否同时移除分词词典