/** * Copyright (c)2010-2011 Enterprise Website Content Management System(EWCMS), All rights reserved. * EWCMS PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * http://www.ewcms.com */ package com.ewcms.content.document.util.analyzer.seg; import com.ewcms.content.document.util.analyzer.Context; /** * <ul> * 子分词器接口 * </ul> * * @author 吴智俊 */ public interface ISegmenter { /** * 从分析器读取下一个可能分解的词元对象 * @param segmentBuff 文本缓冲 * @param context 分词算法上下文 */ void nextLexeme(char[] segmentBuff , Context context); /** * 重置子分析器状态 */ void reset(); }