poplar-annotation
Version:
web-based annotation tool for natural language processing (NLP) needs, inspired by brat rapid annotation tool.
13 lines (12 loc) • 480 B
TypeScript
import { IAction } from "./IAction";
import { Store } from "../Store/Store";
export declare namespace Content {
class SpliceAction implements IAction {
readonly startIndex: number;
readonly removeLength: number;
readonly insert: string;
constructor(startIndex: number, removeLength: number, insert: string);
apply(store: Store): void;
}
function Splice(startIndex: number, removeLength: number, insert: string): SpliceAction;
}