Hostname: page-component-74656f9884-npj9w Total loading time: 0 Render date: 2026-11-07T07:52:38.356Z Has data issue: false hasContentIssue false

Syntactic error detection and correction in date expressions using finite-state transducers

Published online by Cambridge University Press:  21 March 2011

ARANTZA DÍAZ DE ILARRAZA
Affiliation:
Department of Computer Languages and Systems, University of the Basque CountryP.O. box 649, E-20080 Donostia, the Basque Country, Spain emails: a.diazdeilarraza@ehu.es, koldo.gojenola@ehu.es, maite.oronoz@ehu.es, i.alegria@ehu.es
KOLDO GOJENOLA
Affiliation:
Department of Computer Languages and Systems, University of the Basque CountryP.O. box 649, E-20080 Donostia, the Basque Country, Spain emails: a.diazdeilarraza@ehu.es, koldo.gojenola@ehu.es, maite.oronoz@ehu.es, i.alegria@ehu.es
MAITE ORONOZ
Affiliation:
Department of Computer Languages and Systems, University of the Basque CountryP.O. box 649, E-20080 Donostia, the Basque Country, Spain emails: a.diazdeilarraza@ehu.es, koldo.gojenola@ehu.es, maite.oronoz@ehu.es, i.alegria@ehu.es
IÑAKI ALEGRIA
Affiliation:
Department of Computer Languages and Systems, University of the Basque CountryP.O. box 649, E-20080 Donostia, the Basque Country, Spain emails: a.diazdeilarraza@ehu.es, koldo.gojenola@ehu.es, maite.oronoz@ehu.es, i.alegria@ehu.es
Rights & Permissions [Opens in a new window]

Abstract

This paper presents a set of experiments for the detection and correction of syntactic errors, exploring two alternative approaches. The first one uses an error grammar which combines a robust morphosyntactic analyser and two groups of finite-state transducers (one for the description of syntactic error patterns and the other for the correction of the detected errors). We have also experimented an alternative approach using a positive date grammar where deviations are detected by applying edit-distance techniques. The system has been tested on a corpus of real texts which contained both correct and incorrect sentences. Although the experiment was limited to one language, the results show that attainable performance is not the only criterion for preferring one solution over another.

Information

Type
Papers
Copyright
Copyright © Cambridge University Press 2011
Figure 0

Table 1. Most frequent error types in dates (errors marked in brackets)

Figure 1

Fig. 1. Morphosyntactic analysis and disambiguation.

Figure 2

Fig. 2. General architecture of the system.

Figure 3

Fig. 3. Format of a valid date expression.

Figure 4

Fig. 4. List of the main fst operators.

Figure 5

Fig. 5. Regular expressions and relations for an error pattern.

Figure 6

Fig. 6. Regular relations for date generation.

Figure 7

Fig. 7. Regular relations for date identification.

Figure 8

Fig. 8. Enforcing case agreement.

Figure 9

Fig. 9. Matrix for defining the minimum edit-distance costs.

Figure 10

Table 2. Test data

Figure 11

Table 3. Evaluation results (error pattern grammar)

Figure 12

Fig. 10. False alarm. The unknown word Primakov is interpreted as locative.

Figure 13

Table 4. Size of the implemented transducers for error detection

Figure 14

Table 5. Size of the finite state machines for date generation and recognition