summaryrefslogtreecommitdiff
path: root/main.rb
diff options
context:
space:
mode:
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