You are here: Re: Dictionary principle « PHP Programming Language « IT news, forums, messages
Re: Dictionary principle

Posted by Jerry Stuckle on 09/28/46 11:37

Berimor wrote:
> Hey guys,
>
> has anybody scripted online translators?
> I got the task to build one but it should traslate big pieces of text
> at once - up to 5000 words!!! Traslation is simple - just words replacing.
> How to create dictionary correct - DB based or file with plain text?
> I'm searching the way to gain as much speed as possible. I realise -
> (not sure) that most convinient would be to read all dictionary into
> the hash (native => alien) and then change the words on-fly. But what
> if the dictionary is too big to fit server's RAM? So i'm not sure about
> this method.
>
> Any ideas?
>
>
>
>

No, translation is NOT simple. It's a lot more than just word
replacement. You need to look at the syntax rules, idioms, and even the
different definitions for a single word.

In fact, there's so much to it even the best programmers haven't come up
with a decent translator after years of trying and improving.

For instance - translating your text above to French and back to English
gives:

whoever has the translators in line préétablirs? I obtained to give the
responsability it to build one but him if the traslate of great pieces
of text immediately - up to 5000 words! ! ! Traslation is simple -
replacement right of words. How to create the correct dictionary - dB
based or file with the flat text? I seek the manner of gaining speed
like possible as much. I realize - (nonsure) which convinient are to
read all the dictionary in parasitic information (native = foreign) and
to change the words then flies over. But what if the dictionary is too
large to adapt the RAM of the waiter? Thus I am not sure about this method.


Other languages are worse.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация