UNPKG

concepts-parser

Version:
15 lines (14 loc) 447 B
import { Word } from "./word"; import { Context } from "../../types"; import { Concepts } from "../../concepts"; import { ParserOptions } from "../base"; export declare class Words { private options; private context; private list; constructor(options: ParserOptions, context: Context); all(): Word[]; add(word: Word): boolean; concepts(): Concepts; static create(text: string, index: number): Word; }