1 链接
- git 地址
https://github.com/nlplab/brat - 官方网站
http://brat.nlplab.org/index.html
2.启用
安装教程
http://brat.nlplab.org/installation.html
- 安装python3
- ./install.sh -u
- python standalone.py
3.数据
- 在 data 文件夹中加入数据就可以进行标注
- 标注前,要设置好需要标注哪些关系,哪些实体
- 标注前,为每个txt设置一个空的标签文件.anno
find data -name '*.txt' | sed -e 's|\.txt|.ann|g' | xargs touch
4.标注配置
https://www.cnblogs.com/xiaoqi/p/brat-config.html
颜色配置:https://www.sioe.cn/yingyong/yanse-rgb-16/
5.自动标注
参考:
https://github.com/nlplab/brat/blob/master/server/src/tag.py
6.参考文档
http://blog.sina.com.cn/s/blog_4c9dc2a10102wy3f.html