Added error when transition not found in ngram lira