2017 © Pedro Peláez
 

library php-synonym

PHP Synonym Utilities

image

hugsbrugs/php-synonym

PHP Synonym Utilities

  • Monday, March 13, 2017
  • by hugsbrugs
  • Repository
  • 1 Watchers
  • 2 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

php-synonym

This librairy allows one to get english and french synonyms, (*1)

Build Status, (*2)

Coverage Status, (*3)

Install

Install package with composer, (*4)

composer require hugsbrugs/php-synonym

In your PHP code, load librairy, (*5)

require_once __DIR__ . '/../vendor/autoload.php';
use Hug\Synonym\Synonym as Synonym;

Usage

Find Synonym, (*6)

Synonym::find($word, $lang = 'en');

Add other laguages

To add other languages Download your thesaurus synonym dictionnary Use one of these scripts mysql2sqlite grfiv, (*7)

./mysql2sqlite.sh thesaurus_en.sql | sqlite3 thesaurus_en.db

Unit Tests

composer exec phpunit

Author

Hugo Maugey visit my website ;), (*8)

The Versions

13/03 2017

dev-master

9999999-dev

PHP Synonym Utilities

  Sources   Download

The Development Requires