diff --git a/src/main/java/net/sourceforge/pinyin4j/multipinyin/Trie.java b/src/main/java/net/sourceforge/pinyin4j/multipinyin/Trie.java index e867e26..76d6654 100644 --- a/src/main/java/net/sourceforge/pinyin4j/multipinyin/Trie.java +++ b/src/main/java/net/sourceforge/pinyin4j/multipinyin/Trie.java @@ -130,6 +130,10 @@ public void loadMultiPinyinExtend() throws IOException { loadMultiPinyin(new FileInputStream(userMultiPinyinFile)); } } + InputStream inStream = MultiPinyinConfig.multiPinyinInput; + if (inStream != null) { + loadMultiPinyin(inStream); + } } public Trie get(String hexString) {