This assume that the string is unique in the nbest list In Hiero, due to spurious ambiguity, a string may correspond to many possible derivations, and ideally the probability of a string should be the sum of all the derivataions leading to that string. But, in practice, one normally uses a Viterbi approximation: the probability of a string is its best derivation probability So, if one want to deal with spurious ambiguity, he/she should do that before calling this class
@author Zhifei Li,
|
|