addException

open override fun addException(word: String, hyphenatedword: ArrayList<Any>)

Add an exception to the tree. It is used by {@link PatternParser PatternParser} class as callback to store the hyphenation exceptions.

Parameters

word

normalized word

hyphenatedword

a vector of alternating strings and {@link Hyphen hyphen} objects.