Code Monkey home page Code Monkey logo

epikoinos's Introduction

Epíkoinos

Convert French words to their epicene form

Usage

As a library

require_once __DIR__.'/vendor/autoload.php';
use Epíkoinos\Converter;
$converter = new Converter();

Convert a word

$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).

Use a custom delimiter

$converter = new Converter('-');
$converter->convertWord('étudiant'); //['étudiant-e' => ['feminine' => 'étudiante', 'masculine' => 'étudiant', 'epicene' => 'étudiant-e']]

Documentation

The complete library documentation is available at epikoinos.netlib.re/docs/.

As a web app

Epíkoinos can also be used as a web app. The official instance is hosted at epikoinos.netlib.re.

Setup

composer install
bower install

epikoinos's People

Contributors

rudloff avatar dependabot[bot] avatar hiwelo avatar

Stargazers

James avatar  avatar

Watchers

 avatar

epikoinos's Issues

Code HTML pour les lecteurs d'écrans

@hiwelo À l'oral, le HCEhf préconise ça :

Utiliser les mots et/ou adjectifs au féminin et au masculin, par ordre alphabétique dans la mesure du possible.

Exemple : lycéen.ne.s => lycéennes et lycéens

Favicon

It would be nice to have a favicon.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.