code: function detector ({
    use_myanmartools = OPTIONS.detector.use_myanmartools,
    myanmartools_zg_threshold = [0.05, 0.95]
  } = {}) {
    // Check types
    if (
      typeof myanmartools_zg_threshold[0] !== 'number'
      || typeof myanmartools_zg_threshold[1] !== 'number'
    ) {
      console.error('myanmartools_zg_threshold must be [number, number]')
      myanmartools_zg_threshold = OPTIONS.detector.myanmartools_zg_threshold
    }
  
    return {
      use_myanmartools: use_myanmartools,
      myanmartools_zg_threshold: myanmartools_zg_threshold
    }
  }
docs: options 
  set configuartion of using googlei18n/myanmar-tools