Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liou666/liou_poplar
📒 基于poplar开源库改造的标注工具库
https://github.com/liou666/liou_poplar
Last synced: 3 days ago
JSON representation
📒 基于poplar开源库改造的标注工具库
- Host: GitHub
- URL: https://github.com/liou666/liou_poplar
- Owner: liou666
- License: gpl-3.0
- Created: 2021-10-31T03:14:24.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-31T03:25:39.000Z (about 3 years ago)
- Last Synced: 2024-03-08T05:29:17.205Z (8 months ago)
- Language: TypeScript
- Homepage:
- Size: 1.22 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Poplar
在现有的 [poplar-annotator](https://github.com/synyi/poplar)开源库的基础上定制了一些开放性的 api,用于项目的定制化开发。
A web-based annotation tool for natural language processing (NLP) needs, inspired by [brat rapid annotation tool](http://brat.nlplab.org/).
### Install
```shell
npm i liou-poplar
```or if you'd like to use yarn
```shell
yarn add liou-poplar
```### Create
```typescript
import {Annotator} from 'liou-poplar'
/**
* 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)
```