Archived
Array.reduce(...) will crash if the array is empty. So we just default to 0, if this.vocab is empty.
Array.reduce(...) will crash if the array is empty. So we just default to 0, if this.vocab is empty.