THE DESIGN PRINCIPLES AND ALGORITHMS OF A WEIGHTED GRAMMAR LIBRARY
AT&T Labs - Research, 180 Park Avenue, Florham Park, NJ 07932, USA
Courant Institute of Mathematical Sciences, New York University, 719 Broadway, 12th Floor, New York, NY 10003, USA
Center for Spoken Language Understanding, OGI School of Science & Engineering, Oregon Health & Science University, 20000 NW Walker Road, Beaverton, Oregon 97006, USA
We present the software design principles, algorithms, and utilities of a general weighted grammar library, the GRM Library, that can be used in a variety of applications in text, speech, and biosequence processing. Several of the algorithms and utilities of this library are described, including in some cases their pseudocodes and pointers to their use in applications. The algorithms and the utilities were designed to support a wide variety of semirings and the representation and use of large grammars and automata of several hundred million rules or transitions.


