UNPKG

mindee

Version:

Mindee Client Library for Node.js

13 lines (12 loc) 456 B
import { BaseInference } from "../../../v2/parsing/inference/baseInference.js"; import { ClassificationResult } from "./classificationResult.js"; export class ClassificationInference extends BaseInference { constructor(serverResponse) { super(serverResponse); this.result = new ClassificationResult(serverResponse["result"]); } toString() { return (super.toString() + this.result.toString() + "\n"); } }