Autosuggest-Misspelling

时间:2024-06-25 01:07:40
【文件属性】:

文件名称:Autosuggest-Misspelling

文件大小:39.03MB

文件格式:ZIP

更新时间:2024-06-25 01:07:40

JavaScript

自动提示拼写错误 ####Step 1 运行 Elasticsearch ####Step 2 将脚本放入终端的script/create文件中,并设置Elasticsearch的索引 ####Step 3 处理数据,可以运行代码 use main.js 除非你想更新原始数据,否则只需要运行node main.js 3 //Aggregate data from dictionary, overrides and popularities into tmp/finalDictWithPopularity node main.js 1 //Clean finalDictWithPopularity: delete empty rows, use log to scale down the popularity of the records node main.js 2 //Imp


【文件预览】:
Autosuggest-Misspelling-master
----main.js(308B)
----tmp()
--------finalDictWithPopularity(12.36MB)
--------finalDict(12.43MB)
----script()
--------create(1KB)
----lib()
--------importer.js(1KB)
--------pre-process.js(4KB)
--------cleanData.js(2KB)
----test.js(1KB)
----README.md(721B)
----data()
--------million_search_queries_transformed.csv(86.84MB)
--------dictionaryEN.tsv(2.56MB)
--------dictionaryES.tsv(3.04MB)
--------cleanedDict.json(11.51MB)
--------overridesES.tsv(26KB)
--------overridesEN.tsv(20KB)

网友评论