A Question of Style: A Dataset for Analyzing Formality on Different Levels
Elisabeth Eder, Ulrike Krieg-Holz, Michael Wiegand · 2023
Accounting for different degrees of formality is crucial for producing contextually appropriate language.To assist NLP applications concerned with this problem and formality analysis in general, we present the first dataset of sentences from a wide range of genres assessed on a continuous informal-formal scale via comparative judgments.It is the first corpus with a comprehensive perspective on German sentence-level formality overall.We compare machine learning models for formality scoring, a task we treat as a regression problem, on our dataset.Finally, we investigate the relation between sentence-and document-level formality and evaluate leveraging sentence-based annotations for assessing formality on documents.