Hi,
I need a help. I have to make an application the separates and identifies different languages of text and puts them in separate files. please help me how i can do that?
Printable View
Hi,
I need a help. I have to make an application the separates and identifies different languages of text and puts them in separate files. please help me how i can do that?
Just make a list of every possible word in every language that you are working with, and put it all in a For loop.
:afrog:
If it would be word doc's he could use the language properity. That could be manipulated, but is's easier.
hey opus, how can i do using word doc, bcoz my txt file can also be saved in .doc extension. please let me know that.
In word you can set the language of your text (or better for each word) using Extra/Language.
The get that info, you could use for a selected word
But the user can set this language to what he wants, so it can be set for a different language. I don't think a text-file does hold this info.VB Code:
Selection.LanguageID
Thank you very much it worked. I need another small help. when i am opening a word document, the complete MS WORD application is starting, can i do that with out opening the MS WORD application. what is the syntax?
Thanks in advance...
No, word has to be running to use that, but Word could be running in background (not seen on the screen). Would that be OK?
Yes, that would be great. if word is running at the back ground, but not visible. i think we can do with property
visible:=False
this property some time works some times it doesnot. I have new problem.
I have used MS WORD 10.0 OBJECT LIBRARY to detect different languages in a text file. it is working fine with spanish. but for other languages, it is worst. At some places it is detecting correctly and at others it is not. But when i open the same text file in MS WORD, MS WORD is able to detect the language correctly.
CAN ANY ONE HELP ME IN THIS
i AM ATTACHING THE CODE... IF SOME ONE IS ABLE TO FIGURE THE PROBLEM OUT, I WOULD BE MUCH THANKFUL