PhonemeCost constructor
const
PhonemeCost({})
Constructs a PhonemeCost object with specified weights for each phoneme
Implementation
const PhonemeCost({
this.chosungCost = 1.5,
this.jungsungCost = 1.0,
this.jongsungCost = 0.5,
}) : assert((chosungCost + jungsungCost + jongsungCost) == _totalPhonemeCost,
'Total cost weight should be 3.0');