diff options
author | Patrick Simianer <p@simianer.de> | 2014-07-02 15:41:51 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-07-02 15:41:51 +0200 |
commit | e06dbc7fc9b7c24a7d66c4578f56e1596188abf8 (patch) | |
tree | b98aeb4f97f2f6a5078da39588526d32fcaca577 /main.rb | |
parent | e9009f3bb8d2b86250b601e76f6d6e697c71e611 (diff) |
canceled
Diffstat (limited to 'main.rb')
-rwxr-xr-x | main.rb | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -52,15 +52,12 @@ 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 end hypergraph = passive_chart.to_hg weights - puts hypergraph.to_json weights STDERR.write "> viterbi\n" semiring = ViterbiSemiring.new |