Journal of Natural Language Processing
Online ISSN : 2185-8314
Print ISSN : 1340-7619
ISSN-L : 1340-7619
General Paper
HaoriBricks3: A Domain-Specific Language for Japanese Sentence Composition
Satoshi Sato
Author information
JOURNAL FREE ACCESS

2020 Volume 27 Issue 2 Pages 411-444

Details
Abstract

This paper describes a domain-specific language, HaoriBricks3 (HB3), for writing programs that compose Japanese sentences. In HB3, we write a Ruby code called brick code, which instructs how to compose a sentence. The evaluation of a brick code produces the Ruby object called brick structure, from which the surface sentence string is generated by the method to_ss. This paper presents the design philosophy and implementational innovations of HB3, as well as demonstrates the applications of HB3.

Content from these authors
© 2020 The Association for Natural Language Processing
Previous article Next article
feedback
Top