|
-
Aug 2nd, 2007, 10:04 PM
#1
Thread Starter
New Member
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.
-
Aug 3rd, 2007, 01:15 AM
#2
Re: Transliterate (convert) windows-1255 into English char
-
Aug 3rd, 2007, 01:27 AM
#3
Thread Starter
New Member
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.
-
Aug 3rd, 2007, 01:35 AM
#4
Thread Starter
New Member
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.
-
Aug 3rd, 2007, 03:53 PM
#5
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
-
Aug 3rd, 2007, 03:59 PM
#6
Thread Starter
New Member
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.
-
Aug 3rd, 2007, 05:27 PM
#7
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
-
Aug 3rd, 2007, 05:34 PM
#8
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
-
Aug 3rd, 2007, 05:46 PM
#9
Thread Starter
New Member
Re: Transliterate (convert) foreign text into English char
There are only 22 different letters in the foreign language we are talking about.
-
Aug 3rd, 2007, 06:42 PM
#10
Thread Starter
New Member
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.
 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.
-
Aug 3rd, 2007, 10:50 PM
#11
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|