diff --git a/python/examples/lac/lac_client.py b/python/examples/lac/lac_client.py index 286c2e23df066b83ad1060e1cfb0647861a0b611..22f3c511dcd2540365623ef9428b60cfcb5e5a34 100644 --- a/python/examples/lac/lac_client.py +++ b/python/examples/lac/lac_client.py @@ -35,5 +35,4 @@ for line in sys.stdin: begin = fetch_map['crf_decode.lod'][0] end = fetch_map['crf_decode.lod'][1] segs = reader.parse_result(line, fetch_map["crf_decode"][begin:end]) - - print("word_seg: " + "|".join(segs)) + print("word_seg: " + "|".join(str(words) for words in segs))