New Extension Proposal: cld

From: Date: Sun, 23 Oct 2011 13:35:36 +0000
Subject: New Extension Proposal: cld
Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-8740@lists.php.net to get a copy of this message
Hi everybody, I would like to propose a new PECL extension which provides access to the Chromium Compact Language Detector (CLD). Mike McCandless extracted CLD out of Chromium and made it available as a standalone library and implemented Python bindings[1]. I've written a simple PECL extension to expose a single function to userland CLD\detect() with the following signature: CLD\detect(string $text[, bool is_plain_text[, bool $include_extended_languages[, string $top_level_domain_hint[, string language_hint[, string encoding_hint]]]]]) License is New BSD License (2 clause). Proposed name would be "cld", category should be "Internationalization". [1]: http://blog.mikemccandless.com/2011/10/language-detection-with-googles-compact.html [2]: https://github.com/lstrojny/php-ccld/ With regards, Lars

« previous php.pecl.dev (#8740) next »