ovalhub / pyicu

The PyICU project repository has moved to https://pyicu.org.
Other
133 stars 49 forks source link

How to use DictionaryBasedBreakIterator from PyICU? #128

Closed wannaphong closed 4 years ago

wannaphong commented 4 years ago

How to use DictionaryBasedBreakIterator from PyICU? Could you suggest?

ovalhub commented 4 years ago

On Thu, 28 May 2020, Wannaphong Phatthiyaphaibun wrote:

How to use DictionaryBasedBreakIterator from PyICU? Could you suggest?

That class has been deprecated since ICU 3.6: https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/namespaceicu.html#ae44e1ab9362b6cb8800a082395f50294 It looks like you should use RuleBasedBreakIterator instead.

Andi..

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/ovalhub/pyicu/issues/128

wannaphong commented 4 years ago

@ovalhub Sad. :(
Can RuleBasedBreaklterator custom a dictionary for word break?

ovalhub commented 4 years ago

On May 28, 2020, at 23:05, Wannaphong Phatthiyaphaibun notifications@github.com wrote:

 @ovalhub Sad. :(

The class is still available in pyicu, though. You're welcome to use it - it's just not well documented by icu. Can RuleBasedBreaklterator custom a dictionary for word break?

I don't know but the docs seem to imply so. For questions about how to use icu, please ask on the icu users mailing list. There is a lot more expertise about icu apis there.

Andi..

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

wannaphong commented 4 years ago

On May 28, 2020, at 23:05, Wannaphong Phatthiyaphaibun @.***> wrote:  @ovalhub Sad. :( The class is still available in pyicu, though. You're welcome to use it - it's just not well documented by icu. Can RuleBasedBreaklterator custom a dictionary for word break? I don't know but the docs seem to imply so. For questions about how to use icu, please ask on the icu users mailing list. There is a lot more expertise about icu apis there. Andi.. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

Thank you.