Giter Site home page Giter Site logo

a-simple-search-engine's Introduction

A-Simple-Search-Engine

index.html--前端搜索界面

test.py--后台搜索

SearchEngine.py--Crawler类:爬虫程序 Searcher类:搜索程序

NeuralNetwork.py--神经网络

PorterStemmer.py--词干提取模块

stopwords.txt--停用词表

SearchEngine.py里的中文分词我用的是CRF++,当然也可以自己写个分词系统,但如果不想自己写分词系统的话,就需要在自己电脑上安装CRF++,并训练model,才能保证该程序正常运行。该文件里的separate_words()函数里的crf_model是我在自己电脑上训练出来的model。关于CRF++的安装和使用请看http://jorbe.sinaapp.com/2014/01/29/segment-sentences-with-crf/

a-simple-search-engine's People

Contributors

jorbe-jiang avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.