Home > Back-end >  Chinese string comparison, a great god come in, please!
Chinese string comparison, a great god come in, please!

Time:09-29

Now need to build a basketball database, the database information table to have a team, such as a team name is: the luneng

Program on the Internet to get the data, to determine whether access to the team is the one in the database,

Such as access to the 'shandong luneng hristo', 'luneng hristo', 'the luneng taishan football team' shandong luneng
'
The access to the alias and 'luneng is with a team, the judge how to implement by the program?

Hope the great god give directions!!

CodePudding user response:

http://www.cnblogs.com/del/archive/2007/12/28/1018765.html
http://www.cnblogs.com/del/category/113558.html

CodePudding user response:

SQL statements are not to have the function of the fuzzy matching

CodePudding user response:

For each to set up a narrow word records (such as this to: luneng taishan,,,,)
Every time with these records like it again

CodePudding user response:

Provides a train of thought:
1, design a method, to decompose the keywords search characters, such as:
Shandong luneng hristo=the shandong luneng, hristo
Luneng hristo=luneng, hristo
Luneng taishan football team=luneng taishan, football team
Shandong luneng=, shandong luneng
2, database, set the luneng search character=shandong luneng taishan (consists of keywords)
3, in the search by keywords, search,
  • Related