Php+mysql database development similar to Baidu's search function: Chinese and English participle + full-text search (MySQL full-text search + Word segmentation (SCWS))

Source: Internet
Author: User
Tags php language

    1. Php+mysql database development similar to Baidu's search function: Chinese and English participle + full-text Search
    2. Chinese participle:

A) Robbe php Chinese word extension: http://www.boyunjian.com/v/softd/robbe.html

I. Robbe full version download: Robbe full version (PHP test program, Development help document, winnt DLL file under PHP) Download: Http://code.google.com/p/robbe ("Google" cannot be used)

b) SCWS (Simplified Chinese word segmentation) based on Http/post: http://www.xunsearch.com/scws/api.php

c) Mfsou Chinese word breaker PHP Extension: http://php.mfsou.com/(website cannot be opened, inaccessible)

Comprehensive: Only use scms Chinese participle.

3. Full-Text Search

A) MySQL full text search (support English participle)

I. http://www.jcodecraeer.com/a/shujuku/2012/0728/324.html

II. Need to learn more about MySQL full-text search

b) Sphinx: SQL-based full-text search engine

I. http://sphinxsearch.com/downloads/

II. Sphinx is a SQL-based full-text search engine that can be combined with mysql,postgresql for full-text searching, which provides a more specialized search function than the database itself, making it easier for applications to implement specialized full-text searches. Sphinx specifically designed search API interfaces for some scripting languages, such as Php,python,perl,ruby, and also designed a storage engine plugin for MySQL.

c) Xun Search: Sunsearch:http://www.xunsearch.com/doc/index

I. The current backend server only supports UNIX (including Linux/bsd/macos, etc.) operating systems, and the front-end development package only supports the PHP language.

II. Xunsearch can help you to set up Portal/Vertical search/Forum Search/web Site search/Document documentation search, etc.

Php+mysql database development similar to Baidu's search function: Chinese and English participle + full-text search (MySQL full-text search + Word segmentation (SCWS))

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.