Re: new extension

View: New views
4 Messages — Rating Filter:   Alert me  

Re: new extension

by mohan L-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Deal All,

I have created a new extension:bogoclassify .

Bogoclassify is a php extension to 'Bogofilter'. Bogoclassify extension
comes with a php function called bogoclassify_match().You can use this to
classify given content are  spam or ham (non-spam) and it also return the
spamscore.This extension is completed and would like to release beta
version, It will help me to enhance and add new future depending upon user
requrement. So I would like to add this extension in PECL SVN.

1).I don't have any link to the project. If you guys want to see the source.
I will attach it .
2).I would like to release under PHP License 3.01

Thanks & Rg
Mohan L

Re: Re: new extension

by Alexey Zakhlestin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 20.10.2009, at 19:42, mohan L wrote:

> Deal All,
>
> I have created a new extension:bogoclassify .
>
> Bogoclassify is a php extension to 'Bogofilter'. Bogoclassify  
> extension
> comes with a php function called bogoclassify_match().You can use  
> this to
> classify given content are  spam or ham (non-spam) and it also  
> return the
> spamscore.This extension is completed and would like to release beta
> version, It will help me to enhance and add new future depending  
> upon user
> requrement. So I would like to add this extension in PECL SVN.
>
> 1).I don't have any link to the project. If you guys want to see the  
> source.
> I will attach it .
> 2).I would like to release under PHP License 3.01
>
> Thanks & Rg
> Mohan L

Do you link your extension with bogofilter itself or use some kind of  
rpc for communications?
You see, the problem is, that bogofilter is GPL-licensed, which makes  
it incompatible with php.
On the other hand, if no direct linkage is used everything is fine.

--
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Parent Message unknown Re: Re: new extension

by Alexey Zakhlestin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 20.10.2009, at 20:19, mohan L wrote:

>
>
> On Tue, Oct 20, 2009 at 9:27 PM, Alexey Zakhlestin  
> <indeyets@...> wrote:
>
> On 20.10.2009, at 19:42, mohan L wrote:
>
> Deal All,
>
> I have created a new extension:bogoclassify .
>
> Bogoclassify is a php extension to 'Bogofilter'. Bogoclassify  
> extension
> comes with a php function called bogoclassify_match().You can use  
> this to
> classify given content are  spam or ham (non-spam) and it also  
> return the
> spamscore.This extension is completed and would like to release beta
> version, It will help me to enhance and add new future depending  
> upon user
> requrement. So I would like to add this extension in PECL SVN.
>
> 1).I don't have any link to the project. If you guys want to see the  
> source.
> I will attach it .
> 2).I would like to release under PHP License 3.01
>
> Thanks & Rg
> Mohan L
>
> Do you link your extension with bogofilter itself or use some kind  
> of rpc for communications?
>
> bogoclassify_match() This function expect two argument, first  
> argument is keyword(ham,spam,ham2spam,spam2ham,classify,spamscore)  
> and the second argument is content you wish to classify ham or spam  
> (or get spamscore).Depending upon the keyword and content the  
> extension will return spamscore . I am using like popen call to  
> execute bogofilter.
>
> You see, the problem is, that bogofilter is GPL-licensed, which  
> makes it incompatible with php.
>
> what is the solution?  I am not expert in license related  
> issue .please suggest me .
>
> On the other hand, if no direct linkage is used everything is fine.
>
> PHP_INI_ENTRY("bogoclassify.exepath","/usr/local/bin/
> bogofilter",PHP_INI_SYSTEM,NULL)
>
> In my application this one line code only specifies path of  
> bogofilter .other than this there is no direct link to  bogofilter .

then everything is fine.

p.s. do not forget to use "reply to all" while replying to emails from  
list


--
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: Re: new extension

by mohan L-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Oct 20, 2009 at 9:54 PM, Alexey Zakhlestin <indeyets@...>wrote:

>
> On 20.10.2009, at 20:19, mohan L wrote:
>
>
>>
>> On Tue, Oct 20, 2009 at 9:27 PM, Alexey Zakhlestin <indeyets@...>
>> wrote:
>>
>> On 20.10.2009, at 19:42, mohan L wrote:
>>
>> Deal All,
>>
>> I have created a new extension:bogoclassify .
>>
>> Bogoclassify is a php extension to 'Bogofilter'. Bogoclassify extension
>> comes with a php function called bogoclassify_match().You can use this to
>> classify given content are  spam or ham (non-spam) and it also return the
>> spamscore.This extension is completed and would like to release beta
>> version, It will help me to enhance and add new future depending upon user
>> requrement. So I would like to add this extension in PECL SVN.
>>
>> 1).I don't have any link to the project. If you guys want to see the
>> source.
>> I will attach it .
>> 2).I would like to release under PHP License 3.01
>>
>> Thanks & Rg
>> Mohan L
>>
>> Do you link your extension with bogofilter itself or use some kind of rpc
>> for communications?
>>
>> bogoclassify_match() This function expect two argument, first argument is
>> keyword(ham,spam,ham2spam,spam2ham,classify,spamscore) and the second
>> argument is content you wish to classify ham or spam (or get
>> spamscore).Depending upon the keyword and content the extension will return
>> spamscore . I am using like popen call to execute bogofilter.
>>
>> You see, the problem is, that bogofilter is GPL-licensed, which makes it
>> incompatible with php.
>>
>> what is the solution?  I am not expert in license related issue .please
>> suggest me .
>>
>> On the other hand, if no direct linkage is used everything is fine.
>>
>>
>> PHP_INI_ENTRY("bogoclassify.exepath","/usr/local/bin/bogofilter",PHP_INI_SYSTEM,NULL)
>>
>> In my application this one line code only specifies path of bogofilter
>> .other than this there is no direct link to  bogofilter .
>>
>
> then everything is fine.
>

Can I apply for a SVN account?
<http://php.net/svn-php.php>

>
> p.s. do not forget to use "reply to all" while replying to emails from list
>
> I am sorry for that.

Thanks & Rg
Mohan L