arXivDaily arXiv每日学术速递 周一至周五更新
arXiv cs/0702081cs.CL
收藏

广义短语结构语法解释器的随机语句

Random Sentences from a Generalized Phrase-Structure Grammar Interpreter

Rick Dale

摘要:

在认知科学的许多领域中,拥有随机生成的语料库的来源通常是有用的。这些语料库可以用作学习实验中的人工刺激的基础(例如,Ellefson & Christiansen,2000),或者作为计算模型的输入(例如,Christiansen & Dale,2001)。下面的紧凑和通用的C程序解释文本文件中指定的短语结构语法。它遵循在Unix或基于Unix的命令行设置的参数,并从该语法生成随机句子的语料库。

英文摘要:

In numerous domains in cognitive science it is often useful to have a source for randomly generated corpora. These corpora may serve as a foundation for artificial stimuli in a learning experiment (e.g., Ellefson & Christiansen, 2000), or as input into computational models (e.g., Christiansen & Dale, 2001). The following compact and general C program interprets a phrase-structure grammar specified in a text file. It follows parameters set at a Unix or Unix-based command-line and generates a corpus of random sentences from that grammar.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑