cppjieba currently ships with Simplified Chinese dictionaries. It would be useful to also provide an official Traditional Chinese dictionary.
A good candidate is the data from https://github.com/rime/rime-essay. From a technical perspective, there doesn't appear to be any major obstacle -- the dictionary format can be converted to the format expected by cppjieba.
The main consideration is licensing. rime-essay is licensed under LGPL-3.0, so vendoring the dictionary into this repository may not be ideal. Instead, it might be preferable to include it as a Git submodule (or otherwise keep it as an external dependency), so that the code and dictionary remain clearly separated.
Would the maintainer of cppjieba be open to supporting Traditional Chinese segmentation in this way?
cppjiebacurrently ships with Simplified Chinese dictionaries. It would be useful to also provide an official Traditional Chinese dictionary.A good candidate is the data from https://github.com/rime/rime-essay. From a technical perspective, there doesn't appear to be any major obstacle -- the dictionary format can be converted to the format expected by
cppjieba.The main consideration is licensing.
rime-essayis licensed under LGPL-3.0, so vendoring the dictionary into this repository may not be ideal. Instead, it might be preferable to include it as a Git submodule (or otherwise keep it as an external dependency), so that the code and dictionary remain clearly separated.Would the maintainer of
cppjiebabe open to supporting Traditional Chinese segmentation in this way?