Rustyard / ACE2005-preprocess

将ACE2005语料预处理成 https://github.com/649453932/Chinese-Text-Classification-Pytorch 所需的格式

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ACE2005-preprocess

将ACE2005中文语料(仅限事件信息+非事件信息)预处理成 https://github.com/649453932/Chinese-Text-Classification-Pytorch 所需的格式以进行事件抽取。

使用前:

pip install ltp

使用方式:

首先,查看preprocess_event.py,根据自己的情况进行适当修改,然后运行python preprocess_event.py

About

将ACE2005语料预处理成 https://github.com/649453932/Chinese-Text-Classification-Pytorch 所需的格式

License:MIT License


Languages

Language:Python 100.0%