PHP Classes

EDictionary: Translate text between languages in multiple sites

Recommend this page to a friend!
  Info   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-11 (2 months ago) RSS 2.0 feedNot enough user ratingsTotal: 333 This week: 1All time: 7,120 This week: 560Up
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: 3739107 in Russian Federation Russian Federation
Week rank: 411 Up22 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  
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  /  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  /  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

 Version Control Unique User Downloads Download Rankings  
 100%
Total:333
This week:1
All time:7,120
This week:560Up