分析过程中记录每个索引词的文档频率df和文档内的词频tf,通过散列表转换为索引词编码,保存得到词典文件(lexicon file),并保存页面分析的结果到临时文件。
基于12个网页-相关网页
当然,读取每个数据库文件后在内存中合并词典需要额外的处理,但这也比读取所有文件的消耗小得多。
Of course, a little extra processing would be needed to combine dictionaries in memory after reading each database file, but that should still be cheaper than reading all of the files.
看到使用的文本文件时您可能怀疑,默认的文本驱动程序不是一个功能完善的词典提供程序。
As you might surmise when you see the text file it USES, the default text driver is not a full-featured dictionary provider.
应用推荐