Convert French words to their epicene form
require_once __DIR__.'/vendor/autoload.php';
use Epíkoinos\Converter;
$converter = new Converter();
$converter->convertWord('étudiant'); //['étudiant.e' => ['feminine' => 'étudiante', 'masculine' => 'étudiant', 'epicene' => 'étudiant.e']]
Note that it will always return an array (as there might be several possible conversions).
$converter = new Converter('-');
$converter->convertWord('étudiant'); //['étudiant-e' => ['feminine' => 'étudiante', 'masculine' => 'étudiant', 'epicene' => 'étudiant-e']]
The complete library documentation is available at epikoinos.netlib.re/docs/.
Epíkoinos can also be used as a web app. The official instance is hosted at epikoinos.netlib.re.
composer install
bower install