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

Named-entity recognition in Turkish legal texts

Published online by Cambridge University Press:  11 July 2022

Can Çetindağ
Affiliation:
Department of Electrical and Electronics Engineering, Bilkent University, Ankara, Turkey National Magnetic Resonance Research Center (UMRAM), Bilkent University, Ankara, Turkey
Berkay Yazıcıoğlu
Affiliation:
Department of Electrical and Electronics Engineering, Bilkent University, Ankara, Turkey National Magnetic Resonance Research Center (UMRAM), Bilkent University, Ankara, Turkey
Aykut Koç*
Affiliation:
Department of Electrical and Electronics Engineering, Bilkent University, Ankara, Turkey National Magnetic Resonance Research Center (UMRAM), Bilkent University, Ankara, Turkey
*
*Corresponding author. E-mail: aykut.koc@bilkent.edu.tr
Rights & Permissions [Opens in a new window]

Abstract

Natural language processing (NLP) technologies and applications in legal text processing are gaining momentum. Being one of the most prominent tasks in NLP, named-entity recognition (NER) can substantiate a great convenience for NLP in law due to the variety of named entities in the legal domain and their accentuated importance in legal documents. However, domain-specific NER models in the legal domain are not well studied. We present a NER model for Turkish legal texts with a custom-made corpus as well as several NER architectures based on conditional random fields and bidirectional long-short-term memories (BiLSTMs) to address the task. We also study several combinations of different word embeddings consisting of GloVe, Morph2Vec, and neural network-based character feature extraction techniques either with BiLSTM or convolutional neural networks. We report 92.27% F1 score with a hybrid word representation of GloVe and Morph2Vec with character-level features extracted with BiLSTM. Being an agglutinative language, the morphological structure of Turkish is also considered. To the best of our knowledge, our work is the first legal domain-specific NER study in Turkish and also the first study for an agglutinative language in the legal domain. Thus, our work can also have implications beyond the Turkish language.

Information

Type
Article
Copyright
© The Author(s), 2022. Published by Cambridge University Press
Figure 0

Table 1. Named-entity tags in the legal domain

Figure 1

Table 2. Example sentence for IOB scheme

Figure 2

Table 3. Named-entity distribution for the training and test sets

Figure 3

Figure 1. A single LSTM unit.

Figure 4

Figure 2. Word representation models.

Figure 5

Table 4. Word representation combinations and their dimensions used in experiments

Figure 6

Figure 3. LSTM-CRF model. CS stands for a single unit of CRF.

Figure 7

Figure 4. LLC model. CS stands for a single unit of CRF.

Figure 8

Figure 5. CLC model. CS stands for a single unit of CRF.

Figure 9

Table 5. GloVe as the selected word embedding (all metrics are given in percentages.)

Figure 10

Table 6. Morph2Vec as the selected word embedding (all metrics are given in percentages.)

Figure 11

Table 7. Hybrid word embeddings as the selected word embeddings (all metrics are given in percentages.)

Figure 12

Table 8. Overall best results for each model and word embedding. All metrics are given in percentages

Figure 13

Table 9. General entity count statistics of the test set

Figure 14

Figure 6. K-fold cross validation results.

Figure 15

Table 10. Statistical significance of the experimental results presented in Table 8. “+” for p-value $< 0.05$, “–” otherwise

Figure 16

Table 11. Example test sentences

Figure 17

Table 12. Sentence 1 prediction comparison

Figure 18

Table 13. Sentence 2 prediction comparison

Figure 19

Table 14. Properties of corpora used in comparisons

Figure 20

Table 15. Comparison of the performance of our approach with other NER corpora