code: static public TextAnalyzer createInstance(int type, 
  			String dictionaryPath, 
  			Map<String, ? extends Object> keywordDefinitions, 
  			Map<Integer, ? extends Object> lengthDefinitions){
  		switch(type){
  		case TYPE_MMSEG_COMPLEX:
  		case TYPE_MMSEG_MAXWORD:
  		case TYPE_MMSEG_SIMPLE:
  			return new MmsegTextAnalyzer(type, dictionaryPath, keywordDefinitions, lengthDefinitions);
  		case TYPE_FAST:
  			return new FastTextAnalyzer(dictionaryPath, keywordDefinitions, lengthDefinitions);
  		default:
  			throw new IllegalArgumentException("Not supported TextAnalyzer type: " + type);
  		}
  	}
docs: Create an instance of TextAnalyzer.<br>
  创建一个文本分析器实例。
  
  @param type				{@link #TYPE_MMSEG_SIMPLE} | {@link #TYPE_MMSEG_COMPLEX} | {@link #TYPE_MMSEG_MAXWORD} | {@link #TYPE_FAST}
  @param dictionaryPath	字典文件路径，如果为null，则表示使用缺省位置的字典文件
  @param keywordDefinitions	关键词字的定义
  @param lengthDefinitions		文本长度类别定义
  @return	A new instance of TextAnalyzer.<br>TextAnalyzer的一个实例。