# dictionary.gen **Repository Path**: archknight/dictionary.gen ## Basic Information - **Project Name**: dictionary.gen - **Description**: 用于落格输入法自定义词库的辅助编辑工具 - **Primary Language**: Kotlin - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-06-23 - **Last Updated**: 2022-06-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 自定义词库辅助编辑工具 针对落格输入法的自定义词库开发的辅助标记工具,可以完成自定义词库的编辑和导出,并提供从大段文字中抽取词组自动生成词库条目的功能。 ## 第三方库引用说明 自定义词库编辑工具整体使用Kotlin编写,基于JDK 8运行,使用JDK 14提供的jpackage工具完成可执行文件的打包。 * 分词及拼音转换:[HanLP](https://hanlp.hankcs.com/) * 内存数据库:[H2 Database](https://h2database.com/) * Swing Look and Feel:[Flatlaf](https://www.formdev.com/flatlaf/) * 数据库ORM:[Exposed](https://github.com/JetBrains/Exposed) * 协程:[kotlinx.coroutines](https://github.com/Kotlin/kotlinx.coroutines) * Rx库:[RxJava 3](https://github.com/ReactiveX/RxJava) * 工具库:[Google Guava](https://github.com/google/guava) * FatJar打包工具:[Shadow](https://imperceptiblethoughts.com/shadow/) * jpackage打包工具:[The Badass Runtime Plugin](https://badass-runtime-plugin.beryx.org/) 应用中所使用的图标均来自[iconfont.cn](https://www.iconfont.cn/),并且内置了HanLP的部分模型以及词库文件。 ## 构建说明 应用采用Gradle构建,可在项目根目录中使用以下命令运行应用。 ```bash ./gradlew run ``` 如需打包,可执行以下命令。 ```bash ./gradlew jpackage ``` 在打包前,请务必保证系统内已经安装了JDK 14,并且设定了环境变量`BADASS_RUNTIME_JPACKAGE_HOME`,该环境变量需要指向JDK 14所在的目录。