Teach you how to create a keyword matching Project (search engine) ---- 15th days, teach you how to do ---- _ PHP Tutorial

Source: Internet
Author: User
Teach you how to create a keyword matching Project (search engine) ---- 15th days, teach you to do ----. Teach you how to do keyword matching projects (search engines) ---- 15th days, teach you how to do ---- 15th days little Shuai is very happy to do simple things, complicated things he doesn't know how to do, teach you how to create a keyword matching Project (search engine) ---- 15th days, teach you to do ----

15th days

Shuai is happy to do simple things. he doesn't know how to do complicated things, but after listening to the boss's explanation, he thinks many things are so simple.

He wrote some code at will, and then went to the boss to ask how to do it ......

 Charlist-> addCore ("elder"); $ this-> charlist-> addBlacklist (""); $ this-> charlist-> addBlacklist (" "); $ this-> charlist-> addBlacklist ("middle-aged"); $ this-> charlist-> addBlacklist ("Childhood ");}}

Shuai said to the boss: "Yu Laifeng, the middle-aged and old people have done it. I want to deal with some different colors or brands. When will this code be the first.

The boss said: Well, since you have mentioned this, do you have a good solution to solve these problems?

Shuai said: I do not know whether my solution is immature. I need your support and discussion.

Mr. Yu said: "Okay, good!" Shuai finally understands how to use the strength of his team. in the afternoon, I will convene a discussion meeting to prepare your questions and your preliminary solutions.

When you have doubts about your decision-making, the strength of the team is your solid backing.

During the afternoon's discussion, Shuai gave a question.

Mr. Lele said: to solve these problems, I think we should make an antonym comparison. The information can be saved in the database.

Xiao Huanhuan said: We can try to do it by category. some attributes of each category are fixed. as long as we find the corresponding relationship between these fixed attributes, we can do well.

He said: you can use all of them. I think you can also be an alias or a synonym.

......

After some discussion, Shuai found him after the meeting and asked: what solutions should I use for the solutions they discussed?

The boss listed the question: what do you think is the antonym, correspondence, and synonym or alias they are talking about?

Shuai replied: Dictionary.

Yu Laoda, with a sigh of relief, said, "Do we already have the dictionary concept in the program.

Shuai looked at the code and was excited to say: the CharList is actually useful.

Yu Dawang continued: since we have already used it in consciousness, we still use our own code to construct this charlist, what if we have such data as mappings, antonyms, and synonyms.

Shuai replied: now we know that our code only matches and corresponds to the existing data base.

Mr. Yu said: Now that you understand it, let's do it and look forward to your good results.

Shuai finally realized that the boss is really not ordinary, and he exists like a god.




NLP (search engine) ---- 15th days, teach you to do ---- 15th days, Shuai is very happy to do simple things, he does not know how to do complex things ,...

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.