UNPKG

geneea-nlp-client

Version:

The TypeScript Client for Geneea Interpretor G3 API.

10 lines (9 loc) 395 B
import { Analysis } from "../model"; /** * Reads the G3 object from a JSON object as returned from Geneea G3 API. * @param raw Raw JSON object corresponding to the G3 API. * @returns G3 object encapsulating the analysis. * * Note: depending on the requested set of analyses and language support many of the keys can be missing. */ export declare function readFromJson(raw: any): Analysis;