[Mova](https://md.mova.elamur.ai/free/en/) · [this page in HTML](https://mova.elamur.ai/free/en/docs/papers/gontrum-2017-alto-rapid-prototyping-parsing-translation/)

[home](https://md.mova.elamur.ai/free/en/) / [docs](https://md.mova.elamur.ai/free/en/docs/) / [papers](https://md.mova.elamur.ai/free/en/docs/papers/) / [Machine translation](https://md.mova.elamur.ai/free/en/docs/papers/mtrans/) / Alto: Rapid Prototyping for Parsing and Translation

# Alto: Rapid Prototyping for Parsing and Translation

**Authors:** Johannes Gontrum, Jonas Groschwitz, [Alexander Koller](https://md.mova.elamur.ai/free/en/docs/papers/authors/alexander-koller/), [Christoph Teichmann](https://md.mova.elamur.ai/free/en/docs/papers/authors/christoph-teichmann/) · **Year:** 2017 · **Venue:** Proceedings of the Software Demonstrations of the 15th Conference of the European Chapter of the ACL (EACL) **Link:** [aclanthology.org/E17-3008](https://aclanthology.org/E17-3008/) · **Licence:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

[**12** citations](https://openalex.org/works?filter=cites:W2741852514) openalex · 2026-10-19[**6** citations in our library](https://md.mova.elamur.ai/free/en/docs/papers/cited-by/gontrum-2017-alto-rapid-prototyping-parsing-translation/) of the 140673 papers whose bibliographies we read[Proceedings of the Software Demonstrations of the 15th Conference of the European Chapter of the Association for Computational Linguistics](https://aclanthology.org/volumes/E17-3/)[licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/E17-3008/)
- [PDF](https://aclanthology.org/E17-3008.pdf)
- [DOI 10.18653/v1/e17-3008](https://doi.org/10.18653/v1/e17-3008)
- [OpenAlex](https://openalex.org/W2741852514)

**Authors (4)**

1. [Johannes Gontrum](https://openalex.org/A5086479627) [Semantic Scholar](https://www.semanticscholar.org/author/22388629) · h 3 · 76 citations · 5 works
2. [Jonas Groschwitz](https://openalex.org/A5065101966) [ORCID](https://orcid.org/0000-0002-0903-9716) · [Semantic Scholar](https://www.semanticscholar.org/author/2960997) · h 7 · 252 citations · 33 works
3. [Alexander Koller](https://openalex.org/A5088112892) [ORCID](https://orcid.org/0000-0002-5317-6689) · [Semantic Scholar](https://www.semanticscholar.org/author/145542037) · h 28 · 3304 citations · 239 works
4. Christoph Teichmann [Semantic Scholar](https://www.semanticscholar.org/author/34711409)

Citations and author metrics from openalex (2026-10-19); authors with the same name are not always told apart.

## What it is about

Alto is an open-source toolkit for grammar formalisms. It is built on Interpreted Regular Tree Grammars (IRTGs). A regular tree grammar produces derivation trees, and each interpretation maps a derivation tree through a homomorphism into a term over an algebra, such as strings or graphs. The same derivation can therefore give a string, a graph, or both, and a synchronous grammar is one IRTG with two interpretations. The toolkit implements generic algorithms: binarisation, parse charts, best and k-best derivations, EM and log-linear training, and decoding from one interpretation into another. A new formalism needs only a new algebra with its decomposition operation, and the generic algorithms apply to it. The implementations are lazy, so rules are computed only when needed. The paper is a tool description, with an example of a string-to-graph grammar; it reports no accuracy numbers.

## Ideas

- I1. One derivation, several readings: keep the reader's derivation (the parse with its frames) as the single object, and give it separate interpretations: the meta-world, the English string, and the Hebrew-side gloss. The interpretations are separate tables over one tree, so a change in one does not touch the others. This follows the split in `tools/roundtrip` between tree and world.
- I2. Lazy evaluation of rule tables: compute the encoder's chunk table for a meta token only when the token is seen, not for the whole table, and count how many entries are touched per verse. This keeps the run cheap and shows which entries matter.
- I3. Best and k-best derivations as a measurement: report the k-best encoder outputs for k = 1 and k = 5 on the dev verses, with their scores, so the residual of the best and the second-best output can be compared. This makes the choice of the encoder visible.
- I4. Do not adopt the toolkit: the paper's algorithms are for weighted regular tree grammars, which Mova does not use. The ideas to take are the separation of derivation and interpretation, and the counting of how many rules a parse touches.

## For Mova

The code is `tools/translate` (encoder and meta-world) and `tools/roundtrip` (tree and world). Alto is a tool for grammars, not for Mova's counts, so it is a design reference only. The separation of derivation from interpretation answers the frame-versus-tree question in open problem 1, with no new library.

Topics: [Machine translation](https://md.mova.elamur.ai/free/en/docs/papers/topics/machine-translation/)

## Cite

The paper itself, not this card. BibTeX from the library's record of the work. [DOI 10.18653/v1/e17-3008](https://doi.org/10.18653/v1/e17-3008)

```
@inproceedings{gontrum2017alto,
  title = {{Alto: Rapid Prototyping for Parsing and Translation}},
  author = {Gontrum, Johannes and Groschwitz, Jonas and Koller, Alexander and Teichmann, Christoph},
  booktitle = {Proceedings of the Software Demonstrations of the 15th Conference of the European Chapter of the Association for Computational Linguistics},
  year = {2017},
  doi = {10.18653/v1/e17-3008},
  url = {https://doi.org/10.18653/v1/e17-3008}
}
```

- [← previous Feature-Rich Translation by Quasi-Synchronous Lattice Parsing](https://md.mova.elamur.ai/free/en/docs/papers/gimpel-2009-feature-rich-translation-quasi-synchronous/)
- [next → Training Tree Transducers](https://md.mova.elamur.ai/free/en/docs/papers/graehl-2004-training-tree-transducers/)
- [↑ back to Machine translation](https://md.mova.elamur.ai/free/en/docs/papers/mtrans/)

## References

9 references, 2 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

1. A. K. Joshi, L. S. Levy, and M. Takahashi. 1975. Tree adjunct grammars. Journal of Computer and System Sciences, 10(1):136–163. [find](https://scholar.google.com/scholar?q=A%2E+K%2E+Joshi%2C+L%2E+S%2E+Levy%2C+and+M%2E+Takahashi%2E+1975%2E+Tree+adjunct+grammars%2E+Journal+of+Computer+and+System+Sciences%2C+10%281%29%3A136%E2%80%93163%2E)
2. L. Banarescu, C. Bonial, S. Cai, M. Georgescu, K. Griffitt, U. Hermjakob, K. Knight, P. Koehn, M. Palmer, and N. Schneider. 2013. Abstract meaning representation for sembanking. In Proceedings of the 7th Linguistic Annotation Workshop. [find](https://scholar.google.com/scholar?q=L%2E+Banarescu%2C+C%2E+Bonial%2C+S%2E+Cai%2C+M%2E+Georgescu%2C+K%2E+Griffitt%2C+U%2E+Hermjakob%2C+K%2E+Knight%2C+P%2E+Koehn%2C+M%2E+Palmer%2C+and+N%2E+Schneider%2E+2013%2E+Abstract+meaning+representation+for+sembanking%2E+In+Proceedings+of+the+) [our card](https://md.mova.elamur.ai/free/en/docs/papers/banarescu-2013-abstract-meaning-representation-sembanking/)
3. A. Koller and M. Kuhlmann. 2011. A generalized view on parsing and translation. In Proceedings of the 12th International Conference on Parsing Technologies. [find](https://scholar.google.com/scholar?q=A%2E+Koller+and+M%2E+Kuhlmann%2E+2011%2E+A+generalized+view+on+parsing+and+translation%2E+In+Proceedings+of+the+12th+International+Conference+on+Parsing+Technologies%2E)
4. A. Koller and M. Kuhlmann. 2012. Decomposing tag algorithms using simple algebraizations. In Proceedings of the 11th International Workshop on Tree Adjoining Grammars and Related Formalisms (TAG+11). [find](https://scholar.google.com/scholar?q=A%2E+Koller+and+M%2E+Kuhlmann%2E+2012%2E+Decomposing+tag+algorithms+using+simple+algebraizations%2E+In+Proceedings+of+the+11th+International+Workshop+on+Tree+Adjoining+Grammars+and+Related+Formalisms+%28TAG%2B11%29%2E)
5. M. Büchse, A. Koller, and H. Vogler. 2013. Generic binarization for parsing and translation. In Proceedings of the 51st Annual Meeting of the Association for Computational Linguistics. [find](https://scholar.google.com/scholar?q=M%2E+B%C3%BCchse%2C+A%2E+Koller%2C+and+H%2E+Vogler%2E+2013%2E+Generic+binarization+for+parsing+and+translation%2E+In+Proceedings+of+the+51st+Annual+Meeting+of+the+Association+for+Computational+Linguistics%2E)
6. E. Charniak, M. Johnson, M. Elsner, J. Austerweil, D. Ellis, I. Haxton, C. Hill, R. Shrivaths, J. Moore, M. Pozar, and T. Vu. 2006. Multilevel coarse-to-fine pcfg parsing. In Proceedings of the Human Language Technology Conference of the North American Chapter of the ACL. [find](https://scholar.google.com/scholar?q=E%2E+Charniak%2C+M%2E+Johnson%2C+M%2E+Elsner%2C+J%2E+Austerweil%2C+D%2E+Ellis%2C+I%2E+Haxton%2C+C%2E+Hill%2C+R%2E+Shrivaths%2C+J%2E+Moore%2C+M%2E+Pozar%2C+and+T%2E+Vu%2E+2006%2E+Multilevel+coarse%2Dto%2Dfine+pcfg+parsing%2E+In+Proceedings+of+the+Human+)
7. M. Lewis, K. Lee, and L. Zettlemoyer. 2016. LSTM CCG parsing. In Proceedings of NAACL-HLT. [find](https://scholar.google.com/scholar?q=M%2E+Lewis%2C+K%2E+Lee%2C+and+L%2E+Zettlemoyer%2E+2016%2E+LSTM+CCG+parsing%2E+In+Proceedings+of+NAACL%2DHLT%2E) [our card](https://md.mova.elamur.ai/free/en/docs/papers/aclbulk-2016-lewis-lstm-ccg-parsing/)
8. K. Sima’an, R. Bod, S. Krauwer, and R. Scha. 1994. Efficient disambiguation by means of stochastic tree substitution grammars. In Proceedings of International Conference on New Methods in Language Processing. [find](https://scholar.google.com/scholar?q=K%2E+Sima%E2%80%99an%2C+R%2E+Bod%2C+S%2E+Krauwer%2C+and+R%2E+Scha%2E+1994%2E+Efficient+disambiguation+by+means+of+stochastic+tree+substitution+grammars%2E+In+Proceedings+of+International+Conference+on+New+Methods+in+Language+Pro)
9. D. Chiang, J. Andreas, D. Bauer, K. M. Hermann, B. Jones, and K. Knight. 2013. Parsing graphs with [find](https://scholar.google.com/scholar?q=D%2E+Chiang%2C+J%2E+Andreas%2C+D%2E+Bauer%2C+K%2E+M%2E+Hermann%2C+B%2E+Jones%2C+and+K%2E+Knight%2E+2013%2E+Parsing+graphs+with)
