*/
Collection<UnitContext> getEndingContexts() {
Collection<UnitContext> endingContexts = new ArrayList<UnitContext>();
if (!node.isEmpty()) {
int maxSize = getLeftContextSize();
Word word = node.getWord();
Pronunciation[] prons = word.getPronunciations(null);
for (Pronunciation pron : prons) {
Unit[] units = pron.getUnits();
int size = units.length;
Unit[] context = size > maxSize ? Arrays.copyOfRange(units, size - maxSize, size) : units;
endingContexts.add(UnitContext.get(context));