/**
************************************************************************************
- * Copyright (C) 2006-2007, International Business Machines Corporation and others. *
+ * Copyright (C) 2006-2007,2012 International Business Machines Corporation and others. *
* All Rights Reserved. *
************************************************************************************
*/
#include "unicode/utext.h"
#include "unicode/uscript.h"
#include "brkeng.h"
+#include "dictbe.h"
U_NAMESPACE_BEGIN
protected:
- /**
- * <p>Create a CompactTrieDictionary for the specified script and break type.</p>
- *
- * @param script A 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);
};