Git Product home page Git Product logo

mini_search_engine's Introduction

mini_search_engine

server.exe:服务器的启动程序,可以与客户端连接 TCPSocket.cpp test_socket_client.cpp test_socket_server.cpp(tcp.make)

pagelib.exe:预处理,生成网页库 同时生成文档id-文档偏移量-文档大小的索引 PageLib.cpp, test_pagelib.cpp (pagelib.make)

offset.exe:预处理,测试偏移量索引是否正确 test_offset.cpp (offset.make)

pagesement.exe:测试网页切词,取topk PageSegment.cpp test_pagesegment.cpp (pagesegment.make)

delpage.exe:网页去重(指纹法,即取词频最多前10个) PageSegment.cpp test_delpage.cpp (delpage.make)

remove_repeat.exe:网页去重(上一个方法,封装起来了) Document.cpp RemoveRepeat.cpp test_remove_page.cpp(removepage.make)

delduplicate.exe:网页去重(特征码法,取逗号的前后6个字节) FeatureCode.cpp DelDuplicate.cpp test_delduplicate.cpp(delduplicate.make)

index.exe:建立索引,以及权重索引 InverterIndex.cpp test_index.cpp(index.make)

search.exe:查询模块,输入查询词,由空间向量模型算出相似度,按相似度从大到小输出结果 Search.cpp test_search.cpp (search.make)

Engine.exe:

mini_search_engine's People

Contributors

huweiqing915 avatar

Watchers

James Cloos avatar  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.