Home  >  Article  >  Backend Development  >  PHP tag extraction problem, please give guidance

PHP tag extraction problem, please give guidance

WBOY
WBOYOriginal
2016-08-04 09:19:03912browse

For example in the vocabulary:
Zhang San
Li Si
Wang Wu

The article is:
Zhang San stole Wang Wu’s hammer and smashed Li Si’s head with the hammer

Then the extraction result is:
Zhang San, Li Si, Wang Wu

The thesaurus may have more than 1,000 words

I don’t know what third-party tools to use to make the performance acceptable?

Reply content:

For example in the vocabulary:
Zhang San
Li Si
Wang Wu

The article is:
Zhang San stole Wang Wu’s hammer and smashed Li Si’s head with the hammer

Then the extraction result is:
Zhang San, Li Si, Wang Wu

The thesaurus may have more than 1,000 words

I don’t know what third-party tools to use to make the performance acceptable?

Do you want to do semantic analysis?

Using the RMM word segmentation algorithm, ready-made classes can be found online.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn