A Hybrid Transformer-Based System for Multilingual Translation with Domain-Specific Terminology Explanation
DOI:
https://doi.org/10.34148/teknika.v15i2.1506Keywords:
Machine Translation, Transformer Models, MarianMT, Sentence-Bert, Domain-Specific Terminology, Multilingual NLPAbstract
Communication across languages becomes particularly challenging when specialized terminology is involved because literal translations often fail to convey the precise meanings essential in professional contexts. Current translation systems have problems with translating technical terms from specific domains like law, medicine, or finance, such that they generate translations that lack explanations of what technical terms actually mean. This creates significant problems in professional settings where misunderstanding specialized vocabulary can have serious consequences. This research developed a hybrid transformer-based system that addresses these limitations by translating specialized terminology across legal, medical, and financial domains while providing contextual explanations in the target language. The system used two transformer models: Sentence-BERT to detect special terms and MarianMT to translate. Data collection involved extracting 7,100 specialized terms with definitions from authoritative sources, alongside 70,000 parallel sentence pairs for each of three language pairs: English-Spanish, English-French, and English-German. The CRISP-DM framework was used for development from problem definition to deployment. The English-Spanish model achieved 59.26 BLEU, English-French achieved 38.76 BLEU, and English-German achieved 25.68 BLEU. Term extraction achieved 92.8-96.5% average accuracy across domains, with perfect performance on exact matches and 79-94% accuracy on misspelled or incomplete terms.
Downloads
References
[1] G. R. Vlasyan, O. D. Pastukhova, and V. A. Shusharina, "On hedging and mitigation in the speeches of Boris Johnson," in Proc. European Conf. Social & Behavioural Sciences, 2020, pp. 185-194.
[2] W. R. Leben, "Languages of the world," Oxford Research Encyclopedia of Linguistics, 2016. doi: 10.1093/acrefore/9780199384655.013.349
[3] P. Koehn, Neural Machine Translation. Cambridge: Cambridge University Press, 2020.
[4] S. Sharma et al., "Machine translation systems based on classical-statistical-deep-learning approaches," Electronics, vol. 12, no. 7, p. 1716, 2023.
[5] D. Bahdanau, K. Cho, and Y. Bengio, "Neural machine translation by jointly learning to align and translate," arXiv:1409.0473, 2014.
[6] A. Vaswani et al., "Attention is all you need," in Advances in Neural Information Processing Systems, 2017.
[7] M. Junczys-Dowmunt et al., "Marian: Fast neural machine translation in C++," arXiv:1804.00344, 2018.
[8] C. Raffel et al., "Exploring the limits of transfer learning with a unified text-to-text transformer," arXiv:1910.10683, 2019.
[9] P. Naveen and P. Trojovský, "Overview and challenges of machine translation for contextually appropriate translations," iScience, vol. 27, no. 10, p. 110878, 2024.
[10] P. Sebo and S. De Lucia, "Performance of machine translators in translating French medical research abstracts to English," PLoS ONE, vol. 19, no. 2, e0297183, 2024.
[11] N. Reimers and I. Gurevych, "Sentence-BERT: Sentence embeddings using siamese BERT-networks," arXiv:1908.10084, 2019.
[12] M. Müller, A. Rios, and R. Sennrich, "Domain robustness in neural machine translation," arXiv:1911.03109, 2019.
[13] S. Agrawal, C. Zhou, M. Lewis, L. Zettlemoyer, and M. Ghazvininejad, "In-context examples selection for machine translation," arXiv:2212.02437, 2022.
[14] U. Khandelwal, A. Fan, D. Jurafsky, L. Zettlemoyer, and M. Lewis, "Nearest neighbor machine translation," arXiv:2010.00710, 2020.
[15] E. A. Alghamdi, J. Zakraoui, and F. A. Abanmy, "Domain adaptation for Arabic machine translation: Financial texts as a case study," Applied Sciences, vol. 14, no. 16, p. 7088, 2024.
[16] N. Limsopatham and N. Collier, "Normalising medical concepts in social media texts by learning semantic representation," in Proc. ACL, 2016.
[17] J. Zeng et al., "Multi-domain neural machine translation with word-level domain context discrimination," in Proc. EMNLP, 2018.
[18] S. Poudel, B. K. Bal, and P. Acharya, "Bidirectional English-Nepali machine translation system for legal domain," in Proc. SIGUL, ACL Anthology, 2024.
[19] R. Pierce, W. Charlton, and C. Murphey, Eds., Handbook of Legal Terminology, 4th ed. University, MS, USA: Mississippi Judicial College, University of Mississippi, 2020.
[20] Merriam-Webster, Merriam-Webster's Medical Dictionary, 3rd ed. Merriam-Webster, 2008.
[21] International Bank for Reconstruction and Development/The World Bank, World Bank Glossary of Finance and Debt. The World Bank, 1991.
[22] Financial Glossary. San Francisco, CA, USA: City College of San Francisco, [Online]. Available: https://www.ccsf.edu/sites/default/files/2024/document/financial-glossary.pdf. [Accessed: May 10, 2026]
[23] K. Papineni, S. Roukos, T. Ward, and W. Zhu, "BLEU: A method for automatic evaluation of machine translation," in Proc. ACL, 2002.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Teknika

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.















