[Mova](https://md.mova.elamur.ai/free/en/) · [this page in HTML](https://mova.elamur.ai/free/en/docs/papers/masciolini-2021-grammar-based-concept-alignment-domain/)

[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/) / Grammar-Based Concept Alignment for Domain-Specific Machine Translation

# Grammar-Based Concept Alignment for Domain-Specific Machine Translation

**Authors:** [Arianna Masciolini](https://md.mova.elamur.ai/free/en/docs/papers/authors/arianna-masciolini/), [Aarne Ranta](https://md.mova.elamur.ai/free/en/docs/papers/authors/aarne-ranta/) · **Year:** 2021 · **Venue:** CNL 2020/21 (Seventh International Workshop on Controlled Natural Language) **Link:** [aclanthology.org/2021.cnl-1.2](https://aclanthology.org/2021.cnl-1.2/) · **Licence:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

[**2** citations in our library](https://md.mova.elamur.ai/free/en/docs/papers/cited-by/masciolini-2021-grammar-based-concept-alignment-domain/) of the 140673 papers whose bibliographies we read[Proceedings of the Seventh International Workshop on Controlled Natural Language (CNL 2020/21)](https://aclanthology.org/volumes/2021.cnl-1/)[licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2021.cnl-1.2/)
- [PDF](https://aclanthology.org/2021.cnl-1.2.pdf)

**Authors (2)**

1. Arianna Masciolini
2. Aarne Ranta

Citations and author metrics from OpenAlex (); authors with the same name are not always told apart.

## What it is about

The paper proposes concept alignment (CA) from parallel sentences in a grammar-based way, to build the translation lexicon of a domain-specific GF system. It takes UD trees for both sides of a sentence pair, and aligns subtrees recursively: a pair is aligned if its roots have the same dependency label, with a backup rule on matching open-class POS multisets, and with the heads of matched subtrees also added so that one-word correspondences are not lost. Known translation divergences are handled explicitly, such as an adverb translated as a prepositional phrase. The aligned pairs are converted into GF lexicon rules by the gf-ud tool. On 100 sentences of the Parallel UD corpus, the alignments were correct for 77 percent (English-Italian) and 85 percent (English-Swedish) of distinct pairs, against 42 and 64 percent for the fast_align statistical aligner trained on 1,000 sentences. On raw course-plan text, parsed with UDPipe, correctness was 63 to 66 percent. A small MT test on generated sentences then used the lexicon.

## Ideas

- I1. Align the trees of the two languages for each parallel verse, with priority-ordered criteria (same label first, then POS match, then head alignment). This is an alternative to the longest-common-subsequence anchors of meta.rs, and it can be measured by counting merges and checking a hand-labelled sample against the current lexicon.
- I2. Keep a table of known divergences as data: adverb against oblique, direct object against oblique. Each rule has a hit count, and an author's constructions (such as "it came to pass" against "it happened") can be added as one more row instead of as code.
- I3. Separate pair-specific alignments from alignments usable for a standard. The paper's example, an idiom that mentions a different object in each language, is correct for the pair but must not enter the lexicon. Mova's merge needs the same label, so an idiomatic merge stays with its author.
- I4. Use an open-class POS-multiset check as a cheap test on each proposed merge, as the paper does. It would catch merges of the kind be with have, where function words are removed before the comparison.

## For Mova

The code is tools/translate (meta.rs for merges and anchors, hebrew.rs for the tree alignment with MACULA trees) and tools/roundtrip for the trees. The alignment criteria and the divergence table fit open problems 1 and 2: the lexicon keeps a merge only if the trees agree. The paper's precision figures are for a different task and are not a target for Mova; the criterion that a merge should be usable in a standard is the part to copy.

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.

```
@inproceedings{masciolini2021grammar,
  title = {{Grammar-Based Concept Alignment for Domain-Specific Machine Translation}},
  author = {Masciolini, Arianna and Ranta, Aarne},
  booktitle = {Proceedings of the Seventh International Workshop on Controlled Natural Language (CNL 2020/21)},
  year = {2021},
  url = {https://aclanthology.org/2021.cnl-1.2/}
}
```

- [← previous An interlingua aiming at communication on the Web: How language-independent can it be?](https://md.mova.elamur.ai/free/en/docs/papers/martins-2000-interlingua-aiming-communication-web-how/)
- [next → Tangled up in BLEU: Reevaluating the Evaluation of Automatic Machine Translation Evaluation Metrics](https://md.mova.elamur.ai/free/en/docs/papers/mathur-2020-tangled-up-bleu-reevaluating-evaluation/)
- [↑ back to Machine translation](https://md.mova.elamur.ai/free/en/docs/papers/mtrans/)

## References

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

1. Peter F. Brown, Stephen A. Della Pietra, Vincent J. Della Pietra, and Robert L. Mercer. 1993. The mathematics of statistical machine translation: Parameter estimation. Computational Linguistics, 19(2):263– 311. [find](https://scholar.google.com/scholar?q=Peter+F%2E+Brown%2C+Stephen+A%2E+Della+Pietra%2C+Vincent+J%2E+Della+Pietra%2C+and+Robert+L%2E+Mercer%2E+1993%2E+The+mathematics+of+statistical+machine+translation%3A+Parameter+estimation%2E+Computational+Linguistics%2C+19%282%29)
2. Danqi Chen and Christopher Manning. 2014. A fast and accurate dependency parser using neural networks. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 740–750, Doha, Qatar. Association for Computational Linguistics. [find](https://scholar.google.com/scholar?q=Danqi+Chen+and+Christopher+Manning%2E+2014%2E+A+fast+and+accurate+dependency+parser+using+neural+networks%2E+In+Proceedings+of+the+2014+Conference+on+Empirical+Methods+in+Natural+Language+Processing+%28EMNLP%29) [our card](https://md.mova.elamur.ai/free/en/docs/papers/missing-2014-chen-fast-accurate-dependency-parser-neural/)
3. Bonnie J. Dorr. 1994. Machine translation divergences: A formal description and proposed solution. Computational Linguistics, 20(4):597–633. [find](https://scholar.google.com/scholar?q=Bonnie+J%2E+Dorr%2E+1994%2E+Machine+translation+divergences%3A+A+formal+description+and+proposed+solution%2E+Computational+Linguistics%2C+20%284%29%3A597%E2%80%93633%2E) [our card](https://md.mova.elamur.ai/free/en/docs/papers/dorr-1994-machine-translation-divergences-formal-description/)
4. Chris Dyer, Victor Chahuneau, and Noah A. Smith. 2013. A simple, fast, and effective reparameterization of IBM model 2. In Proceedings of the 2013 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 644–648, Atlanta, Georgia. Association for Computational Linguistics. [find](https://scholar.google.com/scholar?q=Chris+Dyer%2C+Victor+Chahuneau%2C+and+Noah+A%2E+Smith%2E+2013%2E+A+simple%2C+fast%2C+and+effective+reparameterization+of+IBM+model+2%2E+In+Proceedings+of+the+2013+Conference+of+the+North+American+Chapter+of+the+Assoc)
5. Eriksson, Gabrielsson, Hedgreen, Klingberg, Vestlund, and Ödin. 2020. Grammar-based translation of computer science and engineering terminology. [find](https://scholar.google.com/scholar?q=Eriksson%2C+Gabrielsson%2C+Hedgreen%2C+Klingberg%2C+Vestlund%2C+and+%C3%96din%2E+2020%2E+Grammar%2Dbased+translation+of+computer+science+and+engineering+terminology%2E)
6. Prasanth Kolachina and Aarnte Ranta. 2016. From abstract syntax to Universal Dependencies. In Linguistic Issues in Language Technology, Volume 13, 2016. CSLI Publications. [find](https://scholar.google.com/scholar?q=Prasanth+Kolachina+and+Aarnte+Ranta%2E+2016%2E+From+abstract+syntax+to+Universal+Dependencies%2E+In+Linguistic+Issues+in+Language+Technology%2C+Volume+13%2C+2016%2E+CSLI+Publications%2E)
7. Franz Josef Och and Hermann Ney. 2000. Improved statistical alignment models. In Proceedings of the 38th Annual Meeting of the Association for Computational Linguistics, pages 440–447, Hong Kong. Association for Computational Linguistics. [find](https://scholar.google.com/scholar?q=Franz+Josef+Och+and+Hermann+Ney%2E+2000%2E+Improved+statistical+alignment+models%2E+In+Proceedings+of+the+38th+Annual+Meeting+of+the+Association+for+Computational+Linguistics%2C+pages+440%E2%80%93447%2C+Hong+Kong%2E+Asso)
8. Slav Petrov, Dipanjan Das, and Ryan McDonald. 2012. A universal part-of-speech tagset. In Proceedings of the Eighth International Conference on Language Resources and Evaluation (LREC’12), pages 2089– 2096, Istanbul, Turkey. European Language Resources Association (ELRA). [find](https://scholar.google.com/scholar?q=Slav+Petrov%2C+Dipanjan+Das%2C+and+Ryan+McDonald%2E+2012%2E+A+universal+part%2Dof%2Dspeech+tagset%2E+In+Proceedings+of+the+Eighth+International+Conference+on+Language+Resources+and+Evaluation+%28LREC%E2%80%9912%29%2C+pages+2089%E2%80%93)
9. Alexandre Rademaker and Francis Tyers, editors. 2019. Proceedings of the Third Workshop on Universal Dependencies (UDW, SyntaxFest 2019). Association for Computational Linguistics, Paris, France. [find](https://scholar.google.com/scholar?q=Alexandre+Rademaker+and+Francis+Tyers%2C+editors%2E+2019%2E+Proceedings+of+the+Third+Workshop+on+Universal+Dependencies+%28UDW%2C+SyntaxFest+2019%29%2E+Association+for+Computational+Linguistics%2C+Paris%2C+France%2E)
10. Aarne Ranta. 2011. Grammatical Framework: Programming with Multilingual Grammars. CSLI Publications, Stanford. [find](https://scholar.google.com/scholar?q=Aarne+Ranta%2E+2011%2E+Grammatical+Framework%3A+Programming+with+Multilingual+Grammars%2E+CSLI+Publications%2C+Stanford%2E)
11. Aarne Ranta, Krasimir Angelov, Normunds Gruzitis, and Prasanth Kolachina. 2020. Abstract syntax as interlingua: Scaling up the grammatical framework from controlled languages to robust pipelines. Computational Linguistics, 46(2):425–486. [find](https://scholar.google.com/scholar?q=Aarne+Ranta%2C+Krasimir+Angelov%2C+Normunds+Gruzitis%2C+and+Prasanth+Kolachina%2E+2020%2E+Abstract+syntax+as+interlingua%3A+Scaling+up+the+grammatical+framework+from+controlled+languages+to+robust+pipelines%2E+Comp) [our card](https://md.mova.elamur.ai/free/en/docs/papers/ranta-2020-abstract-syntax-as-interlingua-scaling/)
12. Aarne Ranta and Prasanth Kolachina. 2017. From Universal Dependencies to abstract syntax. In Proceedings of the NoDaLiDa 2017 Workshop on Universal Dependencies (UDW 2017), pages 107–116, Gothenburg, Sweden. Association for Computational Linguistics. [find](https://scholar.google.com/scholar?q=Aarne+Ranta+and+Prasanth+Kolachina%2E+2017%2E+From+Universal+Dependencies+to+abstract+syntax%2E+In+Proceedings+of+the+NoDaLiDa+2017+Workshop+on+Universal+Dependencies+%28UDW+2017%29%2C+pages+107%E2%80%93116%2C+Gothenburg%2C+)
13. Milan Straka, Jan Hajič, and Jana Straková. 2016. UD-Pipe: Trainable pipeline for processing CoNLL-U files performing tokenization, morphological analysis, POS tagging and parsing. In Proceedings of the Tenth International Conference on Language Resources and Evaluation (LREC’16), pages 4290– 4297, Portorož, Slovenia. European Language Resources Association (ELRA). [find](https://scholar.google.com/scholar?q=Milan+Straka%2C+Jan+Hajic%CC%8C%2C+and+Jana+Strakov%C3%A1%2E+2016%2E+UD%2DPipe%3A+Trainable+pipeline+for+processing+CoNLL%2DU+files+performing+tokenization%2C+morphological+analysis%2C+POS+tagging+and+parsing%2E+In+Proceedings+of+)
14. Jörg Tiedemann. 2011. Bitext alignment. Synthesis Lectures on Human Language Technologies, 4(2):1– 165. [find](https://scholar.google.com/scholar?q=J%C3%B6rg+Tiedemann%2E+2011%2E+Bitext+alignment%2E+Synthesis+Lectures+on+Human+Language+Technologies%2C+4%282%29%3A1%E2%80%93+165%2E)
