==========
CONSONNEX
==========
I Legal information
===================
Author:Michel Billard Sirakawa
Date : février 2014
Licence GPL
Copyright (C) 20011-2012. Michel Billard Sirakawa
Official website : sirakawa.fr
contact : billard_michel@sfr.fr
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
II Contents of the archive
==========================
The archive includes:
- A software of démontration: index.html and coder.php;
- the file connex.php which contains:
- the function consonnex(string $mot);
- the function comparer ($mot1, $mot2).
III Implementation of the demonstration
=====================================
Copy everything in a sub-directory of the Web server
If document_root is /var/www/html/, create a directory consonnex and copy here all files (Attention, by decompressing, we risk to have
created a directory consonnex).
Run htt://nom_du_serveur/consonnex/index.html.
IV Integration to another program
=================================
Copy consonnex.php in the directory of the program and add:
include ("consonnex.php);
V Descriptions
===============
Consonnex is an adaptation of the Soundex:
- Consonants are those of the french language;
- Consideration of groups of consonants:
- Double consonants,
- Consonants followed by h,
- Compound consonants like br or fl.
-The digital codes were replaced by letters and two symbols of the phonetic internationnal alphabet.
- The double consonants are treated as simple consonants.
- No limitation of size of the produced code.
VI Usage
========
$z1 = consonnex (string $mot1);
$z2 = consonnex (string $mot2);
$similitude = comparer ($z1, $z2);
Contribute financially
======================
Welcome. Contact billard_michel ( at ) sfr.fr