How to perform keyword fuzzy search in PHP

Source: Internet
Author: User
In PHP, how does one perform fuzzy search of keywords? similar to Baidu, the keyword is used to query entries with similar meanings ------ solution ------------------ synonyms and synonyms all require you to teach the program, you need to maintain a table with two fields: one field is used to store the keyword, and the other field is used to store the synonyms and synonyms of the keyword. if you cannot sort out the synonyms and synonyms of the keyword from Ci Hai, here, we can share the results of others' work & nbsp; how does http perform fuzzy search of keywords in PHP?
Similar to Baidu, entries with similar meanings are queried for the entered keywords.
------ Solution --------------------
Both synonyms and synonyms require you to teach the program.
Therefore, you need to maintain a table with two fields: one field for storing the keyword, and the other field for storing the synonym and synonym of the keyword.

If you are unable to sort it out from the sea of words, you can share the http://www.hydcd.com/tongyicicidian.htm of others' achievements here.
------ Solution --------------------
Coreseek is a full-text Chinese search/search software.

------ Solution --------------------
It is estimated that you do not have a reference library for synonyms and synonyms.
Therefore, it is better to use the first floor.
------ Solution --------------------
Reference:
It is estimated that you do not have a reference library for synonyms and synonyms.
Therefore, it is better to use the first floor.

Synonym/compound word segmentation settings

Related Article

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.