Hostname: page-component-74656f9884-8rzl6 Total loading time: 0 Render date: 2026-11-06T09:54:37.798Z Has data issue: false hasContentIssue false

How to tag non-standard language: Normalisation versus domain adaptation for Slovene historical and user-generated texts

Published online by Cambridge University Press:  09 September 2019

Katja Zupan*
Affiliation:
Department of Knowledge Technologies, Jožef Stefan Institute, Jamova cesta 39, 1000 Ljubljana, Slovenia Jožef Stefan International Postgraduate School, Jamova cesta 39, 1000 Ljubljana, Slovenia
Nikola Ljubešić
Affiliation:
Department of Knowledge Technologies, Jožef Stefan Institute, Jamova cesta 39, 1000 Ljubljana, Slovenia Faculty of Computer and Information Science, University of Ljubljana, Večna pot 113, 1000 Ljubljana, Slovenia
Tomaž Erjavec
Affiliation:
Department of Knowledge Technologies, Jožef Stefan Institute, Jamova cesta 39, 1000 Ljubljana, Slovenia Jožef Stefan International Postgraduate School, Jamova cesta 39, 1000 Ljubljana, Slovenia
*
*Corresponding author. Email: nikola.ljubesic@ijs.si
Rights & Permissions [Opens in a new window]

Abstract

Part-of-speech (PoS) tagging of non-standard language with models developed for standard language is known to suffer from a significant decrease in accuracy. Two methods are typically used to improve it: word normalisation, which decreases the out-of-vocabulary rate of the PoS tagger, and domain adaptation where the tagger is made aware of the non-standard language variation, either through supervision via non-standard data being added to the tagger’s training set, or via distributional information calculated from raw texts. This paper investigates the two approaches, normalisation and domain adaptation, on carefully constructed data sets encompassing historical and user-generated Slovene texts, in particular focusing on the amount of labour necessary to produce the manually annotated data sets for each approach and comparing the resulting PoS accuracy. We give quantitative as well as qualitative analyses of the tagger performance in various settings, showing that on our data set closed and open class words exhibit significantly different behaviours, and that even small inconsistencies in the PoS tags in the data have an impact on the accuracy. We also show that to improve tagging accuracy, it is best to concentrate on obtaining manually annotated normalisation training data for short annotation campaigns, while manually producing in-domain training sets for PoS tagging is better when a more substantial annotation campaign can be undertaken. Finally, unsupervised adaptation via Brown clustering is similarly useful regardless of the size of the training data available, but improvements tend to be bigger when adaptation is performed via in-domain tagging data.

Figure 0

Figure 1. Encoding of the normalised corpora. The first goo300k example maps ‘jagod nar več bolnih’ to ‘jagod največ bolnih, while the second from Janes-Tag maps ‘@chatek Nene, ’ to ‘@chatek ne ne, ’.

Figure 1

Table 1. Sizes and normalisation difficulty of the data sets

Figure 2

Table 2. Baseline results on the PoS tagging task when trained on train and tested on test. Reported are the number of Brown clusters that gave the best performance, PoS tagging accuracy, the increase in error against the performance on standard data, and the relative and absolute error reduction when Brown clusters are used

Figure 3

Table 3. Normalisation evaluation on the three data sets. Given is the accuracy of the dummy baseline, the normalisation, and the relative and absolute error reduction obtained by normalisation

Figure 4

Table 4. Tagging evaluation on the three data sets without or with using Brown clusters, using no normalisation (Tag.), using automatic normalisation (Norm.) and using gold normalisation (Norm. gold), with relative error reduction (Err. red. rel.) between the Tag. and the Norm. result

Figure 5

Table 5. Tagging evaluation on the three data sets varying in the use of Brown clusters (Brown) and comparing the baseline system relying on standard training data (Tag.), the system performing normalisation before tagging (Norm.), using only in-domain training data (Domain) and using general- and in-domain data for training in a ratio of 1:1 (Mixed)

Figure 6

Table 6. Measurements of annotation time investment on the three data sets. We report absolute time in minutes for the normalisation and tagging tasks, and the relative time in seconds per token

Figure 7

Figure 2. Tagging accuracy as a function of the amount of time invested in producing a specific type of supervision on the Bohorič data set.

Figure 8

Figure 3. Tagging accuracy as a function of the amount of time invested in producing a specific type of supervision on the Gaj data set.

Figure 9

Figure 4. Tagging accuracy as a function of the amount of time invested in producing a specific type of supervision on the Twitter data set.