summaryrefslogtreecommitdiff
path: root/sentencepiece-decode
blob: 5e07ffaf2e88d43662383b3b92405d698582fcc5 (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env ruby

require 'zipf'

while line = STDIN.gets
  line = line.split.join ""
  puts line.gsub "▁", " "
end