private String[] getMarkType(String label) {
		String[] types = new String[2];

		if(NoSegLabel){
			types[0] = "";
			types[1] = label;
			return types;
		}

		int idx = label.indexOf('-');
		if(idx!=-1){
			types[0] = label.substring(0,idx);
			types[1] = label.substring(idx+1);
		}else{
			types[0] = label;
			types[1] = "";
		}

		return types;
	}
private String [ ] getMarkType ( String label ) { String [ ] types = new String [ 2 ] ; if ( NoSegLabel ) { types [ 0 ] = "" ; types [ 1 ] = label ; return types ; } int idx = label . indexOf ( '-' ) ; if ( idx != - 1 ) { types [ 0 ] = label . substring ( 0 , idx ) ; types [ 1 ] = label . substring ( idx + 1 ) ; } else { types [ 0 ] = label ; types [ 1 ] = "" ; } return types ; }
得到标记类型，BMES-后面的标记
@param label
@return