ConllViewer-可视化地表示一个conll2009文件-Prajjwal Bhattarai
发布:2020-12-23 17:58:01.260688
作者:Prajjwal Bhattarai
作者邮箱:taoprajjwal@gmail.com
首页:https://github.com/taoprajjwal/conll-viewer/
文档:None
下载链接
conll-viewer
Turning coNLL 2009 formatted files to a visual format, with support for files resulting from open-sesame Currently, the only format supported is the one that been through argument identification stage of open-sesame.
Installation
Conll-viewer can be installed from PyPi using PIP
$ pip install conllviewer
Examples
import conllviewer
file=conllviewer.reader("predicted-args.conll")
sentences=file.get_sentences()
im=sentences[0].draw()
im.save("sentence.png")
Copy from pypi.org
查询时间:261.591ms
渲染时间:271.603ms
本文同步分享在 博客“zhenruyan”(other)。
如有侵权,请联系 support@oschina.cn 删除。
本文参与“OSC源创计划”,欢迎正在阅读的你也加入,一起分享。