diff options
Diffstat (limited to 'scripts/geoquery/semparse.rb')
-rwxr-xr-x | scripts/geoquery/semparse.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/geoquery/semparse.rb b/scripts/geoquery/semparse.rb index ebcbfbe..9858ade 100755 --- a/scripts/geoquery/semparse.rb +++ b/scripts/geoquery/semparse.rb @@ -1,10 +1,9 @@ #!/usr/bin/env ruby require 'nlp_ruby' +require_relative '../../cfg.rb' -SMT_SEMPARSE = 'python /workspace/grounded/smt-semparse-cp/decode_sentence.py /workspace/grounded/smt-semparse-cp/working/full_dataset' - while line = STDIN.gets puts `#{SMT_SEMPARSE} "#{line}"` end |