class_docstr: Machine Comprehension API
class_docstr_tok: ["Machine","Comprehension","API"]
code: def __init__(self, prompt=True):
      self.prompt = None
      self.vocab_dict = None
      self.vocab_rev = None
      self.model = None
      self.dev = None
      self.sess = None
      self.prompt = prompt
      self.params_dict = {
          "batch_size": 1,
          "hidden_size": 150,
          "max_para": 300,
          "epoch_no": 15,
          "inference_only": True,
      }
      self.file_name_dict = {
          "train_para_ids": "train.ids.context",
          "train_ques_ids": "train.ids.question",
          "train_answer": "train.span",
          "val_para_ids": "dev.ids.context",
          "val_ques_ids": "dev.ids.question",
          "val_ans": "dev.span",
          "vocab_file": "vocab.dat",
          "embedding": "glove.trimmed.300.npz",
      }
  
imports: from __future__ import division
  from __future__ import print_function
  import os
  import re
  import zipfile
  from os import makedirs
  from random import shuffle
  import numpy
  import tensorflow
  from nlp_architect import LIBRARY_OUT
  from nlp_architect.api.abstract_api import AbstractApi
  from nlp_architect.utils.generic import license_prompt
  from nlp_architect.utils.io import download_unlicensed_file
  from .matchlstm_ansptr import MatchLSTMAnswerPointer
  from .mrc_utils import create_squad_training, max_values_squad, get_data_array_squad
label_desc: Use image node_id 1 to create a new MachineComprehensionApi object from inherited base classes: AbstractApi with example: obj = MachineComprehensionApi(prompt)