private boolean needCountScan(AnalyzeContext context){
		if((nStart != -1 && nEnd != -1 ) || !countHits.isEmpty()){
			//正在处理中文数词,或者正在处理量词
			return true;
		}else{
			//找到一个相邻的数词
			if(!context.getOrgLexemes().isEmpty()){
				Lexeme l = context.getOrgLexemes().peekLast();
				if((Lexeme.TYPE_CNUM == l.getLexemeType() ||  Lexeme.TYPE_ARABIC == l.getLexemeType())
					&& (l.getBegin() + l.getLength() == context.getCursor())){
					return true;
				}
			}
		}
		return false;
	}
private boolean needCountScan(AnalyzeContext context){
		if((nStart != -1 && nEnd != -1 ) || !countHits.isEmpty()){
			
			return true;
		}else{
			
			if(!context.getOrgLexemes().isEmpty()){
				Lexeme l = context.getOrgLexemes().peekLast();
				if((Lexeme.TYPE_CNUM == l.getLexemeType() ||  Lexeme.TYPE_ARABIC == l.getLexemeType())
					&& (l.getBegin() + l.getLength() == context.getCursor())){
					return true;
				}
			}
		}
		return false;
	}
private boolean needCountScan ( AnalyzeContext context ) { if ( ( nStart != - 1 && nEnd != - 1 ) || ! countHits . isEmpty ( ) ) { //正在处理中文数词,或者正在处理量词
 return true ; } else { //找到一个相邻的数词
 if ( ! context . getOrgLexemes ( ) . isEmpty ( ) ) { Lexeme l = context . getOrgLexemes ( ) . peekLast ( ) ; if ( ( Lexeme . TYPE_CNUM == l . getLexemeType ( ) || Lexeme . TYPE_ARABIC == l . getLexemeType ( ) ) && ( l . getBegin ( ) + l . getLength ( ) == context . getCursor ( ) ) ) { return true ; } } } return false ; }
判断是否需要扫描量词
@return
判断是否需要扫描量词