- /**
- * <p>Create a CompactTrieDictionary for the specified script and break type.</p>
- *
- * @param script An ISO 15924 script code that identifies the dictionary to be
- * created.
- * @param breakType The kind of text break for which a dictionary is
- * sought.
- * @return A CompactTrieDictionary with the desired characteristics, or 0.
- */
- virtual const CompactTrieDictionary *loadDictionaryFor(UScriptCode script, int32_t breakType);
-
+ /**
+ * <p>Create a DictionaryMatcher for the specified script and break type.</p>
+ * @param script An ISO 15924 script code that identifies the dictionary to be
+ * created.
+ * @param breakType The kind of text break for which a dictionary is
+ * sought.
+ * @return A DictionaryMatcher with the desired characteristics, or NULL.
+ */
+ virtual DictionaryMatcher *loadDictionaryMatcherFor(UScriptCode script, int32_t breakType);