Here the problem is result.alternatives[0].words, which contains all the words from the previous transcript also .