Skip to content

lutaf/auto-complete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

智能提示

智能提示对与搜索非常重要,相对于机器学习来说,可以称为 集体学习,用集体智慧来识别用户查询,用很小的成本换来较大的收益

数据采用utf-8编码,可以支持中文,英文或者任意语言

nodejs能够稳定运行在生成环境,推荐使用pm2部署

使用方法

数据格式

data/eng.txt 有一份demo数据

  • 文本文件,一行一条数据
  • 词语和权重值用 tab分隔

安装pm2

npm install pm2 -g
pm2 start main.js -i 4

auto complete

Auto complte is on very important and search, relative to the machine learning, can be called the the collective wisdom of the collective learning, to identify a user query, use very little cost big gains.

UTF-8 code, can support Chinese, English or any other language

Nodejs can work stably in the production environment, recommended deployment using PM2

About

auto complete nodejs version,binary search

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published