summaryrefslogtreecommitdiff
path: root/main.rb
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-06-24 20:31:14 +0200
committerPatrick Simianer <p@simianer.de>2014-06-24 20:31:14 +0200
commite9009f3bb8d2b86250b601e76f6d6e697c71e611 (patch)
tree9217239cbae158bc98912d37e299658fb46929ad /main.rb
parentf9106c8353aeaf6456a3eb0ea0c1e429f5de7650 (diff)
thread test
Diffstat (limited to 'main.rb')
-rwxr-xr-xmain.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.rb b/main.rb
index 1bf2203..7dc7370 100755
--- a/main.rb
+++ b/main.rb
@@ -52,6 +52,8 @@ def main
STDERR.write "> parsing\n"
Parse::parse input, n, active_chart, passive_chart, grammar
+ exit
+
weights = SparseVector.from_kv(ReadFile.read(cfg[:weights]), ' ', "\n")
if !weights
weights = SparseVector.new