summaryrefslogtreecommitdiff
path: root/external/de-bpe
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2017-07-25 02:17:07 +0200
committerPatrick Simianer <p@simianer.de>2017-07-25 02:17:07 +0200
commit93bdac797ed3cf04a427e276823f9896dcf19a2d (patch)
treef3d7b5c300125a276f4d1af8f34c8f6f28657caf /external/de-bpe
parentb5897a62732dd7c13b2b10d7b132855d40afae0d (diff)
lfpe 2017 (neural edition)
Diffstat (limited to 'external/de-bpe')
-rwxr-xr-xexternal/de-bpe8
1 files changed, 8 insertions, 0 deletions
diff --git a/external/de-bpe b/external/de-bpe
new file mode 100755
index 0000000..fde1ef1
--- /dev/null
+++ b/external/de-bpe
@@ -0,0 +1,8 @@
+#!/usr/bin/env ruby
+
+STDOUT.sync = true
+
+while line = STDIN.gets
+ puts line.gsub(/@@ /, "")
+end
+