html5-img
1 / 9

Transparent Translator

Transparent Translator. Maryam Kamvar JP Fall ‘00. Objective. Idea stemmed from frustrations with doing research for French class Create a layer of software that aids in the comprehension of the French Language Essentially, pop-up translation of text hi-lighted by the user. Game Plan.

idana
Télécharger la présentation

Transparent Translator

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Transparent Translator Maryam Kamvar JP Fall ‘00

  2. Objective • Idea stemmed from frustrations with doing research for French class • Create a layer of software that aids in the comprehension of the French Language • Essentially, pop-up translation of text hi-lighted by the user

  3. Game Plan • Create a standalone version of software • Modify and upgrade to incorporate the internet • Language of Choice:Visual Basic/ Visual Basic Script

  4. The Stand-Alone Version

  5. The Macro • Hi-lighted text is grabbed upon click • Word is appended to a URL • Online Cgi Dictionary is called • Source code of the page is returned • Source code string is parsed • Definition is shown

  6. The Troublesome Transition Browser Word Doc Translator

  7. What worked • Not the original, or most intuitive plan… 2 reasons for the dummy frame. GO button calls cgi perl program Powered by Javascript: timer and automatic reload Source code of user-entered URL plus hidden VB Script Code Button triggers action instead of Mouse up event

  8. The Cgi/Perl Program • Gets the URL entered by the user • Opens a connection with the homepage and grabs source code. • Appends VB script code to the HTML • “New” Page written to main frame

  9. The Future for my JP • Use a more sophisticated translator for phrases and paragraphs • This entails trick interface into submitting a form • Give user choice of language translation, both from and to.

More Related