jieba.NET icon indicating copy to clipboard operation
jieba.NET copied to clipboard

请问一下,是不是理论上来说,我有不同语言的字典就可以直接支持相关语言呢?

Open winsonet opened this issue 5 years ago • 3 comments

如果我创建一个日文和韩文的字典,是否就可以同时支持这2种语言呢?

winsonet avatar Nov 23 '20 03:11 winsonet

目前 jieba 是以中文字符来分割字符串的,因此除了字典,代码上也要做一点修改。

On Mon, 23 Nov 2020 at 11:30, Winson [email protected] wrote:

如果我创建一个日文和韩文的字典,是否就可以同时支持这2种语言呢?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/anderscui/jieba.NET/issues/73, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA5GTR6CXFVMSN4WDVRCJ4LSRHJL5ANCNFSM4T66CATQ .

-- Thanks Anders Cui

anderscui avatar Nov 23 '20 08:11 anderscui

嗯,我试过了,发现其他语言的话可能是编码问题,完全认不出来,如日文或者韩文都可能认为是乱码,全部只能整句输出了....

winsonet avatar Nov 24 '20 09:11 winsonet

@winsonet 对,目前 jieba 主要考虑的中英文。

anderscui avatar Nov 25 '20 05:11 anderscui