Re: PHP Extension -- feedback request
| From: | Rasmus Lerdorf | Date: | Fri, 15 Jan 2010 06:49:32 +0000 |
| Subject: | Re: PHP Extension -- feedback request | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-6968@lists.php.net to get a copy of this message | ||
Cesar D. Rodas wrote:
> Hello everybody,
>
> In the fast few weeks I've been developing a brand new PHP Extension
> and I'd like a feedback about it, in order to request a PECL account.
>
> The extension it's pretty simple, it implements a N-gram based text
> categorization [1] class, useful to detect languages of texts with a
> minimum supervision (it requires a simple learning from samples).
>
> Currently the Extension, provides two classes:
>
> - BaseTextCat: This class has few abstract methods, allowing
> developers override the default behavior of the library from the PHP
> userland.
> - TextCat: A ready-to-use class with standard behavior (saving the
> "knowledge" in flat files, treating texts as one character per byte).
>
> The Extension it's hosted currently at Github,
> http://github.com/crodas/PHPTextCat
Looks cool. Fill out the svn account request form at
http://us.php.net/svn-php.php and we will get you set
up.
I did notice a few issues. Most of your sample text has character
encoding issues. And your Swedish sample text is actually Swahili.
Easy mistake to make. Those Swahili-speaking swedes are everywhere.
-Rasmus