增加多instances方法
kanasimi opened this issue · 3 comments
kanasimi commented
例如在繁簡轉換程序中,需要隨時轉換不同辭典。若每次都需要重新載入辭典,將造成額外的浪費。
yanyiwu commented
听起来似乎合理。不过还是想确认下,可以把简体和繁体词典合并成一个辞典么?
发自我的iPhone
… 在 2020年10月28日,07:07,kanasimi ***@***.***> 写道:
例如在繁簡轉換程序中,需要隨時轉換不同辭典。若每次都需要重新載入辭典,將造成額外的浪費。
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
kanasimi commented
現在暫時採用合併辭典的方法 但是需要繁複的計算 也不真的準確
https://github.com/kanasimi/Chinese_converter/blob/master/_build/generate_dictionary.js#L111
https://github.com/kanasimi/Chinese_converter/blob/master/dictionaries/commons.txt
會有相同詞彙在不同詞典中 權重不同的問題
有些詞在不同的語境(台灣 香港 中國大陸)權重不同 甚至連詞性標記都不同
yanyiwu commented
好的明白了,我抽空看下是否好改吧。
发自我的iPhone
… 在 2020年10月28日,16:16,kanasimi ***@***.***> 写道:
現在暫時採用合併辭典的方法 但是需要繁複的計算 也不真的準確
https://github.com/kanasimi/Chinese_converter/blob/master/_build/generate_dictionary.js#L111
https://github.com/kanasimi/Chinese_converter/blob/master/dictionaries/commons.txt
會有相同詞彙在不同詞典中 權重不同的問題
有些實在不同的語境(台灣 香港 中國大陸)權重不同 甚至連詞性標記都不同
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.