Jump to content
Chinese-Forums
  • Sign Up

Free PHP Script : Chinese Segmenter


Dharius

Recommended Posts

It's difficult to me to explain because I'm french...

So it works with chinese HTLML like & #20013;& #22269; (=中国). each chinese HTML character length is between 7 and 8.

I take the first 6 characters of the text and i'm lookinf sort the database if the variable exist, else, I take, the first 5, else the firts 4, etc... Then I'm doing the same with the rest of the text...

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and select your username and password later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Click here to reply. Select text to quote.

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...