|||
信不信由你! 纯属娱乐!
实际上借鉴了程序文档自动化生成与分析方面的技术。
The code for SCIgen is released under GPL, and is currently available via anonymous CVS.
% cvs -d :pserver:anoncvs@cvs.pdos.csail.mit.edu:/cvs login
Logging in to :pserver:anoncvs@cvs.pdos.csail.mit.edu:2401/cvs
CVS password: _press return_
% cvs -d :pserver:anoncvs@cvs.pdos.csail.mit.edu:/cvs co -P scigen
We're still working on documentation and making it more user-friendly, but you should be able to figure most of it out from the code. Here's what you need on your computer to run it (we've run it on FreeBSD and GNU/Linux platforms):
If you would like to contribute code to this project (i.e., by helping us expand our context-free grammar with more sentences, nouns, etc.), please contact us with any patches and we'll apply them if they seem reasonable. We hope to set up a better system sometime in the near future.
Running the code. We've been getting a lot of questions about how to run the code. There are quite a few misleading files in the source -- sorry about that. All you need to do to generate a paper is to run make-latex.pl
(also look at make-latex.pl --help
). You can also use scigen.pl
to generate any arbitrary starting target. See scirules.in
for most of the grammar rules.
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-6-8 21:58
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社