Add util method in ngramcontext for context array

Change-Id: I2e3e2ac7706be50ed2055b0c69b30e25a516a879
2 files changed