function formatDistance(token, count, options) {
  options = options || {
    onlyNumeric: false
  };
  var translation = formatDistanceLocale[token];
  var result;

  if (typeof translation === 'string') {
    result = translation;
  } else if (count === 0 || count > 1) {
    if (options.onlyNumeric) {
      result = translation.plural.replace('{{count}}', count);
    } else {
      result = translation.plural.replace('{{count}}', count < 13 ? wordMapping[count] : count);
    }
  } else {
    result = translation.singular;
  }

  if (options.addSuffix) {
    if (options.comparison > 0) {
      return 'om ' + result;
    } else {
      return result + ' sedan';
    }
  }

  return result;
}
@type {Locale}
@category Locales
@summary Thai locale.
@language Thai
@iso-639-2 tha
@author Athiwat Hirunworawongkun [@athivvat]{@link https://github.com/athivvat}
@author [@hawkup]{@link https://github.com/hawkup}
@author  Jirawat I. [@nodtem66]{@link https://github.com/nodtem66}