Results 1 to 11 of 11

Thread: Transliterate (convert) foreign text into English char

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2007
    Posts
    6

    Transliterate (convert) foreign text into English char

    We need guidance for converting foreign language text into English characters. We just need it in English text, even though it is gibberish. i.e (one English char represents a char in the foreign language.)

    Thanks.
    Last edited by fleet1800; Aug 3rd, 2007 at 04:05 PM.

  2. #2
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: Transliterate (convert) windows-1255 into English char

    1255 text?

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2007
    Posts
    6

    Re: Transliterate (convert) windows-1255 into English char

    Actually any foreign language text or font ...sorry if there was confusion.
    Last edited by fleet1800; Aug 3rd, 2007 at 01:44 AM.

  4. #4

    Thread Starter
    New Member
    Join Date
    Aug 2007
    Posts
    6

    Re: Transliterate (convert) foreign text into English char

    The foreign text is roughly 300,000 characters long and resides in a .txt file.
    Last edited by fleet1800; Aug 3rd, 2007 at 01:49 AM.

  5. #5
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: Transliterate (convert) foreign text into English char

    It can't be done very easily by computer. You'll need the same techniques used in text-to-speech programs to turn the foreign text into speech, then speech-to-text techniques to turn the speech into a Latin (which is what English uses) font.
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

  6. #6

    Thread Starter
    New Member
    Join Date
    Aug 2007
    Posts
    6

    Re: Transliterate (convert) foreign text into English char

    We just need one English character to represent one character of the foreign language. So we don't need it actually translated - it could look like this - fjyyiutnrtrvhtvrunmhnio. As long as one char is unique to one char of the foreign language.

  7. #7
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: Transliterate (convert) foreign text into English char

    Each character has a distinct value, and each value has a distinct character. You can display any text in any font - you don't need to translate anything.
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

  8. #8
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: Transliterate (convert) foreign text into English char

    it would be pretty complicated to represent every unicode characters with a unique alpha character, for one reason there is just too many of them and only 26 (or 52) alphas
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  9. #9

    Thread Starter
    New Member
    Join Date
    Aug 2007
    Posts
    6

    Re: Transliterate (convert) foreign text into English char

    There are only 22 different letters in the foreign language we are talking about.

  10. #10

    Thread Starter
    New Member
    Join Date
    Aug 2007
    Posts
    6

    Re: Transliterate (convert) foreign text into English char

    PLEASE CAREFULLY READ THE POSTINGS BEFORE RESPONDING. THE TEXT DOES NEED CONVERSION AND DOES NOT HAVE THE VALUES OF STANDARD ENGLISH TEXT.

    Quote Originally Posted by Al42
    Each character has a distinct value, and each value has a distinct character. You can display any text in any font - you don't need to translate anything.

  11. #11
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: Transliterate (convert) foreign text into English char

    There are only 22 different letters in the foreign language we are talking about
    you want to post a sample of the language in a text file, preferably with all characters?
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width