src/main/java/org/wltea/analyzer/dic/Dictionary.java
private void loadRemoteExtDict() {
		List<String> remoteExtDictFiles = getRemoteExtDictionarys();
		for (String location : remoteExtDictFiles) {
			logger.info("[Dict Loading] " + location);
			List<String> lists = getRemoteWords(location);
			// 如果找不到扩展的字典，则忽略
			if (lists == null) {
				logger.error("[Dict Loading] " + location + "加载失败");
				continue;
			}
			for (String theWord : lists) {
				if (theWord != null && !"".equals(theWord.trim())) {
					// 加载扩展词典数据到主内存词典中
					logger.info(theWord);
					_MainDict.fillSegment(theWord.trim().toLowerCase().toCharArray());
				}
			}
		}

	}
private void loadRemoteExtDict() {
		List<String> remoteExtDictFiles = getRemoteExtDictionarys();
		for (String location : remoteExtDictFiles) {
			logger.info("[Dict Loading] " + location);
			List<String> lists = getRemoteWords(location);
			// 如果找不到扩展的字典，则忽略
			if (lists == null) {
				logger.error("[Dict Loading] " + location + "加载失败");
				continue;
			}
			for (String theWord : lists) {
				if (theWord != null && !"".equals(theWord.trim())) {
					// 加载扩展词典数据到主内存词典中
					logger.info(theWord);
					_MainDict.fillSegment(theWord.trim().toLowerCase().toCharArray());
				}
			}
		}

	}
private void loadRemoteExtDict ( ) { List < String > remoteExtDictFiles = getRemoteExtDictionarys ( ) ; for ( String location : remoteExtDictFiles ) { logger . info ( "[Dict Loading] " + location ) ; List < String > lists = getRemoteWords ( location ) ; // 如果找不到扩展的字典，则忽略
 if ( lists == null ) { logger . error ( "[Dict Loading] " + location + "加载失败");
 continue ; } for ( String theWord : lists ) { if ( theWord != null && ! "" . equals ( theWord . trim ( ) ) ) { // 加载扩展词典数据到主内存词典中
 logger . info ( theWord ) ; _MainDict . fillSegment ( theWord . trim ( ) . toLowerCase ( ) . toCharArray ( ) ) ; } } } }
加载远程扩展词典到主词库表
加载远程扩展词典到主词库表