Skip to main content

The Reactive Engine for Modular Transducers

  • Chapter

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 4060))

Abstract

This paper explains the design of the second release of the Zen toolkit [5–7]. It presents a notion of reactive engine which simulates finite-state machines represented as shared aums [8]. We show that it yields a modular interpreter for finite state machines described as local transducers. For instance, in the manner of Berry and Sethi, we define a compiler of regular expressions into a scheduler for the reactive engine, chaining through aums labeled with phases — associated with the letters of the regular expression. This gives a modular composition scheme for general finite-state machines.

Many variations of this basic idea may be put to use according to circonstances. The simplest one is when aums are reduced to dictionaries, i.e. to (minimalized) acyclic deterministic automata recognizing finite languages. Then one may proceed to adding supplementary structure to the aum algebra, namely non-determinism, loops, and transduction. Such additional choice points require fitting some additional control to the reactive engine. Further parameters are required for some functionalities. For instance, the local word access stack is handy as an argument to the output routine in the case of transducers. Internal virtual addresses demand the full local state access stack for their interpretation.

A characteristic example is provided, it gives a complete analyser for compound substantives. It is an abstraction from a modular version of the Sanskrit segmenter presented in [9]. This improved segmenter uses a regular relation condition relating the phases of morphology generation, and enforcing the correct geometry of morphemes. Thus we obtain compound nouns from iic*.(noun+iic.ifc), where iic and ifc are the respectively prefix and suffix substantival forms for compound formation.

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

Buying options

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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Antimirov, V.: Partial derivatives of regular expressions and finite automaton constructions. Theoretical Computer Science 155, 291–319 (1996)

    Article  MATH  MathSciNet  Google Scholar 

  2. Berry, G., Sethi, R.: From regular expressions to deterministic automata. Theoretical Computer Science 48, 117–126 (1986)

    Article  MATH  MathSciNet  Google Scholar 

  3. Berstel, J., Pin, J.-E.: Local languages and the Berry-Sethi algorithm. Theoretical Computer Science 155, 439–446 (1996)

    Article  MATH  MathSciNet  Google Scholar 

  4. Eilenberg, S.: Automata, Languages, and Machines, A. Academic Press, London (1974)

    MATH  Google Scholar 

  5. Huet, G.: The Zen computational linguistics toolkit. Technical report, ESSLLI Course Notes (2002), http://pauillac.inria.fr/huet/ZEN/esslli.pdf

  6. Huet, G.: The Zen computational linguistics toolkit: Lexicon structures and morphology computations using a modular functional programming language. In: Tutorial, Language Engineering Conference LEC 2002 (2002)

    Google Scholar 

  7. Huet, G.: Linear contexts and the sharing functor: Techniques for symbolic computation. In: Kamareddine, F. (ed.) Thirty Five Years of Automating Mathematics, Kluwer, Dordrecht (2003), http://pauillac.inria.fr/huet/PUBLIC/DB.pdf

    Google Scholar 

  8. Huet, G.: Automata mista. In: Dershowitz, N. (ed.) Verification: Theory and Practice. LNCS, vol. 2772, pp. 359–372. Springer, Heidelberg (2004), http://pauillac.inria.fr/huet/PUBLIC/zohar.pdf

    Google Scholar 

  9. Huet, G.: A functional toolkit for morphological and phonological processing, application to a Sanskrit tagger. J. Functional Programming 15(4), 573–614 (2005), http://pauillac.inria.fr/huet/PUBLIC/tagger.pdf

    Article  MATH  Google Scholar 

  10. Roche, E., Schabes, Y.: Finite-State Language Processing. MIT Press, Cambridge (1997)

    Google Scholar 

  11. Sproat, R.: Morphology and Computation. MIT Press, Cambridge (1992)

    Google Scholar 

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 chapter

Cite this chapter

Huet, G., Razet, B. (2006). The Reactive Engine for Modular Transducers. In: Futatsugi, K., Jouannaud, JP., Meseguer, J. (eds) Algebra, Meaning, and Computation. Lecture Notes in Computer Science, vol 4060. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11780274_19

Download citation

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

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-35462-8

  • Online ISBN: 978-3-540-35464-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics