تفاصيل العمل

The Technical Journey

Phase 1: Data Extraction (The "Eye" of the Program) We used the PyPDF2 library to bypass the manual work of copying text. The program opens the PDF, iterates through the pages, and pulls out the raw text.

Phase 2: Intelligent Filtering (The "Brain") A raw PDF contains thousands of useless words (like "the", "is", "of"). We programmed a filter to identify Technical Terms based on character length and alphabetic properties. This ensures you are tested on words like Outcomes or Diagnosis rather than simple prepositions.

Phase 3: Real-time Translation (The "Linguist") By integrating the deep-translator API, the program connects to global translation engines. This allows it to fetch the most accurate Arabic equivalent for any English term found in your file.

Phase 4: Solving "Path" Errors (The UI Fix) Initially, we faced "File Not Found" errors due to complex Windows directory paths. I solved this by implementing a Graphical File Browser using tkinter. This allows you to simply "click and pick" your file, making the program user-friendly.

Phase 5: Synonym & Flexibility Logic (The Final Polish) I noticed that some words have multiple meanings (e.g., Outcomes = نتائج or مخرجات). We upgraded the logic to a "Flexible Matching" system that checks for synonyms, ensuring the program doesn't unfairly mark a correct answer as "Wrong."

بطاقة العمل

اسم المستقل
عدد الإعجابات
0
عدد المشاهدات
1
تاريخ الإضافة
تاريخ الإنجاز
المهارات