class SegmentMapper extends SISOMapper {

	@Override
	public void open(){
		segmentor = new JiebaSegmenter();
		String[] userDefinedDict = this.params.get(SegmentParams.USER_DEFINED_DICT);
		if (null != userDefinedDict) {
			for(String word : userDefinedDict){
				segmentor.addUserWord2Dict(word);
			}
		}
	}

	public  SegmentMapper(TableSchema dataSchema, Params params);

}