Skip to main content

Compiling Generalized Two-Level Rules and Grammars

  • Conference paper
Book cover Advances in Natural Language Processing (FinTAL 2006)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 4139))

Included in the following conference series:

Abstract

New methods to compile morphophonological two-level rules into finite-state machines are presented. Compilation of the original and new two-level rules and grammars is formulated using an operation called the generalized restriction that constructs a one-tape finite-state automaton over an input alphabet of symbol pairs.

The generalized restriction is first used to compile the original two-level formalism where the rules were restricted to single symbol pairs as their centers (i.e. the left-hand sides of the rules). The solution handles also strings of symbol pairs (or regular expressions over the pair alphabet) as centers of two-level rules. Then, the treatment of context conditions is generalized with unions and relative complements etc. Moreover, an extended rule type, the presence requirement, combines the generalized context conditions with center conditions at both sides of the rules. The left-hand side specifies where the rule applies and the right-hand side specifies which of the applications are successful.

The original two-level grammars were represented as a separate finite-state machine for each rule and the whole grammar as their intersection. The new methods are used first to redefine this setup, and then to implement a uniform conflict resolution scheme for all rules. The resolution scheme prefers successful and the longest embedded applications of rules, but it treats partially overlapping or explicitly independent applications of rules conjunctively. The composite rules of the original formalism have a marginal status in the new formalism because only identity pairs are allowed in locations where no rule is applicable.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Yli-Jyrä, A.M., Koskenniemi, K.: Compiling contextual restrictions on strings into finite-state automata. In: Cleophas, L., Watson, B.W., (eds.) The Eindhoven FASTAR Days, Proceedings. Number 04/40 in Computer Science Reports, Eindhoven, The Netherlands, Technische Universiteit Eindhoven (2004), http://www.ling.helsinki.fi/~aylijyra/dissertation/7.pdf

  2. Koskenniemi, K.: Two-level morphology: a general computational model for word-form recognition and production. Number 11 in Publications. Department of General Linguistics, University of Helsinki, Helsinki (1983)

    Google Scholar 

  3. Karttunen, L., Koskenniemi, K., Kaplan, R.M.: A compiler for two-level phonological rules. Report CSLI-87-108, Center for Study of Language and Information, Stanford University, CA (1987)

    Google Scholar 

  4. Karttunen, L., Beesley, K.R.: Two-level rule compiler. Technical Report ISTL-92-2, Xerox Palo Alto Research Center, 3333 Coyote Hill Road, Palo Alto, California (1992), www.xrce.xerox.com/competencies/content-analysis/fssoft/docs/twolc-92/twolc92.html

  5. Karttunen, L., Beesley, K.R.: Two-level rule compiler. An additional documentation file on the CD-ROM supplement of Beesley and Karttunen (March 5, 2003)

    Google Scholar 

  6. Beesley, K.R., Karttunen, L.: Finite State Morphology. In: CSLI Studies in Computational Linguistics. CSLI Publications, Stanford (2003)

    Google Scholar 

  7. Karttunen, L.: Constructing lexical transducers. In: Proceedings of the Conference 15th COLING 1994, Kyoto, Japan, vol. 1, pp. 406–411 (1994), http://acl.ldc.upenn.edu/C/C94/C94-1066.pdf

  8. Kaplan, R.M., Kay, M.: Regular models of phonological rule systems. Computational Linguistics 20(3), 331–378 (1994), http://acl.ldc.upenn.edu/J/J94/J94-3001.pdf

    Google Scholar 

  9. Bear, J.: A morphological recognizer with syntactic and phonological rules. In: Proceedings of the Conference 11th COLING 1986, Bonn, Germany, pp. 272–276 (1986), http://acl.ldc.upenn.edu/C/C86/C86-1065.pdf

  10. Bear, J.: Backwards phonology. In: Proceedings of the Conference 13th COLING 1990, vol. 3, pp. 13–20 (1990), http://acl.ldc.upenn.edu/C/C90/C90-3003.pdf

  11. Kempe, A., Karttunen, L.: Parallel replacement in finite state calculus. In: Proceedings of the Conference 16th COLING 1996, Copenhagen, Denmark, vol. 2, pp. 622–627 (1996), http://arxiv.org/abs/cmp-lg/9607007

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2006 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Yli-Jyrä, A., Koskenniemi, K. (2006). Compiling Generalized Two-Level Rules and Grammars. In: Salakoski, T., Ginter, F., Pyysalo, S., Pahikkala, T. (eds) Advances in Natural Language Processing. FinTAL 2006. Lecture Notes in Computer Science(), vol 4139. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11816508_19

Download citation

  • DOI: https://doi.org/10.1007/11816508_19

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-37334-6

  • Online ISBN: 978-3-540-37336-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics