Our websites use cookies. By continuing, you agree to their use. See details
Japanese to English Translator | Portfolium
Japanese to English Translator
favorite 1
visibility 1,792
June 4, 2015 in Coding
1 / 5
In final project of Theory of Computing Class in CSUSM, we wrote a simple translator in C++, which only scans and parses words, so I planed to add improvement to it. It took me 5 hours to make this translator actually work well. Structure of this translator is similar to that of an actual compiler of programming languages. The compiler converts high-level language to assembly code or to machine code, and it detect syntax and semantic errors by using scanner and parser. Similarly, by using scanner, this translator detects whether a given input is Japanese or not. If not, display an semantic error. If they are Japanese, it in turn parses the given words to check for its grammar. If the grammar is incorrect, it displays a syntax error and it suggests which part of given input is incorrect. If there is no problem, then it translates into English.
© 2025 • All content within this project is strictly the property of Ryo Atsuta and is not for public use without permission. Report Abuse
Ryo Atsuta

1 Skill

3 Tags

1 Likers

Sara Kramer