Generating subtitles with controllable length using natural language processing
dc.contributor.author | Svensson, Joakim | |
dc.contributor.author | Troksch, Victor | |
dc.contributor.department | Chalmers tekniska högskola / Institutionen för data och informationsteknik | sv |
dc.contributor.examiner | Johansson, Moa | |
dc.contributor.supervisor | Johansson, Richard | |
dc.date.accessioned | 2022-06-22T06:00:01Z | |
dc.date.available | 2022-06-22T06:00:01Z | |
dc.date.issued | 2022 | sv |
dc.date.submitted | 2020 | |
dc.description.abstract | Creating subtitles for video content is a task that has traditionally been performed manually by subtitlers. When creating a subtitle, there are rules and guidelines for how the text should be presented to the viewer. Therefore, a subtitle, translated from one language to another, often contains linguistic compression in the form of paraphrasing or removing parts of the dialogues. With advances in natural language processing, subtitlers now have tools for machine translation and automated speech recognition to assist them in their work. This thesis aims to explore various methods for how to control the generated output length of a sequence-to-sequence model, which are typically used for text generation and therefore also for machine translation. We apply different modifications to both the model itself and the data to control the output. Furthermore, this project makes use of transfer learning and pre-trained models with the Transformer architecture. The length ratio method produced the best results, in which it was possible to effectively control the output length of a generated subtitle. We also discover that it was also possible to apply this method for a translation model. Although it is a relatively simple method, it produced the desired results with linguistic correctness. | sv |
dc.identifier.coursecode | DATX05 | sv |
dc.identifier.uri | https://hdl.handle.net/20.500.12380/304855 | |
dc.language.iso | eng | sv |
dc.setspec.uppsok | Technology | |
dc.subject | Natural Language Processing | sv |
dc.subject | NLP | sv |
dc.subject | Transformer | sv |
dc.subject | seq2seq | sv |
dc.subject | text generation | sv |
dc.subject | BART | sv |
dc.subject | subtitles | sv |
dc.title | Generating subtitles with controllable length using natural language processing | sv |
dc.type.degree | Examensarbete för masterexamen | sv |
dc.type.uppsok | H | |
local.programme | Computer systems and networks (MPCSN), MSc |