Giter Site home page Giter Site logo

query-suggestion's Introduction

Query Suggestion

1. Intoduction

This a query auto-completion system can be used in any searching scenario.I found query suggestion is an useful application in project,but there was no more documents or codes ,so I want to rebuild this project, andd make it more light and easy to use, and support different interface.

2. System Framework

Query Suggestion here was a very simple version, I had not adopt many algorithms,bellow is the system workflow. SystemFramework

As shown in figure, the main process of this project was the offline, we generated prefixes(contain pinyin,shengmu,chinese words) maps, at online situtation, use the input query(maybe one word, one alphabet, not a completed query) as key to find in maps,and recall it's keywords list, last we rank the candidated keywords and return. The advantages of the project was efficient and convenient, you just only need to prepare the corpus, which may the query logs in search engine, or titles of product or news and other corpus.But the disadvantages also obvious, real-time and incomplete coverage because you can not supply
an enough big corpus so the suggestion words you want may not recommended.Anyway, we already use it in our E-commerce search and got a better result.

2. Algorithms and Model

3. Usage

4. Roadmap

  • 1. Combine normalization module in include/segment/normalize.h and include/util/normalize.h
  • 2. Add more unit test for normalization module
  • 3. Design the old algorithm system framwork.
  • 4 . Supply Python interface for old algorithm.
  • 5 . Collect algorithm papers and documents.
  • 6 . Choose one more effectient algorithm.

5. Contact

If you have any questions ,suggestions or ideas you can contact me with [email protected]

query-suggestion's People

Contributors

syw2014 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.