Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/liou666/liou_poplar

📒 基于poplar开源库改造的标注工具库
https://github.com/liou666/liou_poplar

Last synced: 3 days ago
JSON representation

📒 基于poplar开源库改造的标注工具库

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)
```