PHP Classes

EDictionary: Translate text between languages in multiple sites

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-11 (8 months ago) RSS 2.0 feedNot enough user ratingsTotal: 335 All time: 7,107 This week: 74Up
Version License PHP version Categories
edictionary 0.11MIT/X Consortium ...5.2Localization, PHP 5, Web services
Description 

Author

This package can translate text between languages in multiple sites.

It takes as arguments a text to translate, the original language of the text and target language of the translation.

The main class forwards the translation request to one of several possible adapter classes that send the actual request to a translation site.

Currently it support translating texts using the sites AbbyyLingo and Yandex.Dictionary.

Picture of Ivan
Name: Ivan <contact>
Classes: 1 package by
Country: Russian Federation Russian Federation
Age: ???
All time rank: 3737107 in Russian Federation Russian Federation
Week rank: 180 Up9 in Russian Federation Russian Federation Up

Details

EDictionary (PHP) =========== PHP module to translate words from one language into another. It consists of manager unit and set of adapters which work with online dictionaries. Current version (0.2) supports online translating systems: - AbbyyLingo translating system (http://lingvopro.abbyyonline.com/en) - Yandex.Dictionary dictionary system (http://slovari.yandex.ru/) This module uses 'simple_html_dom' PHP library. Some version of it goes with Edictionary in '/lib' folder. For new version look at http://sourceforge.net/projects/simplehtmldom/ See examples in 'example.php' script.

  Files folder image Files (7)  
File Role Description
Files folder imageadapters (3 files)
Files folder imagelib (1 file)
Plain text file EDictionary.php Class Manager class that starts translating and returns result
Accessible without login Plain text file example.php Example Example for the module
Accessible without login Plain text file README.md Data Auxiliary data

  Files folder image Files (7)  /  adapters  
File Role Description
  Plain text file ETAdapterAbbyyLingvo.php Class Adapter to tarnslate words eith AbbyyLingvo
  Plain text file ETAdapterAbstract.php Class Abstract class for building translation adapters. We use adapters to communicate with online services
  Plain text file ETAdapterYandexDict.php Class Adapter to translate words with Yandex.Dictionary system

  Files folder image Files (7)  /  lib  
File Role Description
  Accessible without login Plain text file simple_html_dom.php Aux. Helper library to operate with DOM. Look for the authors inside this file

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:335
This week:0
All time:7,107
This week:74Up