code: def sequenceToWord(sequence):
      
      reberString = ''
      for i in xrange(len(sequence)):
          index = np.where(sequence[i]==1.)[0][0]
          reberString += chars[index]
      return reberString
docs: converts a sequence (one-hot) in a reber string