Re: CRM114 php extension

Khalid Ahsein <[email protected]> Wed, 4 Jan 2012 16:08:37 +0100
Newsgroups gmane.mail.spam.crm114
Message-ID <CAKL5=2=OfzdSRVsc6EaVLZSxgOkEob5oA_2grH1K1=JWeLhzBA@mail.gmail.com>
--===============5602651399217511257==
Content-Type: multipart/alternative; boundary=f46d04388e37b79a5204b5b5300d

--f46d04388e37b79a5204b5b5300d
Content-Type: text/plain; charset=ISO-8859-1

I have done a php oriented-object version.

http://gymx.net/php-crm114/download/pecl-crm114-0.9.1.tgz

Here is a quick example :

$crm = new CRM114('mydb.dat');
$crm->learnText($text, 1);
$results = array();
$crm->classifyText($text, $results);

Array
(
    [class] => pass
    [documents] => 14
    [features] => 12110
    [hits] => 92
    [prob] => 0.58032101101221
    [pR] => 0.47486802440217
)

I also added the link CRM C-API to the page : http://gymx.net/php-crm114/

Now I'm working to a complete manpage.

Regards,

Khalid

On Tue, Jan 3, 2012 at 9:20 PM, <[email protected]> wrote:

> Khalid Ahsein <[email protected]> writes:
>
> > [1:text/plain Hide]
> > Hi bill,
> >
> > I will rearrange the page to have a paragraph for libcrm114 source
> tomorrow.
>
> Excellent.
>
> > Are you planning to make some packages for majors distributions ?
>
> Actually, I don't do packaging because I don't have the skillset
> to do it right (I tried making an RPM and failed miserably) nor the
> machines to test the installs on.
>
> Besides, other folks make good packages.  So, I'm OK with that.
>
>         - Bill
>

--f46d04388e37b79a5204b5b5300d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I have done a php oriented-object version.<div><br></div><div><a href=3D"ht=
tp://gymx.net/php-crm114/download/pecl-crm114-0.9.1.tgz">http://gymx.net/ph=
p-crm114/download/pecl-crm114-0.9.1.tgz</a></div><div><br></div><div>Here i=
s a quick example :</div>
<div><br></div><div>$crm =3D new CRM114(&#39;mydb.dat&#39;);</div><div>$crm=
-&gt;learnText($text, 1);</div><div>$results =3D array();</div><div>$crm-&g=
t;classifyText($text, $results);</div><div><br></div><div><div>Array</div><=
div>
(</div><div>=A0 =A0 [class] =3D&gt; pass</div><div>=A0 =A0 [documents] =3D&=
gt; 14</div><div>=A0 =A0 [features] =3D&gt; 12110</div><div>=A0 =A0 [hits] =
=3D&gt; 92</div><div>=A0 =A0 [prob] =3D&gt; 0.58032101101221</div><div>=A0 =
=A0 [pR] =3D&gt; 0.47486802440217</div>
<div>)</div><div><br></div><div>I also added the link CRM C-API to the page=
 :=A0<a href=3D"http://gymx.net/php-crm114/">http://gymx.net/php-crm114/</a=
></div><div><br></div><div>Now I&#39;m working to a complete manpage.</div>
<div><br></div><div>Regards,</div><div><br></div><div>Khalid</div><div><br>=
</div><div class=3D"gmail_quote">On Tue, Jan 3, 2012 at 9:20 PM,  <span dir=
=3D"ltr">&lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt;</span> wr=
ote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Khalid Ahsein &lt;<a href=3D"mailto:gymx.lab=
[email protected]">[email protected]</a>&gt; writes:<br>
<br>
&gt; [1:text/plain Hide]<br>
<div class=3D"im">&gt; Hi bill,<br>
&gt;<br>
&gt; I will rearrange the page to have a paragraph for libcrm114 source tom=
orrow.<br>
<br>
</div>Excellent.<br>
<div class=3D"im"><br>
&gt; Are you planning to make some packages for majors distributions ?<br>
<br>
</div>Actually, I don&#39;t do packaging because I don&#39;t have the skill=
set<br>
to do it right (I tried making an RPM and failed miserably) nor the<br>
machines to test the installs on.<br>
<br>
Besides, other folks make good packages. =A0So, I&#39;m OK with that.<br>
<br>
 =A0 =A0 =A0 =A0 - Bill<br>
</blockquote></div><br></div>

--f46d04388e37b79a5204b5b5300d--


--===============5602651399217511257==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
--===============5602651399217511257==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Crm114-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crm114-general

--===============5602651399217511257==--