Proposal for OpenHarmony Adaptation of [ Kenlm ]
Background
OpenHarmony is an open-source operating system and community that is widely used in the field of intelligent terminals.
Kenlm is a tool for building and using language models. In order to enable Kenlm to support the OpenHarmony system, we have modified some of the code of Kenlm. We plan to submit the modified code to the Kenlm community. The purpose of creating this Issue is to initiate discussions with the community. We sincerely welcome you to put forward your valuable suggestions.
Adaptation Proposal
We have completed the adaptation of kenlm on OpenHarmony. The specific content is as follows:
- The construction/packaging of kenlm was realized based on the OpenHarmony environment and development tools.
- Provide sample examples of using kenlm in OpenHarmony application development.
We'll submit the adaptation code through a Pull Request (PR) promptly.
Testing Results
Based on the OpenHarmony system, we conducted unit tests on kenlm using the original library test cases and passed the tests in the following versions:
DevEco Studio 5.0.3 Release-5.0.9.221, SDK: API15(OpenHarmony 5.0.3.135)
DevEco Studio 5.0.4 Beta1-5.0.9.320, SDK: API16 (OpenHarmony 5.0.4.150)
DevEco Studio 5.0.3 Release-5.0.9.300, SDK: API15(OH_SDK 5.0.3.135(SP1))
DevEco Studio 5.0.4 Beta1 5.0.9.320, SDK: API16(OH SDK 5.0.4.150)
If necessary, we can provide detailed test reports at any time.
Labels
enhancement, compatibility, cross-platform