Pattern Recognition and Image Analysis Компьютерное зрение и распознавание образов
Impact of Tokenization on Evaluation of Neural Syntactic Parsing
Аннотация
Abstract Syntactic parsers are used as an auxiliary tool in various areas of Natural Language Processing. Therefore, important areas of research are the development of criteria for selecting a syntactic parser for a specific application problem and a methodology for evaluating the quality of a syntactic parser. The tokenization stage affects the quality evaluation of the syntactic parser. There are two ways to evaluate a syntactic parser: using the built-in tokenizer and using a tokenizer that returns gold markup. This paper has been devoted to the comparison of these methods of evaluating the quality of syntactic parsing. The study has been performed using Russian-language sentence corpora with the syntactic markup SynTagRus, GSD, PUD, Taiga, Poetry and for the Russian-language syntactic parsers UDPipe, Stanza, Natasha, DeepPavlov, and spacy. It has been found that for a significant number of sentences, the tokenization performed by the built-in tokenizer differs from the gold one. It has also been found that the average values of the UAS and LAS metrics are higher when using a tokenizer that returns gold markup. The developed methodology for describing token categories can be used to check the quality of syntactic parsing when implementing a new tokenizer. As part of this study, a tokenizer has been implemented for each of the considered parsers, returning a gold set of tokens from the dataset. The implementation of the study is available at: https://github.com/Derinhelm/parser_stat/tree/tokenization_changing .