code: def loadFromCSV(fn):
      "load matrix from csv file. Last entry in row terminated by semicolon."
      mat = np.genfromtxt(fn, delimiter=";")[:, :-1]
      mat = softmax(mat)
      return mat
  
file_path: calamari/calamari_ocr/thirdparty/ctcwordbeamsearch/DataLoader.py
imports: from __future__ import division
  from __future__ import print_function
  import codecs
  import os.path
  import numpy
  from LanguageModel import LanguageModel
label_desc: Use image node_id 2 for calling a global function with example usage: loadFromCSV(fn) and returns: mat