A compression based toolkit for text processing
Year: 2018
Type: report
Abstract: A novel compression-based toolkit for modelling and processing sequential text is described. The design of the toolkit adopts an encoding perspective-applications are considered to be problems in searching for the best encoding of different transformations of the source text into the target text. This paper describes a two phase 'noiseless channel model' architecture that underpins the toolkit which models the text processing as a lossless communication down a noise-free channel. The transformation and encoding that is performed in the first phase must be both lossless and reversible. The role of the verification and decoding second phase is to verify the correctness of the communication of the target text that is produced by the application. This paper also argues that this encoding based approach has several advantages over the decoding based approach of the standard noisy channel model. This paper describes the toolkit's libraries whose purpose are intended to shield the user from details of the modelling and probability estimation process in order to enable different implementations of models to be replaced transparently in application programs. The design behind the toolkit is probabilistic: that is, it supplies the probability of the next symbol in the sequence. It is general enough to deal accurately with Markov-based models that include escapes for probabilities. The concepts abstracted by the toolkit's design are explained together with details of the library calls. The pseudo-code for a number of algorithms are also described for the applications that the toolkit implements including encoding, decoding, classification, training (model building), parallel sentence alignment, word segmentation and language segmentation. Some implementation details, memory usage and execution speeds are also discussed for these applications.
Author: William J. Teahan
Language: English
Subfield: Artificial Intelligence
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W2895097472
