首先确保
data.txt的换行字符(Newline Character)是CR+TF(Windows)
Encoding是UTF-8 without Signature
如果不按这个标准来,很容易出现词条数目对不上。
下面正式进行troubleshooting:
Begining loading source file...
Content is longer then 8388608 at position: 0 of the source file
Failed to load source file, process cancelled
Begining loading source file...
Invalid keyword at position: 155387606 of the source file
Failed to load source file, process cancelled
Begining loading source file...
Invalid keyword at position: 155387606 of the source file
Failed to load source file, process cancelled
可能是某个词头缺失,导致</>的上一行,是空行。
可以在sublime text中打开文件,使用正则搜索搜索:
^\s\n
把词头添加上去即可。
Begining loading source file...
Done
Time used for this section: 2 seconds
Sorting dictionary...
Done!
Begin processing index...
Done!
Original index size = 1607KB, compressed size = 630KB, compression ratio = 39%
Time used for this section: 0 seconds
Begin processing data contents...
Done!
Original text size = 385953KB, compressed size = 46816KB, compression ratio = 12%
Time used for this section: 10 seconds
Number of entries: 91531
Conversion succeed!
标签:...,loading,section,source,mdx,file,size,制作,字典 From: https://www.cnblogs.com/profesor/p/18288760