Patrick Nanys

h-index1
2papers
1citation

2 Papers

0.9CLJul 13, 2023Code
Data Augmentation for Machine Translation via Dependency Subtree Swapping

Attila Nagy, Dorina Petra Lakatos, Botond Barta et al.

We present a generic framework for data augmentation via dependency subtree swapping that is applicable to machine translation. We extract corresponding subtrees from the dependency parse trees of the source and target sentences and swap these across bisentences to create augmented samples. We perform thorough filtering based on graphbased similarities of the dependency trees and additional heuristics to ensure that extracted subtrees correspond to the same meaning. We conduct resource-constrained experiments on 4 language pairs in both directions using the IWSLT text translation datasets and the Hunglish2 corpus. The results demonstrate consistent improvements in BLEU score over our baseline models in 3 out of 4 language pairs. Our code is available on GitHub.

0.6CLJan 18, 2022Code
Syntax-based data augmentation for Hungarian-English machine translation

Attila Nagy, Patrick Nanys, Balázs Frey Konrád et al.

We train Transformer-based neural machine translation models for Hungarian-English and English-Hungarian using the Hunglish2 corpus. Our best models achieve a BLEU score of 40.0 on HungarianEnglish and 33.4 on English-Hungarian. Furthermore, we present results on an ongoing work about syntax-based augmentation for neural machine translation. Both our code and models are publicly available.