def METHOD_NAME(words):
    message = u"Recognized: %s" % u" ".join(words)
    # This only seems to be an issue with Python 2.7 on Windows.
    if six.PY2:
        encoding = sys.stdout.encoding or "ascii"
        message = message.encode(encoding, errors='replace')
    print(message)