arXiv Open Access 2024

Incremental Context-free Grammar Inference in Black Box Settings

Feifei Li Xiao Chen Xi Xiao Xiaoyu Sun Chuan Chen +2 lainnya
Lihat Sumber

Abstrak

Black-box context-free grammar inference presents a significant challenge in many practical settings due to limited access to example programs. The state-of-the-art methods, Arvada and Treevada, employ heuristic approaches to generalize grammar rules, initiating from flat parse trees and exploring diverse generalization sequences. We have observed that these approaches suffer from low quality and readability, primarily because they process entire example strings, adding to the complexity and substantially slowing down computations. To overcome these limitations, we propose a novel method that segments example strings into smaller units and incrementally infers the grammar. Our approach, named Kedavra, has demonstrated superior grammar quality (enhanced precision and recall), faster runtime, and improved readability through empirical comparison.

Topik & Kata Kunci

Penulis (7)

F

Feifei Li

X

Xiao Chen

X

Xi Xiao

X

Xiaoyu Sun

C

Chuan Chen

S

Shaohua Wang

J

Jitao Han

Format Sitasi

Li, F., Chen, X., Xiao, X., Sun, X., Chen, C., Wang, S. et al. (2024). Incremental Context-free Grammar Inference in Black Box Settings. https://arxiv.org/abs/2408.16706

Akses Cepat

Lihat di Sumber
Informasi Jurnal
Tahun Terbit
2024
Bahasa
en
Sumber Database
arXiv
Akses
Open Access ✓