UNPKG

poplar-annotation

Version:

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

4 lines (3 loc) 207 B
import { Option } from "./Option"; export declare function lookup<T>(array: Array<T>, index: number): Option<T>; export declare function takeWhile<T>(array: Array<T>, pred: (value: T) => boolean): Array<T>;