_init = function _init(text, sourceToTargetMap) {
      if (sourceToTargetMap) {
        for (var i = 0; i < text.length; i++) {
          sourceToTargetMap[i] = i;
        }
      }

      if (_isInRtl === undefined) {
        _isInRtl = _isContextualDirRtl(text);
      }

      if (_isOutRtl === undefined) {
        _isOutRtl = _isContextualDirRtl(text);
      }
    }
constructor ( options )

Initializes Bidi engine

@param {Object} See 'setOptions' below for detailed description.
options are cashed between invocation of 'doBidiReorder' method

sample usage pattern of BidiEngine:
var opt = {
	isInputVisual: true,
	isInputRtl: false,
	isOutputVisual: false,
	isOutputRtl: false,
	isSymmetricSwapping: true
}
var sourceToTarget = [], levels = [];
var bidiEng = Globalize.bidiEngine(opt);
var src = "text string to be reordered";
var ret = bidiEng.doBidiReorder(src, sourceToTarget, levels);