pronounceable.js
function undef(w, i, depth, probs) {
  if (depth <= 1) return typeof probs[w[i]] === "undefined";
  if (typeof probs[w[i]] === "undefined") return true;
  return undef(w, i + 1, depth - 1, probs[w[i]]);
}
function undef(w, i, depth, probs) {
  if (depth <= 1) return typeof probs[w[i]] === "undefined";
  if (typeof probs[w[i]] === "undefined") return true;
  return undef(w, i + 1, depth - 1, probs[w[i]]);
}
function undef ( w , i , depth , probs ) { if ( depth <= 1 ) return typeof probs [ w [ i ] ] === "undefined" ; if ( typeof probs [ w [ i ] ] === "undefined" ) return true ; return undef ( w , i + 1 , depth - 1 , probs [ w [ i ] ] ) ; }
Check for undefined probabilities.
Check for undefined probabilities .