Jump to content

Help translating from Cambridge


mohamad
 Share

Go to solution Solved by Bert,

Recommended Posts

Automatic translation from dictionary.cambridge.org/ help please

what do i need to know? is there a tutorial for web automation?

and winhttprequest? Should i learn http?

 

Edited:Case closed,don't need help anymore.

Edited by mohamad
Link to comment
Share on other sites

ummm...no for several reasons

1. We teach how to fish, not give fish

2. Your request makes no sense. Translate to what?

3. what have you tried already? so far nothing....

translate from english to arabic ,and english to english,i want a function that takes a string and return an array of all definitions of the word,

its not as if didnt try to start coding it, didnt understand how web automation works,and didn't understand winhttprequest.

if possible provide me with links to detailed tutorials of what i need to know to start coding.for example i dont know whether i should learn http or not.

*I preffer to do it myself

Edited by mohamad
Link to comment
Share on other sites

Ok, I can see the site and the specific page your referencing:

http://dictionary.cambridge.org/us/dictionary/english-arabic/

I can see what you want to do but I'm not clear on the purpose. For example, are you reading a word document and need to translate it? Are you looking at a website and need to translate specific words? The reason I ask is you need to know the source of the string before you can translate it. If a word doc then there are tools for that. IF a webpage then a different route can be taken. Make sense?

Link to comment
Share on other sites

Ok, I can see the site and the specific page your referencing:

http://dictionary.cambridge.org/us/dictionary/english-arabic/

I can see what you want to do but I'm not clear on the purpose. For example, are you reading a word document and need to translate it? Are you looking at a website and need to translate specific words? The reason I ask is you need to know the source of the string before you can translate it. If a word doc then there are tools for that. IF a webpage then a different route can be taken. Make sense?

umm ,reading a book and need to translate specific words,so a word doc

Edited by mohamad
Link to comment
Share on other sites

Thanks for helping, i make it hard to help dont i.I want to capture the text from text file ,not a web page ,i hope i answered your correctly this time,the hard part is to auto translate the word from the website Cambridge.

i dont care about capturing the text really,i want something like this

Local $string="Hello"
.....
....
.....


$translation[0]="أهلاً وسَهْلاً / مَرْحَباً"
$translation[1]="ألو"

this is the only part that i want.

Edited by mohamad
Link to comment
Share on other sites

Would this approach on how you want it to work do?

1. you highlight the word you want to translate.

2. You press a key on your keyboard such as F9 or F10 and the word you highlighted is copied to the clipboard

3. The website: http://dictionary.cambridge.org/us/dictionary/english-arabic/ is accessed and the word translated from the data in the clipboard.

4. You can either: The translation is copied to the clipboard so you can paste the data to anything you want.

       OR

    The data is put into a database or spreadsheet like Excel.

Edited by DarthCookieMonster
Link to comment
Share on other sites

Would this approach on how you want it to work do?

1. you highlight the word you want to translate.

2. You press a key on your keyboard such as F9 or F10 and the word you highlighted is copied to the clipboard

3. The website: http://dictionary.cambridge.org/us/dictionary/english-arabic/ is accessed and the word translated from the data in the clipboard.

4. You can either: The translation is copied to the clipboard so you can paste the data to anything you want.

       OR

    The data is put into a database or spreadsheet like Excel.

that would be wonderful,4. do what ever u want both work great.

Edited: its important for me to get all the translations that exist of a word, not only the first one.so i think copying to clipboard may not work

take your time. :)

Edited by mohamad
Link to comment
Share on other sites

you didn't answering my question. Ok, you got it in the Excel file. Now what are you going to do with the excel file? That is what I need to know.

put the english word in excel file and put the translation in arabic next to the word.

Edited by mohamad
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...