/poplar

A web-based annotation tool for natural language processing (NLP)

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

Poplar

license version

A web-based annotation tool for natural language processing (NLP) needs, inspired by brat rapid annotation tool.

screenshot

Poplar is the new version and not production ready. Please report an issue if you find any problems.

Demo

See https://yanjinghou.github.io/poplar/

Quick start

Install

npm i poplar-annotation

or if you'd like to use yarn

yarn add poplar-annotation

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.

Support