首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > pen

pen

  • 资源大小:160.13 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

PEN (Parser de Earley do Nuno) is a Java implementation of the well-known Earley"s chart parsing algorithm. It analyses sentences according to given context-free grammars, written in plain text files. A simple API is also provided together with the parser, to ease its integration in other projects. Contents This package contains the binaries and source code of PEN, a chart parser that implements the Earley algorithm. It can be used to process sentences according to aby given context-free grammars. Use java -jar pen.jar is a file with a grammar, with the format described in the next item * is a file with a sentence per line Both file arguments are mandatory! Example: java -jar pen.jar grammar.txt sentences.txt Write your own grammars

文 件 列 表

PEN
doc
examples
LICENSE
MANIFEST.MF
pen.jar
README.txt
src
start.bat
VIP VIP
0.179740s