/** * Set user dictionary input stream * * @param userDictionaryInputStream dictionary file as input stream * @return Builder * @throws java.io.IOException */ public synchronized Builder userDictionary(InputStream userDictionaryInputStream) throws IOException { this.userDictionary = UserDictionary.read(userDictionaryInputStream); return this; }