Location:
Search - Stardict Edito
Search list
Description: 又一个星际译王Stardict词库编译器。与官方的stardict-editor相比有如下特点:
1、输入格式仅支持Tabfile,但词条可以用竖线|分隔以表示同义词。
2、可指定最大.dict文件大小,若源数据过多则会按此大小分割成多个词库,以规避Stardict不支持超过2G词库文件的问题。适合于大型维基词库的编译。
3、可指定词条解释的的最长大小,解释过多的词条会被分割成多个条目,以避免在手机上使用时内存不足。
4、不会将源文件全部加载至内存。排序只针对词条索引,在.dict中不改变源文件中词条的顺序。而stardict-editor会将源文件全部加载,导致无法编译数百兆的大词典。-Yet another Stardict dictionary compiler. It features differently from the official stardict-editor in the following aspects:
1. Input source file format is limited to Tabfile. However, vertical bar (|) can be used to delimit synonyms by default.
2. Maximum .dict file size can be specified, so that when the source file is too large, its output are divided into multiple dictionaries, to work around the 2GB file size limitation of Stardict. Suitable for compilation of large Wikipedia dictionaries.
3. Maximum length of a word s meaning can be specified. Words with too long meanings are split into multiple entries, to avoid memory allocation failure when used on mobile devices.
4. This program does not load the entire source file into memory. Only word indices are loaded for sorting, nad the entry sequences are the same in .dict and in source file. In contrast, stardict-editor would load whole source file into memory, making it difficult to compile huge dictionaries with hundreds of me
Platform: |
Size: 1024 |
Author: Dian Yin |
Hits: