jsRealB 文本生成器:架构设计与用例(修订版)
计算与语言
2022-05-13 v2
摘要
本文描述 jsRealB(4.0 版)背后的设计原则:这是一个用 JavaScript 编写的表面生成器,可从受成分句法形式启发、但也提供基于依存输入记法的规范生成英语或法语句子。jsRealB 既可在网页内使用,也可作为 node.js 模块使用。我们表明,看似简单的文本生成过程涉及诸多有趣的实现挑战,以兼顾各语言特性。jsRealB 对英语和法语有广泛覆盖,并已用于开发真实的数据到文本应用,以及复现现有文学文本与来自 Universal Dependency 标注的句子。其源代码及应用代码发布于 GitHub。本文也介绍了向 Python(pyrealb)的移植。
引用
@article{arxiv.2012.15425,
title = {The jsRealB Text Realizer: Organization and Use Cases -- Revised version},
author = {Guy Lapalme},
journal= {arXiv preprint arXiv:2012.15425},
year = {2022}
}
备注
Revision that presents the new dependency notation and the Python implementation of the approach. It updates the bibliography and discusses new demonstrations and applications developed since the previous version of this paper. 31 pages, 11 figures