PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   How does PhpDig epure text? (http://www.phpdig.net/forum/showthread.php?t=1893)

Edomondo 03-02-2005 05:46 AM

How does PhpDig epure text?
 
I had a closer look at PhpDig code and couldn't find how does PhpDig epure texts.
I'm wondering how it strips the text into keywords.

phpdigEpureText() removes dots (periods) and multiple spaces. However, I was unable to get to know how it removes other punctuation marks (comma, semi-colon...)

I would like to exclude multi-byte punctuation marks used in Japanese from keywords stored in the DB.

Any help, please.

Charter 03-03-2005 08:17 AM

PhpDig v.1.8.8 RC1 strips punctuation off the front and back of a 'word' where a 'word' is defined by space breaks. There are a couple of spots where this occurs. Search the PhpDig files for [\x00 to find the spots.


All times are GMT -8. The time now is 08:35 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.