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

PHP tag extraction problem, please give guidance

WBOY
Release: 2016-08-04 09:19:03
Original
936 people have browsed it

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.

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template