zl-annotator
v1.1.2
Published
web-based annotation tool for natural language processing (NLP) needs, inspired by brat rapid annotation tool.just for study
Readme
Poplar
A web-based annotation tool for natural language processing (NLP) needs, inspired by brat rapid annotation tool.

Poplar is the new version of synyi-annotation-tool and not production ready. Please report an issue if you find any problems.
Demo
See https://synyi.github.io/poplar/
Quick start
Install
node 版本: 16.20.1
npm i poplar-annotationor if you'd like to use yarn
yarn add poplar-annotation使用项目
zjb项目中使用zl-annotator npm地址: https://www.npmjs.com/package/zl-annotator
构建npm包
1.在package.json中设置版本 2.运行npm run build命令,生成dist文件夹,里面包含打包后的文件 3.首词需要连接到npm,并登录:npm login 4.运行npm publish命令,发布到npm仓库
Create
import {Annotator} from 'poplar-annotation'
/**
* Create an Annotator object
* @param data can be JSON or string
* @param htmlElement the html element to bind to
* @param config config object
*/
new Annotator(data: string, htmlElement: HTMLElement, config?: Object)More info
View our API Reference here.
Want to contribute?
See our Developer's Guide.
